David W. Lambert <[EMAIL PROTECTED]> added the comment:

Mutable function arguments and class variables are python's mechanisms
to provide data persistence at these scope levels.  Quite opposite of
design flaw, they are necessary!  Write a decorator to change the
behavior   where you'd like an empty mutable defaults if you're not
happy with other methods already described.

----------
nosy: +LambertDW

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4619>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to