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 serhiy.storchaka
Recipients ezio.melotti, josh.r, serhiy.storchaka, vstinner, xiang.zhang
Date 2016-11-15.18:08:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479233310.35.0.0996663305472.issue21449@psf.upfronthosting.co.za>
In-reply-to
Content
> Callers should be fixed to handle errors.

This would make the code of callers more complex for small benefit. And perhaps we will add more callers (if replace PyUnicode_CompareWithASCII with new function).

> 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?

Great idea Xiang!
History
Date User Action Args
2016-11-15 18:08:30serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, ezio.melotti, josh.r, xiang.zhang
2016-11-15 18:08:30serhiy.storchakasetmessageid: <1479233310.35.0.0996663305472.issue21449@psf.upfronthosting.co.za>
2016-11-15 18:08:30serhiy.storchakalinkissue21449 messages
2016-11-15 18:08:30serhiy.storchakacreate