[issue37752] Redundant Py_CHARMASK called in normalizestring(codecs.c)
Ma Lin
report at bugs.python.org
Sat Aug 3 21:18:51 EDT 2019
Ma Lin <malincns at 163.com> added the comment:
Or remove Py_CHARMASK in Py_ISxxx/Py_TOLOWER/Py_TOUPPER macros?
Sometimes `c` is already a unsinged char, Py_CHARMASK is not necessary in these cases.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37752>
_______________________________________
More information about the Python-bugs-list
mailing list