This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients ajaksu2, ctheune, nmm, pitrou, zbysz
Date 2014-04-17.21:05:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397768732.5.0.395861478755.issue1514420@psf.upfronthosting.co.za>
In-reply-to
Content
The problem is not in the import, but when displaying the traceback of the exception. In other words, if you catch the exception, no attempt to open "<stdin>" happens:

$ strace -e open ./python
[...]
Python 3.5.0a0 (default:3417a95df7e2, Apr 16 2014, 17:57:12) 
[GCC 4.8.1] on linux
[...]
>>> 
>>> try: import dismal
... except ImportError: pass
... 
>>>
History
Date User Action Args
2014-04-17 21:05:32pitrousetrecipients: + pitrou, ctheune, nmm, ajaksu2, zbysz
2014-04-17 21:05:32pitrousetmessageid: <1397768732.5.0.395861478755.issue1514420@psf.upfronthosting.co.za>
2014-04-17 21:05:32pitroulinkissue1514420 messages
2014-04-17 21:05:32pitroucreate