[issue25872] multithreading traceback KeyError when modifying file

2020-01-14 Thread Michael Graczyk
Change by Michael Graczyk : -- pull_requests: +17408 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18007 ___ Python tracker <https://bugs.python.org/issu

[issue25872] multithreading traceback KeyError when modifying file

2020-01-05 Thread Michael Graczyk
Michael Graczyk 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