On Jan 20, 3:39 pm, Bart Ogryczak <[EMAIL PROTECTED] to.invalid> wrote: > On 2008-01-18, citizen Zbigniew Braniecki testified: > > > It's really a nice pitfall, I can hardly imagine anyone expecting this, > > AFAIR, it's described in Diving Into Python.
Still there seems to be about one message a week about this. Indeed I reckon the greatest benefit of early binding of default function arguments is that it attracts lots of new people to comp.lang.python. > It's quiet elegant way of creating cache. IMHO, calling it 'elegant' is pushing it too far! -- Arnaud -- http://mail.python.org/mailman/listinfo/python-list