[Python-checkins] [python/cpython] 94b169: [3.5] bpo-30708: Add private C API function _PyUni...
GitHub
noreply at github.com
Tue Jun 27 14:52:12 EDT 2017
Branch: refs/heads/3.5
Home: https://github.com/python/cpython
Commit: 94b169fe48bc7ea76b926823885d1b12c2c381fa
https://github.com/python/cpython/commit/94b169fe48bc7ea76b926823885d1b12c2c381fa
Author: Serhiy Storchaka <storchaka at gmail.com>
Date: 2017-06-27 (Tue, 27 Jun 2017)
Changed paths:
M Include/unicodeobject.h
M Lib/ctypes/test/test_slicing.py
M Modules/_ctypes/callproc.c
M Modules/_ctypes/cfield.c
M Modules/_cursesmodule.c
M Modules/_localemodule.c
M Modules/_tkinter.c
M Modules/overlapped.c
M Modules/timemodule.c
M Objects/unicodeobject.c
Log Message:
-----------
[3.5] bpo-30708: Add private C API function _PyUnicode_AsWideCharString(). (GH-2285) (GH-2443) (#2448)
And use it instead of PyUnicode_AsWideCharString() if appropriate.
_PyUnicode_AsWideCharString(unicode) is like PyUnicode_AsWideCharString(unicode, NULL), but
raises a ValueError if the wchar_t* string contains null characters.
(cherry picked from commit e613e6add5f07ff6aad5802924596b631b707d2a).
(cherry picked from commit 0edffa3073b551ffeca34952529e7b292f1bd350)
More information about the Python-checkins
mailing list