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 ezio.melotti
Recipients Rhamphoryncus, amaury.forgeotdarc, belopolsky, doerwalter, eric.smith, ezio.melotti, georg.brandl, lemburg, loewis, pitrou, rhettinger, stutzbach, tchrist, vstinner
Date 2011-08-22.16:19:14
SpamBayes Score 8.835411e-06
Marked as misclassified No
Message-id <1314029955.36.0.595080875926.issue10542@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch adds the following 4 public macros to unicodeobjects.h:
  Py_UNICODE_IS_SURROGATE(ch)
  Py_UNICODE_IS_HIGH_SURROGATE(ch)
  Py_UNICODE_IS_LOW_SURROGATE(ch)
  Py_UNICODE_JOIN_SURROGATES(high, low)
and documents them.

Since _Py_UNICODE_NEXT is still private, I'll commit it later as part as #9200.
History
Date User Action Args
2011-08-22 16:19:15ezio.melottisetrecipients: + ezio.melotti, lemburg, loewis, doerwalter, georg.brandl, rhettinger, amaury.forgeotdarc, belopolsky, Rhamphoryncus, pitrou, vstinner, eric.smith, stutzbach, tchrist
2011-08-22 16:19:15ezio.melottisetmessageid: <1314029955.36.0.595080875926.issue10542@psf.upfronthosting.co.za>
2011-08-22 16:19:14ezio.melottilinkissue10542 messages
2011-08-22 16:19:14ezio.melotticreate