This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients amaury.forgeotdarc, benjamin.peterson, pitrou
Date 2010-12-21.20:21:55
SpamBayes Score 9.4082674e-07
Marked as misclassified No
Message-id <1292962919.83.0.998422022844.issue10750@psf.upfronthosting.co.za>
In-reply-to
Content
This really looks backwards:

>>> f = open("LICENSE", "rb")
>>> f.name = "bar"
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: attribute 'name' of '_io.BufferedReader' objects is not writable
>>> f.raw = None
__main__:1: ResourceWarning: unclosed file <_io.FileIO name='LICENSE' mode='rb'>
>>>
History
Date User Action Args
2010-12-21 20:21:59pitrousetrecipients: + pitrou, amaury.forgeotdarc, benjamin.peterson
2010-12-21 20:21:59pitrousetmessageid: <1292962919.83.0.998422022844.issue10750@psf.upfronthosting.co.za>
2010-12-21 20:21:55pitroulinkissue10750 messages
2010-12-21 20:21:55pitroucreate