commit | 1a73bf365e9664f8dd3357ebbb78ceaa79df2172 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed Nov 16 10:19:57 2016 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Wed Nov 16 10:19:57 2016 +0200 |
tree | 87917a1a572c2f3c5a574d6a96a9879970a941d9 | |
parent | 1e2784e0b3cb8d9050bffb338b2de838fbba13a2 [diff] | |
parent | 3b73ea127892d0e1f9d8f12f88e4f9c0ba0b89b1 [diff] |
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.