[issue4762] PyFile_FromFd() doesn't set the file name
STINNER Victor
report at bugs.python.org
Wed Mar 25 01:06:59 CET 2009
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
In py3k, standard streams' names are now correct (since the io-c
merge):
Python 3.1a1+ (py3k:70589M, Mar 25 2009, 01:01:13)
>>> import sys
>>> sys.stdin.name, sys.stdout.name, sys.stderr.name
('<stdin>', '<stdout>', '<stderr>')
The last problem occurs with imp.find_module(). But imp.find_module()
also returns a "filename" argument, so I don't think that the issue
really matters. Let's close it ;-)
----------
resolution: -> wont fix
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4762>
_______________________________________
More information about the Python-bugs-list
mailing list