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 catalin.iacob
Recipients Anthony.Kong, berker.peksag, catalin.iacob, eric.araujo, petri.lehtinen, pitrou
Date 2012-02-16.20:45:56
SpamBayes Score 1.5132463e-06
Marked as misclassified No
Message-id <1329425158.38.0.875619740597.issue13641@psf.upfronthosting.co.za>
In-reply-to
Content
Attached alternative patch with a different approach: on input, strings are encoded as bytes and the rest of the code proceeds as before.

All existing tests for bytes now test for strings as well and there is a new test for strings with non ASCII characters.

Berker's patch was more intrusive and forgot to allow strings in _translate, leading to failures if altchars or map01 were used.
History
Date User Action Args
2012-02-16 20:45:59catalin.iacobsetrecipients: + catalin.iacob, pitrou, eric.araujo, petri.lehtinen, Anthony.Kong, berker.peksag
2012-02-16 20:45:58catalin.iacobsetmessageid: <1329425158.38.0.875619740597.issue13641@psf.upfronthosting.co.za>
2012-02-16 20:45:57catalin.iacoblinkissue13641 messages
2012-02-16 20:45:57catalin.iacobcreate