Ronald Oussoren <ronaldousso...@mac.com> added the comment:

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)?

----------

_______________________________________
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