[issue31990] Pickling deadlocks in thread with python -m
Sara Kelley
report at bugs.python.org
Wed Dec 2 19:07:42 EST 2020
Sara Kelley <serakeri at gmail.com> added the comment:
https://docs.python.org/3/using/cmdline.html#cmdoption-m
The documentation says you must not give a file extension with the module option. Because the extension was given the thread is deadlocking in importlib._bootstrap when trying to acquire the module lock. The hang occurs in the script because join() is waiting for the deadlocked thread.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31990>
_______________________________________
More information about the Python-bugs-list
mailing list