John Nagle <[EMAIL PROTECTED]> writes:
>     True.  It would make sense to disallow mutable values as
> initial values for optional arguments.  The present behavior is silly.

That would be the worst of both worlds.  The main alternative to the
present behavior is re-computing the default value every time the
function is entered.  
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to