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 eryksun
Recipients antoine.pietri, eric.araujo, eryksun, lars.gustaebel, martin.panter, r.david.murray, serhiy.storchaka
Date 2014-04-05.21:01:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396731680.15.0.805259066719.issue21044@psf.upfronthosting.co.za>
In-reply-to
Content
> you can't overwrite a io.FileIO().name attribute A FileIO instance uses a dict for 'name' (msg214670): >>> vars(sys.stdin.buffer.raw) {'name': '<stdin>'} >>> f = tempfile.TemporaryFile() >>> vars(f.raw) {'name': 3} The name is optional meta-information. If it gets deleted, the repr falls back on using the file descriptor: >>> f.raw <_io.FileIO name=3 mode='rb+'> >>> del f.raw.name >>> f.raw <_io.FileIO fd=3 mode='rb+'>
History
Date User Action Args
2014-04-05 21:01:20eryksunsetrecipients: + eryksun, lars.gustaebel, eric.araujo, r.david.murray, martin.panter, serhiy.storchaka, antoine.pietri
2014-04-05 21:01:20eryksunsetmessageid: <1396731680.15.0.805259066719.issue21044@psf.upfronthosting.co.za>
2014-04-05 21:01:20eryksunlinkissue21044 messages
2014-04-05 21:01:19eryksuncreate