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 ronaldoussoren
Recipients ezio.melotti, ronaldoussoren, serhiy.storchaka, steven.daprano, vstinner, winvinc, xtreak
Date 2018-06-18.11:19:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529320781.0.0.56676864532.issue33865@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not convinced that adding code to search_function is the right solution for this. 

BTW. I'm also not sure yet why this error happens, does windows return a codepage number as the preferred encoding when the io module looks for one? If so, wouldn't it be better to correct the encoding name there (from the codepage number to a string with a "cp" prefix)?
History
Date User Action Args
2018-06-18 11:19:41ronaldoussorensetrecipients: + ronaldoussoren, vstinner, ezio.melotti, steven.daprano, serhiy.storchaka, winvinc, xtreak
2018-06-18 11:19:40ronaldoussorensetmessageid: <1529320781.0.0.56676864532.issue33865@psf.upfronthosting.co.za>
2018-06-18 11:19:40ronaldoussorenlinkissue33865 messages
2018-06-18 11:19:40ronaldoussorencreate