diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-09-29 10:37:16 +0000 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-09-29 10:37:16 +0000 |
commit | 161a11c603c8b03ac6a03340023cffbd05ad1942 (patch) | |
tree | 13a7b4c6a5a7134c744336260231cd349689b8a5 /Python/errors.c | |
parent | d2c15904f06e69430b18c91f0ddca627739b92a3 (diff) | |
download | cpython-161a11c603c8b03ac6a03340023cffbd05ad1942.tar.gz |
Issue #9979: Use PyUnicode_AsWideCharString() in _ctypes module
* Convert unicode to wide character string before creating the PyCapsule
object
* Catch integer overflow
* Avoid useless memset()
* Prepare the support of surrogates
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions