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 rhettinger
Recipients austin1howard, rhettinger
Date 2011-06-01.02:20:58
SpamBayes Score 0.0064430116
Marked as misclassified No
Message-id <1306894858.96.0.0682578792485.issue12233@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry, that is correct behavior for class variables.

To get your intended effect (independent lists) do the list instantiation inside the __init__ method.
History
Date User Action Args
2011-06-01 02:20:59rhettingersetrecipients: + rhettinger, austin1howard
2011-06-01 02:20:58rhettingersetmessageid: <1306894858.96.0.0682578792485.issue12233@psf.upfronthosting.co.za>
2011-06-01 02:20:58rhettingerlinkissue12233 messages
2011-06-01 02:20:58rhettingercreate