Jasper wrote:

Uggg!  /That's/ an intuitive side-effect/wart.  :-/

it's done that way on purpose, of course, because evaluating a full closure for each default argument at every call would greatly hurt performance (and lead to another set of surprises, of course).

please don't label things that you don't understand and haven't spent any time reflecting over as bugs or warts; that's disrespectful to the designers and probably not good for your blood pressure.

</F>

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to