Quentin Gallet-Gilles added the comment: That's the expected behavior, actually. The variables 'arr' and 's' are static variables in the class Blah. This is discussed in several places in the doc and the FAQ, e.g. http://www.python.org/doc/faq/programming/#how-do-i-create-static-class-data-and-static-class-methods
What you're looking for is : class Blah: def __init__(self, s): self.arr= [] self.s = s ... ---------- nosy: +quentin.gallet-gilles __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1437> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com