[issue25872] multithreading traceback KeyError when modifying file
Michael Graczyk
report at bugs.python.org
Sun Jan 5 19:50:41 EST 2020
Michael Graczyk <Michael at mgraczyk.com> added the comment:
This issue still exists in Python 3. The repro just needs to be changed so that the threads are actually started.
- map(lambda t: t.start(), threads)
- map(lambda t: t.join(), threads)
+ [t.start() for t in threads]
+ [t.join() for t in threads]
My fix is linked.
----------
nosy: +Michael Graczyk
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue25872>
_______________________________________
More information about the Python-bugs-list
mailing list