]> granicus.if.org Git - python/commit
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIISt...
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 16 Nov 2016 08:19:57 +0000 (10:19 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 16 Nov 2016 08:19:57 +0000 (10:19 +0200)
commit1a73bf365e9664f8dd3357ebbb78ceaa79df2172
tree87917a1a572c2f3c5a574d6a96a9879970a941d9
parent1e2784e0b3cb8d9050bffb338b2de838fbba13a2
parent3b73ea127892d0e1f9d8f12f88e4f9c0ba0b89b1
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.

The latter function is more readable, faster and doesn't raise exceptions.
Modules/_testcapimodule.c
Objects/longobject.c
Objects/unicodeobject.c