[issue30171] Emit ResourceWarning in multiprocessing Queue destructor
STINNER Victor
report at bugs.python.org
Mon Jul 10 05:15:35 EDT 2017
STINNER Victor added the comment:
> Specifically "the thread wasn't started by a subprocess"...
I'm talking about this check in Queue._start_thread() of multiprocessing.queues:
created_by_this_process = (self._opid == os.getpid())
if not self._joincancelled and not created_by_this_process:
self._jointhread = Finalize(
self._thread, Queue._finalize_join,
[weakref.ref(self._thread)],
exitpriority=-5
)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30171>
_______________________________________
More information about the Python-bugs-list
mailing list