Message201689
| 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. |
|