[issue1514420] Traceback display code can attempt to open a file named "<stdin>"

Antoine Pitrou report at bugs.python.org
Thu Apr 17 23:06:38 CEST 2014


Antoine Pitrou added the comment:

Also, by construction it will only happen if the import happens under the interpreter prompt (hence the "<stdin>" filename).

I honestly don't think this deserves introducing some complication, only to avoid a couple filesystem accesses.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1514420>
_______________________________________


More information about the Python-bugs-list mailing list