New submission from Antoine Pitrou <pit...@free.fr>: >>> f = open("py3k/__svn__/LICENSE") >>> f <TextIOWrapper encoding=UTF-8> >>> f.buffer <_io.BufferedReader object at 0x7f4b67569f68> >>> f.buffer.raw io.FileIO(3, 'rb') >>> f.name 'py3k/__svn__/LICENSE'
It would probably be nice if f.name were reused for f's repr(). ---------- components: Library (Lib) messages: 85989 nosy: benjamin.peterson, pitrou priority: normal severity: normal stage: test needed status: open title: add file name to py3k IO objects repr() type: feature request versions: Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5761> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com