]> granicus.if.org Git - python/commit
Merged revisions 60001,60003-60004,60008 via svnmerge from
authorThomas Heller <theller@ctypes.org>
Thu, 17 Jan 2008 18:46:55 +0000 (18:46 +0000)
committerThomas Heller <theller@ctypes.org>
Thu, 17 Jan 2008 18:46:55 +0000 (18:46 +0000)
commitff72122184556afae962f32b7d7ac47bb2d5de33
tree1a44c3b7fb2179e8ee0cc5559f4cbfc4d532423d
parent9893de1b83978249eafaebe575989537c01b484e
Merged revisions 60001,60003-60004,60008 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r60001 | thomas.heller | 2008-01-16 20:16:27 +0100 (Mi, 16 Jan 2008) | 3 lines

  Convert the internal ctypes array type cache to a WeakValueDict so
  that array types do not live longer than needed.
........
  r60003 | thomas.heller | 2008-01-16 20:37:33 +0100 (Mi, 16 Jan 2008) | 3 lines

  Raise a TypeError if conflicting positional and named arguments are
  passed to a Structure or Union constructor.
........
  r60004 | thomas.heller | 2008-01-16 20:45:51 +0100 (Mi, 16 Jan 2008) | 3 lines

  Raise a TypeError instead of a ValueError when too many initializers
  are used in a Structure or Union constructor.
........
  r60008 | thomas.heller | 2008-01-16 21:34:37 +0100 (Mi, 16 Jan 2008) | 3 lines

  Use 'g' instead of 'D' as the ctypes typecode for c_longdouble, for
  compliance with PEP 3118.
........
Lib/ctypes/__init__.py
Lib/ctypes/test/test_arrays.py
Lib/ctypes/test/test_structures.py
Modules/_ctypes/_ctypes.c
Modules/_ctypes/cfield.c