[issue11587] METH_KEYWORDS alone gives "METH_OLDARGS is no longer supported!"

2015-04-22 Thread Berker Peksag
Berker Peksag added the comment: issue 15657 is actually a duplicate of this issue, but since there's more information there I'm closing this. Please take a look the patch at issue 15657. Thank you all! -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open

[issue11587] METH_KEYWORDS alone gives "METH_OLDARGS is no longer supported!"

2015-04-19 Thread Antti Haapala
Antti Haapala added the comment: This is *still* there in Hg tip: PyCFunction_Call in Objects/methodobject.c does not have a case for `METH_KEYWORDS` only at all. The documentation for METH_KEYWORDS says that it is *typically* coupled with METH_VARARGS; however not having the case means that M

[issue11587] METH_KEYWORDS alone gives "METH_OLDARGS is no longer supported!"

2013-05-08 Thread Jesse Ogle
Jesse Ogle added the comment: Same error with Python 3.3.1 Objects/methodobject.c: PyCFunction_Call() Switch contains case for "METH_VARARGS | METH_KEYWORDS" but not "METH_KEYWORDS". I assume this is on purpose? -- nosy: +jogle versions: +Python 3.3 __

[issue11587] METH_KEYWORDS alone gives "METH_OLDARGS is no longer supported!"

2011-03-17 Thread Clive Darke
Clive Darke added the comment: Same error on 3.2 with Windows MSC v.1500 and Linux gcc version 4.1.2 -- ___ Python tracker ___ ___ Py

[issue11587] METH_KEYWORDS alone gives "METH_OLDARGS is no longer supported!"

2011-03-17 Thread Ray.Allen
Ray.Allen added the comment: Looks like just the problem of error msg. -- nosy: +ysj.ray ___ Python tracker ___ ___ Python-bugs-list

[issue11587] METH_KEYWORDS alone gives "METH_OLDARGS is no longer supported!"

2011-03-17 Thread Clive Darke
New submission from Clive Darke : 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