Message201689
"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. |
|
Date |
User |
Action |
Args |
2013-10-29 22:32:58 | vstinner | set | recipients:
+ vstinner, ezio.melotti, Arfrever, python-dev, serhiy.storchaka |
2013-10-29 22:32:58 | vstinner | set | messageid: <1383085978.61.0.959579036685.issue19424@psf.upfronthosting.co.za> |
2013-10-29 22:32:58 | vstinner | link | issue19424 messages |
2013-10-29 22:32:58 | vstinner | create | |
|