commit | f4934ea77da38516731a75fbf9458b248d26dd81 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Wed Nov 16 10:17:58 2016 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Wed Nov 16 10:17:58 2016 +0200 |
tree | 9fe19276fac7661f433f86673ff7862663ed7693 | |
parent | 5ebff7b300448db36d0d0eda7d265caa06fce6d2 [diff] |
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.