[issue30171] Emit ResourceWarning in multiprocessing Queue destructor

STINNER Victor report at bugs.python.org
Wed Apr 26 09:54:09 EDT 2017


STINNER Victor added the comment:

Example:

haypo at selma$ ./python queue_leak.py 
number of thread diff: +1
dangling threads!
before: [<_MainThread(MainThread, started 139814961067072)>]
after: [<_MainThread(MainThread, started 139814961067072)>]

Note: queue_leak.py resource check is based on test.support.reap_threads.

----------

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


More information about the Python-bugs-list mailing list