]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add commented assert statements to check that the result of
authorThomas Heller <theller@ctypes.org>
Wed, 16 Aug 2006 13:03:11 +0000 (13:03 +0000)
committerThomas Heller <theller@ctypes.org>
Wed, 16 Aug 2006 13:03:11 +0000 (13:03 +0000)
commitd32e6167228127da7d31e355d91852825f317c54
treeaf2d251bc84b673f057ad4ca8b7876fcfbcfbc33
parenta09fd6efdd9bb9ffe58ed2f0a16ff076b85f5647
Add commented assert statements to check that the result of
PyObject_stgdict() and PyType_stgdict() calls are non-NULL before
dereferencing the result.  Hopefully this fixes what klocwork is
complaining about.

Fix a few other nits as well.
Modules/_ctypes/_ctypes.c