[issue21449] Replace _PyUnicode_CompareWithId with _PyUnicode_CompareWithIdEqual

Xiang Zhang report at bugs.python.org
Wed Nov 16 06:28:04 EST 2016


Xiang Zhang added the comment:

> _PyUnicode_CompareWithId is a private function. We can remove it if it has issues.

It doesn't. But once there is _PyUnicode_EqualToASCIIId, it's can be rarely used.

The new patch implements a version of _PyUnicode_EqualToASCIIId.

----------
Added file: http://bugs.python.org/file45499/_PyUnicode_EqualToASCIIId.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21449>
_______________________________________


More information about the Python-bugs-list mailing list