cpython/Lib/ctypes/test
Thomas Heller f780be4239 Add a new function uses_seh() to the _ctypes extension module. This
will return True if Windows Structured Exception handling (SEH) is
used when calling functions, False otherwise.

Currently, only MSVC supports SEH.

Fix the test so that it doesn't crash when run with MingW compiled
_ctypes.  Note that two tests are still failing when mingw is used, I
suspect structure layout differences and function calling conventions
between MSVC and MingW.
2006-07-03 08:08:14 +00:00
..
__init__.py Whitespace normalization. 2006-03-09 01:15:05 +00:00
runtests.py
test_anon.py Whitespace normalization. 2006-06-11 19:42:51 +00:00
test_array_in_pointer.py Whitespace normalization. 2006-03-09 01:15:05 +00:00
test_arrays.py
test_bitfields.py Merge in changes from ctypes 0.9.9.6 upstream version. 2006-04-21 16:51:04 +00:00
test_buffers.py Whitespace normalization. 2006-03-09 01:15:05 +00:00
test_byteswap.py Merge in changes from ctypes 0.9.9.6 upstream version. 2006-04-21 16:51:04 +00:00
test_callbacks.py Merge in changes from ctypes 0.9.9.6 upstream version. 2006-04-21 16:51:04 +00:00
test_cast.py Upgrade to ctypes version 0.9.9.7. 2006-06-10 19:55:36 +00:00
test_cfuncs.py Specify argtypes for all test functions. Maybe that helps on strange ;-) architectures 2006-06-06 15:34:18 +00:00
test_checkretval.py Merge in changes from ctypes 0.9.9.6 upstream version. 2006-04-21 16:51:04 +00:00
test_errcheck.py
test_find.py add svn:eol-style native svn:keywords Id 2006-05-12 19:31:46 +00:00
test_funcptr.py Merge in changes from ctypes 0.9.9.6 upstream version. 2006-04-21 16:51:04 +00:00
test_functions.py Merge in changes from ctypes 0.9.9.6 upstream version. 2006-04-21 16:51:04 +00:00
test_incomplete.py
test_init.py
test_integers.py
test_internals.py
test_keeprefs.py Upgrade to ctypes version 0.9.9.7. 2006-06-10 19:55:36 +00:00
test_libc.py Merge in changes from ctypes 0.9.9.6 upstream version. 2006-04-21 16:51:04 +00:00
test_loading.py Next try to fix the OpenBSD buildbot tests: 2006-06-19 08:32:46 +00:00
test_macholib.py Whitespace normalization. 2006-03-09 01:15:05 +00:00
test_memfunctions.py
test_numbers.py Whitespace normalization. 2006-03-09 01:15:05 +00:00
test_objects.py Don't run the doctests with Python 2.3 because it doesn't have the ELLIPSIS flag. 2006-07-03 07:59:50 +00:00
test_parameters.py Whitespace normalization. 2006-03-09 01:15:05 +00:00
test_pointers.py Normalized a few cases of whitespace in function declarations. 2006-06-06 12:46:55 +00:00
test_prototypes.py Merge in changes from ctypes 0.9.9.6 upstream version. 2006-04-21 16:51:04 +00:00
test_python_api.py Disable a test that is unreliable. 2006-05-09 20:20:15 +00:00
test_random_things.py Make the tests succeed with -Qnew: Do not rely on the exact wording of a ZeroDivisionError. 2006-03-28 11:00:08 +00:00
test_refcounts.py Merge in changes from ctypes 0.9.9.6 upstream version. 2006-04-21 16:51:04 +00:00
test_repr.py Plug some refcount leaks when tests are run repeatedly. 2006-03-13 10:47:02 +00:00
test_returnfuncptrs.py Merge in changes from ctypes 0.9.9.6 upstream version. 2006-04-21 16:51:04 +00:00
test_simplesubclasses.py
test_sizes.py Merge changes from the upstream version: 2006-03-17 15:52:58 +00:00
test_slicing.py Upgrade to ctypes version 0.9.9.7. 2006-06-10 19:55:36 +00:00
test_stringptr.py Merge in changes from ctypes 0.9.9.6 upstream version. 2006-04-21 16:51:04 +00:00
test_strings.py Whitespace normalization. 2006-03-09 01:15:05 +00:00
test_struct_fields.py
test_structures.py Upgrade to ctypes version 0.9.9.7. 2006-06-10 19:55:36 +00:00
test_unaligned_structures.py Add missing SVN eol-style property to text files. 2006-04-16 22:11:28 +00:00
test_unicode.py Merge in changes from ctypes 0.9.9.6 upstream version. 2006-04-21 16:51:04 +00:00
test_values.py Merge in changes from ctypes 0.9.9.6 upstream version. 2006-04-21 16:51:04 +00:00
test_varsize_struct.py Whitespace normalization. 2006-06-11 19:42:51 +00:00
test_win32.py Add a new function uses_seh() to the _ctypes extension module. This 2006-07-03 08:08:14 +00:00