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 r.david.murray
Recipients David Pitchford, docs@python, r.david.murray
Date 2016-05-16.16:08:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463414904.08.0.602688679125.issue27037@psf.upfronthosting.co.za>
In-reply-to
Content
The decision was to deprecate 'U' *everywhere* in python3.

Yes, the 2.7 method you are concerned about is broken with respect to its documentation, which is what #6759 was about originally.  That issue was deemed too disruptive to the codebase to address effectively, but in fixing things propery for python3 we apparently lost track of the 2.7 bug.

You can fix the problem (in a forward compatible way) by wrapping the ZipExtFile in an io.TextIOWrapper.

The 2.7 documentation should be changed to address this issue and the solution.
History
Date User Action Args
2016-05-16 16:09:22r.david.murrayunlinkissue27037 messages
2016-05-16 16:08:24r.david.murraysetrecipients: + r.david.murray, docs@python, David Pitchford
2016-05-16 16:08:24r.david.murraysetmessageid: <1463414904.08.0.602688679125.issue27037@psf.upfronthosting.co.za>
2016-05-16 16:08:24r.david.murraylinkissue27037 messages
2016-05-16 16:08:24r.david.murraycreate