Message334736
How about adding another sigil that indicates that subsequent keyword-only arguments are required? So then your example becomes (using ` as a totally strawman option):
PyArg_ParseTupleAndKeywords(args, kwds, "O|O$O`O", kwlist, &a, &b, &d, &c)
It's a little complicated but so is Python argument processing, so maybe that makes sense.
I can submit a PR for this. |
|
Date |
User |
Action |
Args |
2019-02-02 03:54:26 | msullivan | set | recipients:
+ msullivan, larry, serhiy.storchaka |
2019-02-02 03:54:24 | msullivan | set | messageid: <1549079664.74.0.433191137698.issue34235@roundup.psfhosted.org> |
2019-02-02 03:54:24 | msullivan | link | issue34235 messages |
2019-02-02 03:54:24 | msullivan | create | |
|