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
V
Victor Stinner committed
4c2e4fa242d2567e6f0bb5d112cc4e3c5d085b68
Parent: b290478