]> granicus.if.org Git - python/commit
Add asserts to check for 'impossible' NULL values, with comments.
authorThomas Heller <theller@ctypes.org>
Fri, 18 Aug 2006 14:38:46 +0000 (14:38 +0000)
committerThomas Heller <theller@ctypes.org>
Fri, 18 Aug 2006 14:38:46 +0000 (14:38 +0000)
commit0b21b43d491220ae51eebc4df9ba6cf616265c7c
tree48850986524b0033e6d85ef9fca1f4f48072454a
parentc458433850348500ac8139ffca36a251ebc5b8ae
Add asserts to check for 'impossible' NULL values, with comments.
In one place where I'n not 1000% sure about the non-NULL, raise
a RuntimeError for safety.

This should fix the klocwork issues that Neal sent me.  If so,
it should be applied to the release25-maint branch also.
Modules/_ctypes/_ctypes.c