Re: Magic class member variable initialization with lists

2007-11-14 Thread marek . rocki
This is the expected behaviour. The reference on classes (http:// docs.python.org/ref/class.html) says: > Variables defined in the class definition are class variables; > they are shared by all instances. To define instance variables, > they must be given a value in the __init__() method or in > a

Magic class member variable initialization with lists

2007-11-14 Thread neoone
Hi, I reported a bug to the bugtracker (issue 1443), but it was rejected with the comment: "Go ask on c.l.py why this is not a bug" After decrypting c.l.py to the name of this group, I'll do as I was told so nicely, because I really think it is a misconcept, and cost me two days because I couldn'