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 <rep...@bugs.python.org>
<http://bugs.python.org/issue19538>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to