Re: [Python-Dev] Universal newlines, and the gzip module.

2009-01-30 Thread skip
Christopher 1) It would be nice if the gzip module (and the zip lib Christophermodule) supported Universal newlines -- you could read a Christophercompressed text file with wrong newlines, and have Christopherthem handled properly. However, that may be hard to do,

Re: [Python-Dev] Universal newlines, and the gzip module.

2009-01-30 Thread Christopher Barker
s...@pobox.com wrote: Christopher 1) It would be nice if the gzip module (and the zip lib Christophermodule) supported Universal newlines -- you could read a Christophercompressed text file with wrong newlines, and have Christopherthem handled properly. However, that

Re: [Python-Dev] Universal newlines, and the gzip module.

2009-01-30 Thread Terry Reedy
Christopher Barker wrote: I tried to post this to the bug tracker, but my attempt to create an account failed -- do I need to be pre-approved or something? No. If you do not get a response from the above, and a retry does not work, you could email webmas...@python.org with details on what

[Python-Dev] Universal newlines, and the gzip module.

2009-01-29 Thread Christopher Barker
Hi all, Over on the matplotlib mailing list, we ran into a problem with trying to use Universal newlines with gzip. In virtually all of my code that reads text files, I use the 'U' flag to open files, it really helps not having to deal with newline issues. Yes, they are fewer now that the

Re: [Python-Dev] Universal newlines, and the gzip module.

2009-01-29 Thread Brett Cannon
On Thu, Jan 29, 2009 at 12:39, Christopher Barker chris.bar...@noaa.gov wrote: Hi all, Over on the matplotlib mailing list, we ran into a problem with trying to use Universal newlines with gzip. In virtually all of my code that reads text files, I use the 'U' flag to open files, it really