New submission from E. Paine <paineeli...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue41144>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to