Raymond Hettinger <raymond.hettin...@gmail.com> added the comment: Sorry, that is correct behavior for class variables.
To get your intended effect (independent lists) do the list instantiation inside the __init__ method. ---------- nosy: +rhettinger resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12233> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com