[issue4606] Passing 'None' if argtype is set to POINTER(...) doesn't always result in NULL

olt report at bugs.python.org
Mon Apr 11 14:49:48 CEST 2011


olt <olt at bogosoft.com> added the comment:

For anyone that has to use a Python version where this bug is present, it is possible to manually create a NULL pointer.

For the example:

POINTER(c_double)()

This works, at least in my case.

----------
nosy: +olt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4606>
_______________________________________


More information about the Python-bugs-list mailing list