[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

Dennis Sweeney report at bugs.python.org
Mon Aug 2 21:30:49 EDT 2021


Dennis Sweeney <sweeney.dennis650 at gmail.com> added the comment:

It was mentioned in bpo-40327 that although copy() makes the situation much better, it doesn't solve the problem entirely, since the memory allocation of the copy() call can release the GIL. I don't know enough to know whether it would be worth it to add locking.

----------
nosy: +Dennis Sweeney

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


More information about the Python-bugs-list mailing list