]> granicus.if.org Git - python/commit
Merged revisions 55027 via svnmerge from
authorThomas Heller <theller@ctypes.org>
Wed, 2 May 2007 19:41:16 +0000 (19:41 +0000)
committerThomas Heller <theller@ctypes.org>
Wed, 2 May 2007 19:41:16 +0000 (19:41 +0000)
commit412b20bd31bb9c15a1ea64861f24d9f50b7b2b25
treeb62313cb0c0358df1dcc7af8d126e7dc296c6182
parente5ebbecae3d6e84babc03b92beebe485ca76077f
Merged revisions 55027 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes

........
  r55027 | thomas.heller | 2007-04-30 18:04:57 +0200 (Mo, 30 Apr 2007) | 8 lines

  When accessing the .value attribute of a c_wchar_p instance, and the
  instance does not point to a valid wchar_t zero-terminated string,
  raise a ValueError.  c_char_p does this already.

  The ValueError message now contains the correct pointer address.

  Will backport to release25-maint.
........
Modules/_ctypes/cfield.c