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 rhettinger
Recipients rhettinger
Date 2011-07-14.15:31:22
SpamBayes Score 0.00088158133
Marked as misclassified No
Message-id <1310657482.81.0.606922001994.issue12559@psf.upfronthosting.co.za>
In-reply-to
Content
gzip.open() should parallel file.open() so that that zipped files can be read in the same way as regular files:

for line in gzip.open('notes.txt', 'r', encoding='latin-1'):
    print(line.rstrip())
History
Date User Action Args
2011-07-14 15:31:22rhettingersetrecipients: + rhettinger
2011-07-14 15:31:22rhettingersetmessageid: <1310657482.81.0.606922001994.issue12559@psf.upfronthosting.co.za>
2011-07-14 15:31:22rhettingerlinkissue12559 messages
2011-07-14 15:31:22rhettingercreate