R. David Murray added the comment:
This is the way python works. For help on using python please post to
python-list or python-tutor.
--
nosy: +r.david.murray
priority: -> low
resolution: -> invalid
stage: -> committed/rejected
status: open -> closed
___
New submission from Vlad :
If a class member is declared outside of a function, it's creation is
_not_ repeated with every new instance of the class. Instead, the same
member is created during the first instance and then shared by all the
subsequent instances of that class. This is wrong, because