[Python-Dev] q about default args
Andrew P. Lentvorski
Thu, 22 Aug 2002 20:25:25 -0700 (PDT)
On Thu, 22 Aug 2002, Eric S. Raymond wrote:
> Stepan Koltsov <email@example.com>:
> > The question is: To be or^H^H^H^H^H^H^H^H^H Why not evaluate default
> > parameters of a function at THE function call, not at function def
> Among other things, because that choice (what old LISP hackers like me
> call `dynamic scoping') turns out to be far more difficult to model
> mentally than Python's lexical scoping.
That statement sounds like someone spent a lot of time doing research on
it. Is there a reference I could go look up?