]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 16 Nov 2016 13:41:11 +0000 (15:41 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 16 Nov 2016 13:41:11 +0000 (15:41 +0200)
The latter function is more readable, faster and doesn't raise exceptions.

Based on patch by Xiang Zhang.

1  2 
Include/unicodeobject.h
Objects/typeobject.c
Objects/unicodeobject.c
Python/errors.c
Python/pythonrun.c

Simple merge
Simple merge
Simple merge
diff --cc Python/errors.c
Simple merge
Simple merge