Mercurial > cpython-lru_cache-weakref
diff Python/dynload_win.c @ 73683:d48b4a1c511a
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()
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Tue, 22 Nov 2011 02:27:30 +0100 |
| parents | 071cc767a28e |
| children | f341b99bb370 |
line wrap: on
line diff
