Eric V. Smith added the comment: Now I think it's not a refcount problem.
I'm going to switch to POP/PUSH instead of TOP/SET_TOP. I believe the problem is that I'm not adjusting the top of stack if there's an error. ---------- title: Core dump in f-string with formatting errors due to refcount bug -> Core dump in f-string with formatting errors _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26287> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com