]> granicus.if.org Git - python/commit
Fix a potential 'SystemError: NULL result without error'.
authorThomas Heller <theller@ctypes.org>
Fri, 11 Jan 2008 20:29:19 +0000 (20:29 +0000)
committerThomas Heller <theller@ctypes.org>
Fri, 11 Jan 2008 20:29:19 +0000 (20:29 +0000)
commit43617bc610a92d0025a9c9473fdbe0d81c51fd4d
treeffc9a48f97e1098c96b6a87e0f607cd30dbf5e0d
parentc682614df098700c689eabb47c6857f244e85bed
Fix a potential 'SystemError: NULL result without error'.
NULL may be a valid return value from PyLong_AsVoidPtr.

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