This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients amaury.forgeotdarc, belopolsky, dgreiman, eli.bendersky, ext-, gustavo, pitrou, serhiy.storchaka
Date 2013-05-14.11:57:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368532631.42.0.810625836433.issue1772673@psf.upfronthosting.co.za>
In-reply-to
Content
In C++ we may overload functions for backward compatibility:

PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
                        const char *, const char * const *, ...);
PyAPI_FUNC(int) PyArg_VaParseTupleAndKeywords(PyObject *, PyObject *,
                        const char *, const char * const *, va_list va);
...
#ifdef __cplusplus
inline int
PyArg_ParseTupleAndKeywords(PyObject *args, PyObject *keywords,
                        const char *format, char * const *kwlist, ...)
{
    int retval;
    va_list va;
    va_start(va, kwlist);
    retval = PyArg_ParseTupleAndKeywords(args, keywords, format,
                        (const char * const *)kwlist, va_start);
    va_end(va);
    return retval;
}
#endif
History
Date User Action Args
2013-05-14 11:57:11serhiy.storchakasetrecipients: + serhiy.storchaka, amaury.forgeotdarc, belopolsky, gustavo, pitrou, dgreiman, ext-, eli.bendersky
2013-05-14 11:57:11serhiy.storchakasetmessageid: <1368532631.42.0.810625836433.issue1772673@psf.upfronthosting.co.za>
2013-05-14 11:57:11serhiy.storchakalinkissue1772673 messages
2013-05-14 11:57:11serhiy.storchakacreate