cpython/Lib/ctypes/test
Zackery Spytz 14514d9084 bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375)
The final addition (cur += step) may overflow, so use size_t for "cur".
"cur" is always positive (even for negative steps), so it is safe to use
size_t here.

Co-Authored-By: Martin Panter <vadmium+py@gmail.com>
2019-05-17 10:13:03 +03:00
..
__init__.py
__main__.py
test_anon.py
test_array_in_pointer.py
test_arrays.py bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375) 2019-05-17 10:13:03 +03:00
test_as_parameter.py Fixed several assertTrue() that were intended to be assertEqual(). (GH-8191) 2018-07-09 18:25:55 +03:00
test_bitfields.py bpo-27643 - skip test_ctypes test case with XLC compiler. (GH-5164) 2018-12-26 13:54:22 +10:00
test_buffers.py
test_bytes.py bpo-35384: The repr of ctypes.CArgObject no longer fails for non-ascii character. (GH-10863) 2018-12-06 11:16:24 +02:00
test_byteswap.py
test_callbacks.py
test_cast.py
test_cfuncs.py
test_checkretval.py
test_delattr.py
test_errno.py
test_find.py
test_frombuffer.py
test_funcptr.py
test_functions.py
test_incomplete.py
test_init.py
test_internals.py
test_keeprefs.py
test_libc.py
test_loading.py bpo-36085: Add additional load flag to ensure DLL loads successfully (GH-12633) 2019-03-30 17:14:46 -07:00
test_macholib.py
test_memfunctions.py
test_numbers.py bpo-36048: Use __index__() instead of __int__() for implicit conversion if available. (GH-11952) 2019-02-25 17:57:58 +02:00
test_objects.py
test_parameters.py
test_pep3118.py
test_pickling.py
test_pointers.py
test_prototypes.py
test_python_api.py
test_random_things.py
test_refcounts.py
test_repr.py
test_returnfuncptrs.py
test_simplesubclasses.py
test_sizes.py
test_slicing.py
test_stringptr.py
test_strings.py bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175) 2018-12-17 16:52:45 +02:00
test_struct_fields.py
test_structures.py
test_unaligned_structures.py
test_unicode.py
test_values.py bpo-36540: PEP 570 -- Implementation (GH-12701) 2019-04-29 13:36:57 +01:00
test_varsize_struct.py
test_win32.py bpo-35947: Update Windows to the current version of libffi (GH-11797) 2019-03-29 16:30:10 -07:00
test_wintypes.py