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 r.david.murray
Recipients barry, r.david.murray, serhiy.storchaka
Date 2013-08-19.12:34:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376915646.98.0.327124755519.issue18778@psf.upfronthosting.co.za>
In-reply-to
Content
If you mean the code in Charset's __init__, if you change that you'll have backward compatibility issues.  As the code currently stands it is legal to pass in a charset name that is bytes.  And the string path of that if checks that it contains only ASCII characters, a check that is also still required.
History
Date User Action Args
2013-08-19 12:34:07r.david.murraysetrecipients: + r.david.murray, barry, serhiy.storchaka
2013-08-19 12:34:06r.david.murraysetmessageid: <1376915646.98.0.327124755519.issue18778@psf.upfronthosting.co.za>
2013-08-19 12:34:06r.david.murraylinkissue18778 messages
2013-08-19 12:34:06r.david.murraycreate