Message153499
| 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. |
|