[issue37276] Incorrect number of running calls in ProcessPoolExecutor
Andrew Svetlov
report at bugs.python.org
Wed Jun 26 05:12:24 EDT 2019
Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:
Adding a new state for "not running and not pending but something in between" is useless, it can make .running() result a little more accurate but doesn't improve the real functionality.
The easy "fix" is documentation updating to point that the value returned by running is an approximation. That's true anyway because the future may change its state between reading self._state and returning a result.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37276>
_______________________________________
More information about the Python-bugs-list
mailing list