cpython/Modules/_ctypes
Victor Stinner 044c516854 Issue #18609, #18408: _ctypes_add_traceback() now clears the current exception
while adding the traceback, because it may call indirectly a Python function
and Python functions must not be called with an exception set.

In the case of the issue #18609, _ctypes_add_traceback() called the iso8859-1
decoder which is implemented in Python. Python has a ISO-8859-1 codec
implemented in C. It is not used because PyUnicode_Decode() only uses the C
codec for other names (aliases) of this codec ("latin-1", "latin1" and
"iso-8859-1").
2013-08-02 00:47:47 +02:00
..
darwin Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
libffi merge 3.3 (#18248) 2013-06-19 09:01:58 -07:00
libffi_arm_wince Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
libffi_msvc Merged revisions 88284 via svnmerge from 2011-01-31 21:36:33 +00:00
libffi_osx Make the GCC-4.8 compiler happy by moving declarations to the top of the function. 2013-07-19 19:52:04 -07:00
_ctypes.c Issue #18561: Skip name in ctypes' _build_callargs() if name is NULL. 2013-07-26 23:04:39 +02:00
_ctypes_test.c Merged revisions 88284 via svnmerge from 2011-01-31 21:36:33 +00:00
_ctypes_test.h Copy ctypes-0.9.9.4 sources from external into the trunk. 2006-03-08 19:35:11 +00:00
callbacks.c Issue #18609, #18408: _ctypes_add_traceback() now clears the current exception 2013-08-02 00:47:47 +02:00
callproc.c Issue #18408: Fix ConvParam() of the ctypes module to handle paramfunc failure 2013-07-09 00:27:12 +02:00
cfield.c Issue #18556: Check the return value for PyUnicode_AsWideChar() in 2013-07-25 17:34:00 -04:00
ctypes.h Issue #16628: Fix a memory leak in ctypes.resize(). 2012-12-08 11:05:50 +01:00
ctypes_dlfcn.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
libffi.diff fix libffi build on AIX (closes #18248) 2013-06-19 09:01:42 -07:00
malloc_closure.c Fix for issue9662, patch by Łukasz Langa in issue5504. 2010-09-05 18:25:59 +00:00
stgdict.c Issue #15989: Fix several occurrences of integer overflow 2013-01-19 12:41:45 +02:00