R. David Murray <rdmur...@bitdance.com> added the comment:

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.

rdmur...@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.

----------
components: +Interpreter Core
nosy: +r.david.murray
priority:  -> low
resolution:  -> works for me
stage:  -> committed/rejected
status: open -> closed
type: compile error -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6495>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to