[issue12561] Compiler workaround for wide string constants in Modules/getpath.c (patch)

Jim Schneider report at bugs.python.org
Fri Jul 15 18:41:19 CEST 2011


Jim Schneider <jim.schneider at dataflux.com> added the comment:

Constant initializers are required to be constants, not function calls, so _Py_char2wchar cannot be used in the definition of lib_python (line #138 of Modules/getpath.c).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12561>
_______________________________________


More information about the Python-bugs-list mailing list