Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Why only these code pages? There are other cpXXXX encodings that don't have the 
XXXX alias.

Maybe add a logic in encodings.search_function() that will map XXXX to cpXXXX 
if it is all digits? Maybe even map ibmXXXX and windows_XXXX to cpXXXX, but 
this will create false aliases like ibm1252 and windows_437.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33865>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to