Message216742
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
...
>>> |
|
Date |
User |
Action |
Args |
2014-04-17 21:05:32 | pitrou | set | recipients:
+ pitrou, ctheune, nmm, ajaksu2, zbysz |
2014-04-17 21:05:32 | pitrou | set | messageid: <1397768732.5.0.395861478755.issue1514420@psf.upfronthosting.co.za> |
2014-04-17 21:05:32 | pitrou | link | issue1514420 messages |
2014-04-17 21:05:32 | pitrou | create | |
|