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 Kay.Hayen
Recipients Kay.Hayen
Date 2013-01-14.19:37:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Suprisingly, keyword only arguments become evaluated first:

>>> def f(a=undefined1,*,b=undefined2):pass
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'undefined2' is not defined

It should be "undefined1".

I am sure, this is going to surprise developers and breaks assumptions, people tend to make. So far (to my knowledge) nothing that was separated by a "," could be evaluated in a mixed order.

Please consider to change this around.
Date User Action Args
2013-01-14 19:37:14Kay.Hayensetrecipients: + Kay.Hayen
2013-01-14 19:37:14Kay.Hayensetmessageid: <>
2013-01-14 19:37:14Kay.Hayenlinkissue16967 messages
2013-01-14 19:37:13Kay.Hayencreate