[New-bugs-announce] [issue30180] PyArg_ParseTupleAndKeywords supports required keyword only arguments

Joe Jevnik report at bugs.python.org
Wed Apr 26 20:51:02 EDT 2017


New submission from Joe Jevnik:

I opened a pr to remove a line in the docs about $ needing to follow | in PyArg_ParseTupleAndKeywords. In practice, you can just use a $ to create required keyword arguments which intuitively makes sense. I was told this should raise a SystemError; however, you can create required keyword only arguments in Python so I am not sure why we would want to fail when this is done with PyArg_ParseTupleAndKeywords.

----------
messages: 292385
nosy: llllllllll, serhiy.storchaka
priority: normal
pull_requests: 1417
severity: normal
status: open
title: PyArg_ParseTupleAndKeywords supports required keyword only arguments

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


More information about the New-bugs-announce mailing list