This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients gregory.p.smith, larry, pitrou
Date 2012-03-15.21:49:18
SpamBayes Score 0.00018457086
Marked as misclassified No
Message-id <1331848158.95.0.138934192848.issue14328@psf.upfronthosting.co.za>
In-reply-to
Content
This has been split off from #14127 at Antoine's request.

The attached patch adds support for keyword-only arguments to the PyArg_ParseTupleAndKeywords() family of functions.  Includes doc and test.

I used '$' to indicate "all parameters after this are keyword-only"; since they must also be optional it must follow a '|'.  (I would have used '*' but we already use that for 'U*' 's* etc.)

The patch already received one review from Greg P. Smith on the previous issue; the patch I'm attaching here is the second revision incorporating his suggestions.
History
Date User Action Args
2012-03-15 21:49:19larrysetrecipients: + larry, gregory.p.smith, pitrou
2012-03-15 21:49:18larrysetmessageid: <1331848158.95.0.138934192848.issue14328@psf.upfronthosting.co.za>
2012-03-15 21:49:18larrylinkissue14328 messages
2012-03-15 21:49:18larrycreate