Message85989
>>> 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(). |
|
Date |
User |
Action |
Args |
2009-04-15 10:45:47 | pitrou | set | recipients:
+ pitrou, benjamin.peterson |
2009-04-15 10:45:47 | pitrou | set | messageid: <1239792347.2.0.639213233478.issue5761@psf.upfronthosting.co.za> |
2009-04-15 10:45:46 | pitrou | link | issue5761 messages |
2009-04-15 10:45:45 | pitrou | create | |
|