]> granicus.if.org Git - python/commit
The __repr__ method of a NULL py_object does no longer raise an
authorThomas Heller <theller@ctypes.org>
Wed, 16 Aug 2006 14:07:44 +0000 (14:07 +0000)
committerThomas Heller <theller@ctypes.org>
Wed, 16 Aug 2006 14:07:44 +0000 (14:07 +0000)
commitb0aa98fd4f02c4d5a9d9f43ac013595cbcf1f06c
treeb88f01ec6c8e4e8bdcca75bc0562537b124b47cf
parent596fc9c3848d48b2393f6871d1b77befe8b4ffbd
The __repr__ method of a NULL py_object does no longer raise an
exception.  Remove a stray '?' character from the exception text
when the value is retrieved of such an object.

Includes tests.
Lib/ctypes/__init__.py
Lib/ctypes/test/test_python_api.py
Misc/NEWS
Modules/_ctypes/cfield.c