[issue18778] email docstrings and comments say about Unicode strings

R. David Murray report at bugs.python.org
Mon Aug 19 14:34:06 CEST 2013


R. David Murray added the comment:

If you mean the code in Charset's __init__, if you change that you'll have backward compatibility issues.  As the code currently stands it is legal to pass in a charset name that is bytes.  And the string path of that if checks that it contains only ASCII characters, a check that is also still required.

----------

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


More information about the Python-bugs-list mailing list