[issue10732] Wrong destructor function type in Python/getargs.c

Antoine Pitrou report at bugs.python.org
Sat Dec 18 20:28:06 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> I fail to see the problem. The context is a plain void*, not
> (necessarily) a function pointer, and getargs uses it with the same
> type it put in. Why do you think PyCapsule_Destructor is of relevance?

Woops, sorry. Apparently I messed up PyCapsule_SetContext and
PyCapsule_SetDestructor when reading the function declaration.

----------

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


More information about the Python-bugs-list mailing list