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 belopolsky
Recipients belopolsky, eric.smith, ezio.melotti, lemburg, pitrou
Date 2010-11-25.05:03:54
SpamBayes Score 0.004572399
Marked as misclassified No
Message-id <1290661440.41.0.514759656337.issue10521@psf.upfronthosting.co.za>
In-reply-to
Content
Here is another str method not ready for non-BMP chars:


>>> u = '\U00010140'
>>> u.translate({ord(u):ord('A')})
'𐅀'

(expected 'A')

>>> u = 'B'
>>> u.translate({ord(u):ord('A')})
'A'
History
Date User Action Args
2010-11-25 05:04:00belopolskysetrecipients: + belopolsky, lemburg, pitrou, eric.smith, ezio.melotti
2010-11-25 05:04:00belopolskysetmessageid: <1290661440.41.0.514759656337.issue10521@psf.upfronthosting.co.za>
2010-11-25 05:03:54belopolskylinkissue10521 messages
2010-11-25 05:03:54belopolskycreate