commit | f5894dd646f5e39918377b37b8c8694cebdca103 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed Nov 16 15:40:39 2016 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Wed Nov 16 15:40:39 2016 +0200 |
tree | 7332d366d9a5888ac6c5b8b15f0c1d6ea7bf2481 | |
parent | f4934ea77da38516731a75fbf9458b248d26dd81 [diff] |
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.