]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Somewhat-preliminary slice-object and extended slicing support for ctypes.
authorThomas Wouters <thomas@python.org>
Thu, 30 Aug 2007 21:01:17 +0000 (21:01 +0000)
committerThomas Wouters <thomas@python.org>
Thu, 30 Aug 2007 21:01:17 +0000 (21:01 +0000)
commitdcb3c382ac0977a72ef562759b0ec08e4d8468ad
tree1ed4868285281ffbb9fdec8f0ed8505ffae66b1b
parent89241a38897b0e73375996180ef6cd418978d88c
Somewhat-preliminary slice-object and extended slicing support for ctypes.
The exact behaviour of omitted and negative indices for the Pointer type may
need a closer look (especially as it's subtly different from simple slices)
but there's time yet before 2.6, and not enough before 3.0a1 :-)
Lib/ctypes/test/test_arrays.py
Lib/ctypes/test/test_buffers.py
Lib/ctypes/test/test_cast.py
Lib/ctypes/test/test_memfunctions.py
Lib/ctypes/test/test_slicing.py
Lib/ctypes/test/test_strings.py
Lib/ctypes/test/test_structures.py
Lib/ctypes/test/test_unicode.py
Modules/_ctypes/_ctypes.c