Clive Darke added the comment:
Same error on 3.2 with Windows MSC v.1500 and Linux gcc version 4.1.2
--
___
Python tracker
<http://bugs.python.org/issue11
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
Clive Darke added the comment:
1.8. Keyword Parameters for Extension Functions
"Here is an example module which uses keywords, based on an example by Geoff
Philbrick (philbr...@hks.com):"
The example which follows will not compile o
New submission from Clive Darke :
Python 3.2 version attached
--
assignee: docs@python
components: Documentation
files: parrot.c
messages: 131246
nosy: cdarke, docs@python
priority: normal
severity: normal
status: open
title: Documentation 1.8 shows Python 2 example
versions: Python 3.1