]> granicus.if.org Git - python/commit
Use the new Unicode API
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 22 Nov 2011 01:27:30 +0000 (02:27 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 22 Nov 2011 01:27:30 +0000 (02:27 +0100)
commit9d3b93ba305e8a83bf1cec5146def2078e40b1a5
treed618d2ca564f2a027522b22491f4fec656fceb09
parentb84d723509d1b8c7e052f61117624627d334cf30
Use the new Unicode API

 * Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0)
 * Replce PyUnicode_FromUnicode(str, len) by PyUnicode_FromWideChar(str, len)
 * Replace Py_UNICODE by wchar_t
 * posix_putenv() uses PyUnicode_FromFormat() to create the string, instead
   of PyUnicode_FromUnicode() + _snwprintf()
Modules/_ctypes/_ctypes.c
Modules/posixmodule.c
Modules/socketmodule.c
Objects/abstract.c
PC/_msi.c
PC/_subprocess.c
PC/msvcrtmodule.c
PC/winreg.c
PC/winsound.c
Python/dynload_win.c