cpython/Lib/ctypes/test
Vinay Sajip a86339b83f Fixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64. (#168)
* Fixed bpo-29565: Corrected ctypes passing of large structs by value.

Added code and test to check that when a structure passed by value
is large enough to need to be passed by reference, a copy of the
original structure is passed. The callee updates the passed-in value,
and the test verifies that the caller's copy is unchanged. A similar
change was also added to the test added for bpo-20160 (that test was
passing, but the changes should guard against regressions).

* Reverted unintended whitespace changes.
2017-02-20 00:16:33 +00:00
..
__init__.py
__main__.py
test_anon.py
test_array_in_pointer.py
test_arrays.py Issue #19023: Document ctypes array and pointer classes 2016-01-29 10:12:19 +00:00
test_as_parameter.py Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. 2015-07-03 01:04:23 -04:00
test_bitfields.py Issue #27355: Removed support for Windows CE. It was never finished, 2016-09-05 15:11:23 -07:00
test_buffers.py
test_bytes.py
test_byteswap.py
test_callbacks.py Fixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64. (#168) 2017-02-20 00:16:33 +00:00
test_cast.py
test_cfuncs.py
test_checkretval.py
test_delattr.py
test_errno.py
test_find.py Merge test cleanup from 3.5 into 3.6 2016-09-29 04:40:56 +00:00
test_frombuffer.py Issue #25659: Change assert to TypeError in from_buffer/_copy() 2016-11-20 07:58:35 +00:00
test_funcptr.py Issue #27355: Import no longer needed 2016-09-06 02:18:16 +00:00
test_functions.py
test_incomplete.py
test_init.py
test_internals.py
test_keeprefs.py
test_libc.py
test_loading.py Issue #27355: Removed support for Windows CE. It was never finished, 2016-09-05 15:11:23 -07:00
test_macholib.py
test_memfunctions.py
test_numbers.py Issue #27626: Spelling fixes in docs, comments and internal names 2016-07-28 01:11:04 +00:00
test_objects.py Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
test_parameters.py Issue #23277: Remove unused imports in tests. 2016-04-24 21:41:02 +03:00
test_pep3118.py Remove more unused imports in tests. 2016-04-25 00:05:30 +03:00
test_pickling.py
test_pointers.py Issue #19023: Document ctypes array and pointer classes 2016-01-29 10:12:19 +00:00
test_prototypes.py
test_python_api.py
test_random_things.py Issue #25523: Further a-to-an corrections. 2015-11-02 14:10:23 +02:00
test_refcounts.py
test_repr.py
test_returnfuncptrs.py Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
test_simplesubclasses.py
test_sizes.py Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
test_slicing.py
test_stringptr.py
test_strings.py
test_struct_fields.py
test_structures.py Fixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64. (#168) 2017-02-20 00:16:33 +00:00
test_unaligned_structures.py
test_unicode.py
test_values.py Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode. 2016-05-24 09:15:14 +03:00
test_varsize_struct.py
test_win32.py Issue #25582: Fixed 100 MB memory leak in test_ctypes. 2015-11-09 22:31:10 +02:00
test_wintypes.py