Jim Schneider <jim.schnei...@dataflux.com> added the comment:

>From issue 12561 (which I will be closing):

Author: STINNER Victor (haypo) *  Date: 2011-07-15 15:36  
Use >L"" CONSTANT< to decode a byte string to a character string doesn't work 
with non-ASCII strings. _Py_char2wchar() should be used instead: see for 
example this fix, commit 5b6e13b6b473. 

This is in reference to getpath.patch.  I have no need to support 
internationalized versions of the constant strings my patch addresses, so 
Stinner's commit is overkill for me.

----------

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

Reply via email to