[issue34609] Importing certain modules while debugging raises an exception
ppperry
report at bugs.python.org
Sun Sep 23 11:13:50 EDT 2018
ppperry <mapreader at olum.org> added the comment:
The Pdb bug and the IDLE bug are unrelated to each other:
Pdb fails because it is attempting to import the readline module every time its `trace_dispatch` is called, and the import implementation is not reentrant in that way.
IDLE is crashing because the uninitialized _ModuleLock instance raised an error when `repr` is called, and the IDLE debugger lacks code to catch that exception.
----------
nosy: +ppperry
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34609>
_______________________________________
More information about the Python-bugs-list
mailing list