[issue37751] In codecs, function 'normalizestring' should convert both spaces and hyphens to underscores.

Jordon.X report at bugs.python.org
Sat Aug 3 09:13:33 EDT 2019


Jordon.X <9651234 at qq.com> added the comment:

The design and code of the following four places need to be consistent,

No.1 https://github.com/python/peps/blob/master/pep-0100.txt#L292
No.2 https://github.com/python/cpython/blob/master/Python/codecs.c#L113
No.3 https://github.com/python/cpython/blob/master/Python/codecs.c#L53  
No.4 https://github.com/python/cpython/blob/master/Python/codecs.c#74

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37751>
_______________________________________


More information about the Python-bugs-list mailing list