STINNER Victor added the comment:

It looks like the problem is that raising the PyExc_RecursionErrorInst 
singleton creates a traceback object which contains frames. The singleton keeps 
the frames alive longer than expected.

I tried to write a script to raise this singleton, but it looks like the local 
variables of the frames are not deleted, even if frames are deleted (by 
_PyExc_Fini).

You may try to finish my attached runtimerror_singleton.py script.

----------
Added file: http://bugs.python.org/file37229/runtimerror_singleton.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22898>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to