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

STINNER Victor report at bugs.python.org
Fri Jun 13 18:01:52 CEST 2014


STINNER Victor added the comment:

The changeset a7a8ccf69708 (a few months ago) fixed lib_python to not concatenate bytes string and wide character string. I don't see any occurence of char+wchar in the code, so I'm closing the issue.

changeset:   87136:a7a8ccf69708
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Sat Nov 16 00:45:54 2013 +0100
files:       Modules/getpath.c
description:
Don't mix wide character strings and byte strings (L"lib/python" VERSION): use
_Py_char2wchar() to decode lib_python instead.

Some compilers don't support concatenating literals: L"wide" "bytes". Example: IRIX compiler.

----------
resolution: duplicate -> fixed
superseder: HP/UX compiler workarounds -> 

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


More information about the Python-bugs-list mailing list