cpython/Lib/ctypes/test
Thomas Heller b041fdaf94 Merged revisions 60056-60071,60073-60127,60129-60261,60263-60284,60286-62589,62591-62594 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k-ctypes-pep3118

........
  r60059 | thomas.heller | 2008-01-18 22:17:05 +0100 (Fri, 18 Jan 2008) | 1 line

  Implement pep3118 format strings for SimpleCData types.
........
  r60108 | thomas.heller | 2008-01-19 22:56:12 +0100 (Sat, 19 Jan 2008) | 3 lines

  Always use explicit endian specifiers for simple types, and a bug fix
  too.  Add unittest.
........
  r60112 | thomas.heller | 2008-01-19 23:25:14 +0100 (Sat, 19 Jan 2008) | 2 lines

  Fully implement tp_asbuffer for pointer types.
........
  r60261 | thomas.heller | 2008-01-24 22:01:29 +0100 (Thu, 24 Jan 2008) | 4 lines

  Added shape and ndim field to StgDictObject.  Implemented pep3118
  format string, ndim, and shape for array types.  Added a
  buffer_info(type_or_object) for testing.
........
  r60278 | thomas.heller | 2008-01-25 11:53:33 +0100 (Fri, 25 Jan 2008) | 2 lines

  Implement pep3118 format strings for ctypes.Structure and ctypes.Union.
........
  r60288 | thomas.heller | 2008-01-25 17:58:30 +0100 (Fri, 25 Jan 2008) | 2 lines

  All ctypes types now use the same CData_GetBuffer function.
........
  r60289 | thomas.heller | 2008-01-25 19:59:45 +0100 (Fri, 25 Jan 2008) | 2 lines

  Fix format string for structures, and itemsize for arrays.
........
  r60290 | thomas.heller | 2008-01-25 20:09:03 +0100 (Fri, 25 Jan 2008) | 2 lines

  Implement to format string for function pointers.
........
  r60292 | thomas.heller | 2008-01-25 20:32:20 +0100 (Fri, 25 Jan 2008) | 3 lines

  Only structures with native packing implement the pep.  Unions, or
  packed structures do not.
........
  r60293 | thomas.heller | 2008-01-25 20:34:31 +0100 (Fri, 25 Jan 2008) | 2 lines

  Update the test.
........
  r60295 | thomas.heller | 2008-01-25 20:44:41 +0100 (Fri, 25 Jan 2008) | 2 lines

  Fixed a few XXX markers.
........
  r60298 | thomas.heller | 2008-01-25 21:11:08 +0100 (Fri, 25 Jan 2008) | 1 line

  Fix test for 64-bt platform.
........
  r60299 | thomas.heller | 2008-01-25 21:34:11 +0100 (Fri, 25 Jan 2008) | 2 lines

  Add test for the readonly bit.
........
  r60384 | thomas.heller | 2008-01-28 08:45:04 +0100 (Mon, 28 Jan 2008) | 4 lines

  Restructure the test so that it contains little endian format strings.
  On big endian machines, the format strings are converted by replacing
  '<' with '>'.
........
  r60385 | thomas.heller | 2008-01-28 08:58:46 +0100 (Mon, 28 Jan 2008) | 1 line

  Bugfix and test for explicit big and little endian types.
........
  r60428 | thomas.heller | 2008-01-29 22:00:37 +0100 (Tue, 29 Jan 2008) | 1 line

  Add comments to clarify the tests.
........
  r62589 | thomas.heller | 2008-04-30 13:49:46 +0200 (Wed, 30 Apr 2008) | 1 line

  Fix compiler warnings.
