Roundup Robot added the comment:
New changeset 0b181c02df7c by Terry Jan Reedy in branch '2.7':
Closes Issue 21659: Improve Idle calltips for *args, **kwargs in 2.7, where
actual
http://hg.python.org/cpython/rev/0b181c02df7c
--
nosy: +python-dev
resolution: -> fixed
stage: commit revie
Terry J. Reedy added the comment:
Looks good on reading. When I get my repository copy repaired, I will test and
either apply or report back. In 2.7 Lib/*.py, 9 module use 'kwds' and 28 use
'kwargs', so I will accept that change.
--
assignee: -> terry.reedy
stage: patch review -> comm
Serhiy Storchaka added the comment:
Here is a patch. Now names of starred arguments never conflict with other
parameters.
--
keywords: +patch
stage: -> patch review
Added file: http://bugs.python.org/file35543/calltips_starred_names.patch
___
Python
Terry J. Reedy added the comment:
Unless you feel like struggling with the 2.7's custom calltip calculation code
for possibly little or no gain, please close this as wont' fix. See #20122,
especially msg208454 and point 3. f6f2d9d04cd0 made this change to improve the
calltip for *x and **y fro
New submission from Serhiy Storchaka:
def f(args, kwds, *args1, **kwargs): pass
Then calltip for "f(" shows invalid signature "(args, kwds, *args, **kwds)".
--
components: IDLE
messages: 219755
nosy: kbk, roger.serwy, serhiy.storchaka, terry.reedy
priority: normal
severity: normal
statu