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 serhiy.storchaka
Recipients cool-RR, larry, ncoghlan, python-dev, serhiy.storchaka, terry.reedy, yselivanov
Date 2015-05-15.06:43:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431672184.67.0.40711374524.issue22547@psf.upfronthosting.co.za>
In-reply-to
Content
May be omit names for positionalarguments?

>>> def foo(a, *args, b=10, **kwargs): pass
... 
>>> inspect.signature(foo).bind(1, 2, 3, b=4, c=5)
<BoundArguments at 0xb6eee9ec (a=1, args=(2, 3), b=4, kwargs={'c': 5})>

I think it would look better as:

<BoundArguments (1, 2, 3, b=4, c=5)>
History
Date User Action Args
2015-05-15 06:43:04serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, ncoghlan, larry, cool-RR, python-dev, yselivanov
2015-05-15 06:43:04serhiy.storchakasetmessageid: <1431672184.67.0.40711374524.issue22547@psf.upfronthosting.co.za>
2015-05-15 06:43:04serhiy.storchakalinkissue22547 messages
2015-05-15 06:43:04serhiy.storchakacreate