Message201804
+ if u'\ud83d\udc9d' != u'\U0001f49d':
If would prefer a test on sys.maxunicode, something like:
if sys.maxunicode == 0xffff:
Oh, I didn't remember that Python supports surrogate pairs, but not always. Support of non-BMP characters in Python 2 is ugly :-) |
|
Date |
User |
Action |
Args |
2013-10-31 11:31:26 | vstinner | set | recipients:
+ vstinner, lemburg, benjamin.peterson, ezio.melotti, Arfrever, serhiy.storchaka |
2013-10-31 11:31:26 | vstinner | set | messageid: <1383219086.29.0.0755363713302.issue19457@psf.upfronthosting.co.za> |
2013-10-31 11:31:26 | vstinner | link | issue19457 messages |
2013-10-31 11:31:26 | vstinner | create | |
|