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 doerwalter, eric.smith, ezio.melotti, flox, vstinner
Date 2010-02-23.06:18:14
SpamBayes Score 5.017883e-09
Marked as misclassified No
Message-id <1266905897.5.0.173493044642.issue7649@psf.upfronthosting.co.za>
In-reply-to
Content
Indeed some comments would be helpful, I'll add them.
I also tried already to reuse 's' and extract the first char using unicode_getitem, but it returns a PyObject and anyway it's probably more expensive/complicated than calling PyString_AS_STRING again. I'll try with [0] and/or with PyUnicode_FromStringAndSize and make a new patch this afternoon.
History
Date User Action Args
2010-02-23 06:18:17ezio.melottisetrecipients: + ezio.melotti, doerwalter, vstinner, eric.smith, flox
2010-02-23 06:18:17ezio.melottisetmessageid: <1266905897.5.0.173493044642.issue7649@psf.upfronthosting.co.za>
2010-02-23 06:18:15ezio.melottilinkissue7649 messages
2010-02-23 06:18:14ezio.melotticreate