Re: python's newbie question

2006-10-12 Thread Duncan Booth
[EMAIL PROTECTED] wrote: > I tried different names instead of b1, sometimes programm works, > sometimes I have an exception. So it's clear, that I've done some > stupid mistake, but it's not clear for me, python's newbie, where :) Not a stupid mistake, although as you come to use Python more you

Re: python's newbie question

2006-10-12 Thread tpochep
Fredrik Lundh писал(а): Thank you. -- http://mail.python.org/mailman/listinfo/python-list

Re: python's newbie question

2006-10-12 Thread tpochep
js писал(а): > http://mail.python.org/pipermail/python-list/2004-May/221591.html > > HTH Thank you!!! -- http://mail.python.org/mailman/listinfo/python-list

Re: python's newbie question

2006-10-12 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > begin... > Derived.__init__: > Base1.__init__ <__main__.Derived instance at 0x1869adcc> > Base2.__init__ <__main__.Derived instance at 0x1869adcc> > end... > Derived.__del__: > Exception exceptions.AttributeError: "'NoneType' object has no > attribute '__del__'" in Deri

Re: python's newbie question

2006-10-12 Thread js
http://mail.python.org/pipermail/python-list/2004-May/221591.html HTH -- http://mail.python.org/mailman/listinfo/python-list

python's newbie question

2006-10-12 Thread tpochep
Hi. I have some strange problem (this is usual for newbies :) ): #!/usr/bin/python #sample.py class Base1: def __init__(self): print "Base1.__init__", self def __del__(self): print "Base1.__del__", self class Base2: def __init__(self): print "Base2.__init__",