Bizarre method keyword-arg bug.
Fredrik Lundh
fredrik at pythonware.com
Mon Aug 18 05:40:45 EDT 2008
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>
More information about the Python-list
mailing list