[issue4684] sys.exit() exits program when non-daemonic threads are still running

Joseph Malicki report at bugs.python.org
Thu Aug 27 04:17:33 CEST 2009


Joseph Malicki <jmalicki at gmail.com> added the comment:

Is it actually just documentation?  Before Python 2.5, things worked
according to the documentation, and nothing in the revisions that
changed the behavior suggested this change in behavior was intentional.

Moving the WaitForThreadShutdown() from Modules/main.c to Py_Finalize()
would also fix this problem - I wonder why that wasn't the original
change, as it more closely mirrors how Python 2.4 worked, and the
documentation suggests?

----------

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


More information about the Python-bugs-list mailing list