[issue31783] Race condition in ThreadPoolExecutor when scheduling new jobs while the interpreter shuts down

Ned Deily report at bugs.python.org
Mon Jul 1 18:55:03 EDT 2019


Ned Deily <nad at python.org> added the comment:

> I don't know what the backport policy is.

It does seem that the devguide does not give much guidance on this; I've opened an issue about it (https://github.com/python/devguide/issues/503).  But, in general, if the fix is potentially beneficial and does not add undue risk or an incompatibility, we would generally consider backporting it to the currently active maintenance branches; at the moment, that would be 3.8 (in beta phase) and 3.7 (maintenance nmode).  We have a lot of buildbot tests that show non-deterministic failures, some possibly due to concurrent.futures.  If there is a chance that this fix might mitigate those, I'd like to consider it for backporting.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31783>
_______________________________________


More information about the Python-bugs-list mailing list