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 eryksun
Recipients BreamoreBoy, amaury.forgeotdarc, belopolsky, eryksun, gergely.erdelyi, meador.inge, vstinner
Date 2014-10-04.02:24:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412389492.49.0.639743219125.issue19865@psf.upfronthosting.co.za>
In-reply-to
Content
When sizeof(c_wchar) == 2, it can just count the number of non-BMP ordinals in the string. Another approach would be to use size = pythonapi.PyUnicode_AsWideChar(init, None, 0), but then the whole function may as well be implemented in the _ctypes extension module.
History
Date User Action Args
2014-10-04 02:24:52eryksunsetrecipients: + eryksun, amaury.forgeotdarc, belopolsky, vstinner, meador.inge, BreamoreBoy, gergely.erdelyi
2014-10-04 02:24:52eryksunsetmessageid: <1412389492.49.0.639743219125.issue19865@psf.upfronthosting.co.za>
2014-10-04 02:24:52eryksunlinkissue19865 messages
2014-10-04 02:24:52eryksuncreate