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 agillesp
Recipients Chris.Barker, agillesp, jackdied, radek768, skip.montanaro
Date 2009-08-27.15:42:09
SpamBayes Score 2.011963e-08
Marked as misclassified No
Message-id <>
The problem appears to be that the gzip module simply doesn't support
universal newlines yet.

I'm currently working on the zipfile module's universal newline support
(issue6759) so if nobody else is working on this, I'll do it.

I'm not sure if file object's open() behavior when presented with 'rUb'
is correct or not.

>>> f = open("test.txt", "w").write("blah\r\nblah\rblah\nblah\r\n")
>>> f = open("test.txt", "rUb")

Since 'U' and 'b' are conceptually mutually exclusive on platforms where
'b' matters, I can see this being confusing.
Date User Action Args
2009-08-27 15:42:11agillespsetrecipients: + agillesp, skip.montanaro, jackdied, Chris.Barker, radek768
2009-08-27 15:42:11agillespsetmessageid: <>
2009-08-27 15:42:10agillesplinkissue5148 messages
2009-08-27 15:42:09agillespcreate