[issue44188] ThreadPoolExecutor unbalanced semaphore count
Antoine Pitrou
report at bugs.python.org
Tue Aug 31 14:38:49 EDT 2021
Antoine Pitrou <pitrou at free.fr> added the comment:
To be clear, this probably doesn't have any actual consequence, since the right number of threads is launched anyway (at least in the example). But it's probably worth making the implementation less quirky (also, the semaphore's internal counter *might* overflow at some point?).
----------
components: +Library (Lib) -asyncio
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44188>
_______________________________________
More information about the Python-bugs-list
mailing list