]> granicus.if.org Git - python/commit
Issue #6011: getpath: decode VPATH env var from the locale encoding
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 23 Oct 2010 00:13:28 +0000 (00:13 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 23 Oct 2010 00:13:28 +0000 (00:13 +0000)
commit2158231433c19e1e8eec24d8d053da2a02256747
treecb68923595417f6d946e71358e5afba21e9d6790
parentff150f2921e554f61ac5452757bd39d881bf1a5f
Issue #6011: getpath: decode VPATH env var from the locale encoding

Instead of casting it to wchar_t* without conversion. It fixes a bug if Python
is compiled a non-ascii directory, different than the source code directory,
with C locale.
Modules/getpath.c