]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 16 Nov 2016 13:40:39 +0000 (15:40 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 16 Nov 2016 13:40:39 +0000 (15:40 +0200)
commitf5894dd646f5e39918377b37b8c8694cebdca103
tree7332d366d9a5888ac6c5b8b15f0c1d6ea7bf2481
parentf4934ea77da38516731a75fbf9458b248d26dd81
Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.

The latter function is more readable, faster and doesn't raise exceptions.

Based on patch by Xiang Zhang.
Include/unicodeobject.h
Objects/typeobject.c
Objects/unicodeobject.c
Python/errors.c
Python/pythonrun.c