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 antoine.pietri
Recipients antoine.pietri, eric.araujo, eryksun, lars.gustaebel, martin.panter, r.david.murray, serhiy.storchaka
Date 2014-04-05.20:26:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Well, that seems complicated: you can't overwrite a io.FileIO().name attribute, and doing so would be nonsensical for tarfile, which would try to perform IO operations on a random file descriptor... Also, I can't think of any case where a .name attribute could actually be bytes (I was just mirroring the code in msg214670).

Here's a patch that tries all combinations of encoding for writing, but I can't see a way to enforce manually the name attribute being an int, even for this test purposes.
Date User Action Args
2014-04-05 20:26:05antoine.pietrisetrecipients: + antoine.pietri, lars.gustaebel, eric.araujo, r.david.murray, martin.panter, serhiy.storchaka, eryksun
2014-04-05 20:26:05antoine.pietrisetmessageid: <>
2014-04-05 20:26:05antoine.pietrilinkissue21044 messages
2014-04-05 20:26:05antoine.pietricreate