[issue17094] sys._current_frames() reports too many/wrong stack frames

Antoine Pitrou report at bugs.python.org
Sat Mar 16 20:10:02 CET 2013


Antoine Pitrou added the comment:

Here is an updated patch.

Note that I think this patch could break some programs. For example, if you have a thread in your main process which has a database connection open, deleting the thread state in a child process might shutdown the database connection (depending on the exact protocol). Therefore, I think it would be better to only apply the patch in 3.4.

----------
Added file: http://bugs.python.org/file29427/tstates-afterfork.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17094>
_______________________________________


More information about the Python-bugs-list mailing list