[issue20291] Argument Clinic should understand *args and **kwargs parameters

2022-03-24 Thread colorfulappl
Change by colorfulappl : -- pull_requests: +30177 pull_request: https://github.com/python/cpython/pull/32092 ___ Python tracker ___

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2021-12-30 Thread colorfulappl
Change by colorfulappl : -- nosy: +colorfulappl nosy_count: 11.0 -> 12.0 pull_requests: +28526 pull_request: https://github.com/python/cpython/pull/30286 ___ Python tracker

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2021-07-17 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: New changeset f88e138a1aa3b9a9e013963e4fd7d5cce6a0b85c by Ken Jin in branch 'main': bpo-20291: Fix MSVC warnings in getargs.c (GH-27211) https://github.com/python/cpython/commit/f88e138a1aa3b9a9e013963e4fd7d5cce6a0b85c --

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2021-07-17 Thread Ken Jin
Change by Ken Jin : -- nosy: +kj nosy_count: 10.0 -> 11.0 pull_requests: +25749 pull_request: https://github.com/python/cpython/pull/27211 ___ Python tracker ___

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2020-02-24 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch nosy: +BTaskaya nosy_count: 9.0 -> 10.0 pull_requests: +18009 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18609 ___ Python tracker

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2017-12-22 Thread Gordon P. Hemsley
Change by Gordon P. Hemsley : -- nosy: +gphemsley ___ Python tracker ___ ___

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2017-01-19 Thread STINNER Victor
STINNER Victor added the comment: Once this feature will be implemented, print() should be modified to use Argument Clinic: see the issue #29296. -- ___ Python tracker

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2017-01-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your examples Raymond, but they don't directly related to this issue, implementing support of var-positional and var-keyword parameters. I believe that it is possible to solve it, and the solution is complex, but is not extremal hard. I'm

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2017-01-17 Thread STINNER Victor
STINNER Victor added the comment: FYI I started to work on a different Argument Clinic enhancement, issue #29299: "Argument Clinic: Fix signature of optional positional-only arguments". -- nosy: +haypo ___ Python tracker

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2017-01-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: In case it is helpful, here's my list of examples where the AC and existing signature objects are insufficiently expressive: type(obj) type(name, bases, mapping) two different signatures depending on type range(stop) range(start, stop) range(start,

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2017-01-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'll try to implement the support of var-positional parameters. -- assignee: larry -> serhiy.storchaka versions: +Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2017-01-17 Thread INADA Naoki
Changes by INADA Naoki : -- nosy: +inada.naoki ___ Python tracker ___ ___

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2016-05-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think at first step we can support var-positional parameter only when there are no other positional parameters, and var-keyword parameter only when there are no other keyword parameters. So print, max and dict.update will be supported, but

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2015-02-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- components: +Argument Clinic ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20291 ___ ___

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2014-08-19 Thread Nick Coghlan
Nick Coghlan added the comment: Yes, I agree we should follow the Python level semantics, and only capture the excess positional arguments. For the record, the four builtins I flagged as needing this in order to add introspection information: __build_class__ - 2 positional only args,

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2014-08-18 Thread Larry Hastings
Larry Hastings added the comment: So, let's think about this for a minute. What's the API that we *want* here? If your function has the signature (a, b, c=20, *args) and you call it with (1, 2, 3, 4, 5) should args be (4, 5), or (1, 2, 3, 4, 5)? I assert that the impl function should

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2014-08-13 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- components: +Demos and Tools nosy: +zach.ware type: behavior - enhancement versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20291

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2014-01-17 Thread Larry Hastings
New submission from Larry Hastings: Argument Clinic currently prevents the impl function from ever seeing the args tuple or the kwargs dict. There should be a way to ask it to pass those values in to the impl function. -- assignee: larry messages: 208380 nosy: larry, meador.inge