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 r.david.murray
Recipients bolt, r.david.murray
Date 2010-05-19.02:05:19
SpamBayes Score 0.16846196
Marked as misclassified No
Message-id <1274234723.21.0.333995146303.issue8762@psf.upfronthosting.co.za>
In-reply-to
Content
This is not a bug, it's how Python works.  Default values are computed at function definition time, so there's only one list across all the function invocations.
History
Date User Action Args
2010-05-19 02:05:23r.david.murraysetrecipients: + r.david.murray, bolt
2010-05-19 02:05:23r.david.murraysetmessageid: <1274234723.21.0.333995146303.issue8762@psf.upfronthosting.co.za>
2010-05-19 02:05:19r.david.murraylinkissue8762 messages
2010-05-19 02:05:19r.david.murraycreate