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 vstinner
Recipients Arfrever, benjamin.peterson, ezio.melotti, lemburg, serhiy.storchaka, vstinner
Date 2013-10-31.11:31:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383219086.29.0.0755363713302.issue19457@psf.upfronthosting.co.za>
In-reply-to
Content
+        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 :-)
History
Date User Action Args
2013-10-31 11:31:26vstinnersetrecipients: + vstinner, lemburg, benjamin.peterson, ezio.melotti, Arfrever, serhiy.storchaka
2013-10-31 11:31:26vstinnersetmessageid: <1383219086.29.0.0755363713302.issue19457@psf.upfronthosting.co.za>
2013-10-31 11:31:26vstinnerlinkissue19457 messages
2013-10-31 11:31:26vstinnercreate