Author vstinner
Recipients Arfrever, ezio.melotti, python-dev, serhiy.storchaka, vstinner
Date 2013-10-29.22:32:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383085978.61.0.959579036685.issue19424@psf.upfronthosting.co.za>
In-reply-to
Content
"Well, it looks reasonable. But an action should be ASCII only string. So perhaps we should first check PyUnicode_IS_ASCII() and then use PyUnicode_1BYTE_DATA() and strcpy()."

Such optimizations in warnings seem overkill, performances are not critical in this module.

I optimized PyUnicode_CompareWithASCIIString() instead.
History
Date User Action Args
2013-10-29 22:32:58vstinnersetrecipients: + vstinner, ezio.melotti, Arfrever, python-dev, serhiy.storchaka
2013-10-29 22:32:58vstinnersetmessageid: <1383085978.61.0.959579036685.issue19424@psf.upfronthosting.co.za>
2013-10-29 22:32:58vstinnerlinkissue19424 messages
2013-10-29 22:32:58vstinnercreate