Message280871
> 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! |
|
Date |
User |
Action |
Args |
2016-11-15 18:08:30 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, ezio.melotti, josh.r, xiang.zhang |
2016-11-15 18:08:30 | serhiy.storchaka | set | messageid: <1479233310.35.0.0996663305472.issue21449@psf.upfronthosting.co.za> |
2016-11-15 18:08:30 | serhiy.storchaka | link | issue21449 messages |
2016-11-15 18:08:30 | serhiy.storchaka | create | |
|