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 <rep...@bugs.python.org> <http://bugs.python.org/issue18778> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com