1 diff -ru python3.orig/Include/modsupport.h python3/Include/modsupport.h
2 --- python3.orig/Include/modsupport.h 2015-07-05 18:50:06.000000000 +0200
3 +++ python3/Include/modsupport.h 2015-07-26 18:21:30.717680314 +0200
5 /* Due to a glitch in 3.2, the _SizeT versions weren't exported from the DLL. */
6 #if !defined(PY_SSIZE_T_CLEAN) || !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
7 PyAPI_FUNC(int) PyArg_Parse(PyObject *, const char *, ...);
8 -PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...);
9 +PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...)
10 +#ifdef PY_SSIZE_T_CLEAN
11 + Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3)
14 PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
15 const char *, char **, ...);
16 PyAPI_FUNC(int) PyArg_ValidateKeywordArguments(PyObject *);