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 vstinner
Recipients amaury.forgeotdarc, hdima, orsenthil, vstinner
Date 2008-10-14.11:50:12
SpamBayes Score 9.0239536e-07
Marked as misclassified No
Message-id <1223985014.94.0.381034758401.issue3714@psf.upfronthosting.co.za>
In-reply-to
Content
Instead of ASCII, I think that it would be better to use ISO-8859-1 
since it's the most common charset.

New patch:
 - use ISO-8859-1 as the default charset
 - remove set_encoding() method: was it really needed
 - use makefile('r', encoding=self.encoding') to get a new 
TextIOWrapper with universal newline and automatic unicode decode => 
getline() is simplified and I removed CRLF
History
Date User Action Args
2008-10-14 11:50:15vstinnersetrecipients: + vstinner, hdima, amaury.forgeotdarc, orsenthil
2008-10-14 11:50:14vstinnersetmessageid: <1223985014.94.0.381034758401.issue3714@psf.upfronthosting.co.za>
2008-10-14 11:50:14vstinnerlinkissue3714 messages
2008-10-14 11:50:14vstinnercreate