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

Based on patch by Xiang Zhang.

1  2 
Objects/unicodeobject.c
Python/errors.c

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