This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients ezio.melotti, ronaldoussoren, serhiy.storchaka, steven.daprano, vstinner, winvinc, xtreak
Date 2018-06-16.05:14:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There are certain encodings as I went through the file Lib/encodings/  where there are all digit items that doesn't correspond to cpXXXX sequence. I think the search function is used not only for encodings that start with 'cp' and thus adding the logic might result in checks for extra cases.

Sample cases : 

'936'                : 'gbk'
'8859'               : 'latin_1'
'646'                : 'ascii'

I also have limited knowledge on working through encodings/ so correct me if I am wrong on the above.

Date User Action Args
2018-06-16 05:14:56xtreaksetrecipients: + xtreak, ronaldoussoren, vstinner, ezio.melotti, steven.daprano, serhiy.storchaka, winvinc
2018-06-16 05:14:55xtreaksetmessageid: <>
2018-06-16 05:14:55xtreaklinkissue33865 messages
2018-06-16 05:14:55xtreakcreate