[issue19538] Changed function prototypes in the PEP 384 stable ABI
Serhiy Storchaka
report at bugs.python.org
Sun Nov 10 18:22:10 CET 2013
Serhiy Storchaka added the comment:
I think this change doesn't break ABI and doesn't break applications which use PyObject_CallFunction() in usual way. The only problem with your application is compiler warning.
To silence a warning you can do:
#if PY_VERSION_HEX >= 0x03040000
# define CONST34 const
#else
# define CONST34
#endif
PyObject *PyObject_CallFunction(PyObject *callable, CONST34 char *format, ...)
{
/* implement by forwarding to functions in the dynloaded dll */
}
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19538>
_______________________________________
More information about the Python-bugs-list
mailing list