........
2008-04-30 17:11:46 +00:00
..
__init__.py Merged revisions 60990-61002 via svnmerge from 2008-02-23 18:30:17 +00:00
runtests.py Copy ctypes-0.9.9.4 Python modules from external into the trunk. 2006-03-08 19:56:54 +00:00
test_anon.py Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
test_array_in_pointer.py Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
test_arrays.py Whoops, I missed a few more places that were using slicing from the operator module 2008-03-17 20:50:44 +00:00
test_as_parameter.py Fix various spots where int/long and str/unicode unification 2007-05-03 21:05:51 +00:00
test_bitfields.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
test_buffers.py Patch #1318 by Amaury Forgeot d'Arc. 2007-10-24 18:41:19 +00:00
test_bytes.py c_char, c_char_p objects and c_char array structure fields return 2007-07-13 12:52:51 +00:00
test_byteswap.py Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
test_callbacks.py Removed the API to create unbound methods and simplified the API for bound methods. The signature is PyMethod_New(func, instance). 2007-11-27 10:40:20 +00:00
test_cast.py Merged revisions 57620-57771 via svnmerge from 2007-08-30 22:15:33 +00:00
test_cfuncs.py Merged revisions 58742-58816 via svnmerge from 2007-11-02 23:46:40 +00:00
test_checkretval.py Merged revisions 60990-61002 via svnmerge from 2008-02-23 18:30:17 +00:00
test_delattr.py Merged revisions 59541-59561 via svnmerge from 2007-12-19 02:07:34 +00:00
test_errcheck.py Copy ctypes-0.9.9.4 Python modules from external into the trunk. 2006-03-08 19:56:54 +00:00
test_find.py Merged revisions 60990-61002 via svnmerge from 2008-02-23 18:30:17 +00:00
test_funcptr.py Merged revisions 60383-60407 via svnmerge from 2008-01-29 12:18:50 +00:00
test_functions.py Merged revisions 58742-58816 via svnmerge from 2007-11-02 23:46:40 +00:00
test_incomplete.py Copy ctypes-0.9.9.4 Python modules from external into the trunk. 2006-03-08 19:56:54 +00:00
test_init.py Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
test_integers.py Copy ctypes-0.9.9.4 Python modules from external into the trunk. 2006-03-08 19:56:54 +00:00
test_internals.py Changes in anticipation of stricter str vs. bytes enforcement. 2007-08-27 17:23:59 +00:00
test_keeprefs.py Fix a ctypes test. 2007-07-12 12:05:40 +00:00
test_libc.py Merged revisions 60990-61002 via svnmerge from 2008-02-23 18:30:17 +00:00
test_loading.py Remove spurious (and unneeded) import of StringIO. 2007-08-10 01:01:28 +00:00
test_macholib.py Raise statement normalization in Lib/ctypes/. 2007-08-30 03:47:13 +00:00
test_memfunctions.py Patch #1318 by Amaury Forgeot d'Arc. 2007-10-24 18:41:19 +00:00
test_numbers.py Merged revisions 60990-61002 via svnmerge from 2008-02-23 18:30:17 +00:00
test_objects.py c_char, c_char_p objects and c_char array structure fields return 2007-07-13 12:52:51 +00:00
test_parameters.py c_char_p.from_param accepts bytes. Fix test_parameters. 2007-07-12 19:33:24 +00:00
test_pep3118.py Merged revisions 60056-60071,60073-60127,60129-60261,60263-60284,60286-62589,62591-62594 via svnmerge from 2008-04-30 17:11:46 +00:00
test_pickling.py Merged revisions 60767,60768 via svnmerge from 2008-02-13 20:40:44 +00:00
test_pointers.py Rip out 'long' and 'L'-suffixed integer literals. 2007-01-15 16:59:06 +00:00
test_prototypes.py A 'PyObject *' parameter in PyErr_Format must use %S parameter, not %s. 2007-10-24 19:37:27 +00:00
test_python_api.py Patch #1318 by Amaury Forgeot d'Arc. 2007-10-24 18:41:19 +00:00
test_random_things.py Raise statement normalization in Lib/ctypes/. 2007-08-30 03:47:13 +00:00
test_refcounts.py Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
test_repr.py Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +00:00
test_returnfuncptrs.py Patch #1318 by Amaury Forgeot d'Arc. 2007-10-24 18:41:19 +00:00
test_simplesubclasses.py Restructure comparison dramatically. There is no longer a default 2006-08-24 00:41:19 +00:00
test_sizes.py Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
test_slicing.py Whoops, I missed a few more places that were using slicing from the operator module 2008-03-17 20:50:44 +00:00
test_stringptr.py Fix the ctypes tests. Patch from Victor Stinner. He writes: 2007-08-08 18:47:32 +00:00
test_strings.py Patch #1318 by Amaury Forgeot d'Arc. 2007-10-24 18:41:19 +00:00
test_struct_fields.py Copy ctypes-0.9.9.4 Python modules from external into the trunk. 2006-03-08 19:56:54 +00:00
test_structures.py Bug #2565: The repr() of type objects now calls them 'class', 2008-04-07 05:43:42 +00:00
test_unaligned_structures.py Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 2006-04-21 10:40:58 +00:00
test_unicode.py Patch #1318 by Amaury Forgeot d'Arc. 2007-10-24 18:41:19 +00:00
test_values.py Add a comment to explain why we have to restore the original value. 2007-12-12 20:01:44 +00:00
test_varsize_struct.py Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
test_win32.py Merged revisions 56301-56442 via svnmerge from 2007-07-18 18:15:48 +00:00