[New-bugs-announce] [issue11587] METH_KEYWORDS alone gives "METH_OLDARGS is no longer supported!"
report at bugs.python.org
Thu Mar 17 15:17:30 CET 2011
New submission from Clive Darke <clive.darke at qa.com>:
In the PyMethodDef struct, METH_VARARGS | METH_KEYWORDS works fine.
METH_KEYWORDS on its own gives:
"SystemError: Bad call flags in PyCFunction_Call. METH_OLDARGS is no longer supported!"
METH_KEYWORDS on its own tested OK on 2.6 and 2.7, fails as described on 3.1.2 and 3.2.
components: Extension Modules
title: METH_KEYWORDS alone gives "METH_OLDARGS is no longer supported!"
type: compile error
versions: Python 3.1, Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce