[New-bugs-announce] [issue41144] IDLE: raises ImportError when opening special modules

E. Paine report at bugs.python.org
Sat Jun 27 12:57:08 EDT 2020


New submission from E. Paine <paineelisha at gmail.com>:

When opening special modules (such as os.path) through the "Open Module" dialog, an ImportError is raised. The fix is to catch this error and retry the loader call without the "name" argument (hence opening the true file).

----------
messages: 372469
nosy: epaine, taleinat, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: raises ImportError when opening special modules

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


More information about the New-bugs-announce mailing list