New submission from Antoine Pitrou <pit...@free.fr>:

In getargs.c, in addcleanup_convert(), PyCapsule_SetContext() is called with a 
second argument "int (*destr)(PyObject*,void*)", but it really expects a "void 
(*PyCapsule_Destructor)(PyObject *)".
I'm not sure it's a good idea, although the ABI may be lenient enough on common 
architectures (?)...

----------
components: Interpreter Core
messages: 124307
nosy: haypo, loewis, pitrou
priority: normal
severity: normal
status: open
title: Wrong destructor function type in Python/getargs.c
versions: Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10732>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to