Author msullivan
Recipients larry, msullivan, serhiy.storchaka
Date 2019-02-02.03:54:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:26msullivansetrecipients: + msullivan, larry, serhiy.storchaka
2019-02-02 03:54:24msullivansetmessageid: <>
2019-02-02 03:54:24msullivanlinkissue34235 messages
2019-02-02 03:54:24msullivancreate