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 doerwalter
Recipients doerwalter, pitrou, vstinner
Date 2010-01-09.10:45:55
SpamBayes Score 0.00073753984
Marked as misclassified No
Message-id <1263033957.3.0.943516410262.issue7651@psf.upfronthosting.co.za>
In-reply-to
Content
IMHO this is the wrong approach.

As Martin v. Löwis suggested here http://mail.python.org/pipermail/python-dev/2010-January/094841.html the best solution would be a new codec (which he named sniff), that autodetects the encoding on reading. This doesn't require *any* changes to the IO library. It could even be developed as a standalone project and published in the Cheeseshop.
History
Date User Action Args
2010-01-09 10:45:58doerwaltersetrecipients: + doerwalter, pitrou, vstinner
2010-01-09 10:45:57doerwaltersetmessageid: <1263033957.3.0.943516410262.issue7651@psf.upfronthosting.co.za>
2010-01-09 10:45:56doerwalterlinkissue7651 messages
2010-01-09 10:45:55doerwaltercreate