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 GhislainHivon
Recipients GhislainHivon, benjamin.peterson
Date 2010-03-21.21:56:16
SpamBayes Score 0.016083512
Marked as misclassified No
Message-id <1269208577.92.0.954250169394.issue8177@psf.upfronthosting.co.za>
In-reply-to
Content
The reverse, f(*(1, 2, 3), foo=4), is consistent with 
f(1,2,3, foo=4)
who also gave 
TypeError: f() got multiple values for keyword argument 'foo'

Which is consistent with the tutorial
http://docs.python.org/tutorial/controlflow.html#keyword-arguments

def parrot(voltage, state='a stiff', action='voom', type='Norwegian Blue'):
...
but the following calls would all be invalid:
parrot(voltage=5.0, 'dead')  # non-keyword argument following keyword
parrot(110, voltage=220)     # duplicate value for argument
History
Date User Action Args
2010-03-21 21:56:18GhislainHivonsetrecipients: + GhislainHivon, benjamin.peterson
2010-03-21 21:56:17GhislainHivonsetmessageid: <1269208577.92.0.954250169394.issue8177@psf.upfronthosting.co.za>
2010-03-21 21:56:16GhislainHivonlinkissue8177 messages
2010-03-21 21:56:16GhislainHivoncreate