[New-bugs-announce] [issue11587] METH_KEYWORDS alone gives "METH_OLDARGS is no longer supported!"
Clive Darke
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
messages: 131253
nosy: cdarke
priority: normal
severity: normal
status: open
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>
<http://bugs.python.org/issue11587>
_______________________________________
More information about the New-bugs-announce
mailing list