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 xiang.zhang
Recipients ezio.melotti, josh.r, serhiy.storchaka, vstinner, xiang.zhang
Date 2016-11-15.15:31:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479223895.57.0.0560916419181.issue21449@psf.upfronthosting.co.za>
In-reply-to
Content
Since currently _PyUnicode_CompareWithId is used to compare a unicode with ascii identifiers for all cases, how about introduce a more specific function like _PyUnicode_EqualToASCIIId for this case? We can preserve _PyUnicode_CompareWithId for more general purpose usage. It's much easier to write a error free _PyUnicode_EqualToASCIIId.
History
Date User Action Args
2016-11-15 15:31:35xiang.zhangsetrecipients: + xiang.zhang, vstinner, ezio.melotti, serhiy.storchaka, josh.r
2016-11-15 15:31:35xiang.zhangsetmessageid: <1479223895.57.0.0560916419181.issue21449@psf.upfronthosting.co.za>
2016-11-15 15:31:35xiang.zhanglinkissue21449 messages
2016-11-15 15:31:35xiang.zhangcreate