[issue14328] Add keyword-only parameter support to PyArg_ParseTupleAndKeywords

Larry Hastings report at bugs.python.org
Sat Mar 17 08:59:47 CET 2012


Larry Hastings <larry at hastings.org> added the comment:

> Shouldn't using vgetargs1 with '$' in the format string just be
> an error? vgetargs1 doesn't know anything about keyword arguments.

Thank you for catching that!  Serves me right for search-and-destroy style development--I'm not that familiar with getargs.c.

Fixed, which is to say I removed that gunk, in attached patch #4 against current trunk.

----------
Added file: http://bugs.python.org/file24901/larry.parsekwonly.diff.4.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14328>
_______________________________________


More information about the Python-bugs-list mailing list