Re: [Python-Dev] [Python-checkins] cpython: Issue #14328: Add keyword-only parameters to PyArg_ParseTupleAndKeywords.

2012年3月20日 13:10:59 -0700

2012年3月20日 larry.hastings <[email protected]>:
> http://hg.python.org/cpython/rev/052779d34945
> changeset:  75842:052779d34945
> parent:   75839:1c0058991740
> user:    Larry Hastings <[email protected]>
> date:    Tue Mar 20 20:06:16 2012 +0000
> summary:
> Issue #14328: Add keyword-only parameters to PyArg_ParseTupleAndKeywords.
>
> They're optional-only for now (unlike in pure Python) but that's all
> I needed. The syntax can easily be relaxed if we want to support
> required keyword-only arguments for extension types in the future.
>
> files:
> Doc/c-api/arg.rst     |  9 +++
> Lib/test/test_getargs2.py | 74 ++++++++++++++++++++++++++-
> Modules/_testcapimodule.c | 20 ++++++-
> Python/getargs.c     | 34 ++++++++++++-
> 4 files changed, 134 insertions(+), 3 deletions(-)
Forgot about Misc/NEWS?
-- 
Regards,
Benjamin
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to