This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author LambertDW
Recipients LambertDW, Pasha2009, christian.heimes, georg.brandl, gregweb, rhr
Date 2008-12-10.15:14:37
SpamBayes Score 4.504389e-05
Marked as misclassified No
Message-id <1228922084.06.0.449657229967.issue4619@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-12-10 15:14:44LambertDWsetrecipients: + LambertDW, georg.brandl, christian.heimes, gregweb, Pasha2009, rhr
2008-12-10 15:14:44LambertDWsetmessageid: <1228922084.06.0.449657229967.issue4619@psf.upfronthosting.co.za>
2008-12-10 15:14:37LambertDWlinkissue4619 messages
2008-12-10 15:14:37LambertDWcreate