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 r.david.murray
Recipients r.david.murray, tq0fqeu
Date 2009-07-16.10:00:07
SpamBayes Score 2.7066557e-07
Marked as misclassified No
Message-id <1247738410.4.0.717647116837.issue6495@psf.upfronthosting.co.za>
In-reply-to
Content
You examples both work for me.  Please go to python-list or python-tutor
for help debugging your code.  In particular you need to learn more
about __del__ and why you probably don't want to be using it.

rdmurray@maestro:~/python/trunk>./python  
Python 2.7a0 (trunk:74008, Jul 14 2009, 20:56:15) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from objvar import Person
>>> rosss = Person('ross')
(Initializing ross)
>>> rosss.sayHi()
Hi, my name is ross.
>>> rosss.howMany()
I am the only person here.
>>> ross = Person('ross')
(Initializing ross)
>>> ross.sayHi()
Hi, my name is ross.
>>> ross.howMany()
We have 2 persons here.
History
Date User Action Args
2009-07-16 10:00:10r.david.murraysetrecipients: + r.david.murray, tq0fqeu
2009-07-16 10:00:10r.david.murraysetmessageid: <1247738410.4.0.717647116837.issue6495@psf.upfronthosting.co.za>
2009-07-16 10:00:08r.david.murraylinkissue6495 messages
2009-07-16 10:00:07r.david.murraycreate