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__",

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 tpochep
Fredrik Lundh писал(а): Thank you. -- http://mail.python.org/mailman/listinfo/python-list

python under the hood

2006-10-20 Thread tpochep
Hello. Is there any good information about python's internals and semantic? I mean "under the hood". For example, I want to understant what do these strings x = 10 y = 10 x = 20 mean (memory allocation for object? ctors? etc.) Unfortynatly, I'm too lazy to read python's source code :) (and I gue

python grammar

2007-01-22 Thread tpochep
Hello. In 'augop' non-terminal : http://docs.python.org/ref/augassign.html the delimiter '//=' was skipped. Why? In 'Boolean operations': http://docs.python.org/ref/Booleans.html In 'expression' rule - what does 'if', 'else' mean? I guess 'if' and 'else' must be keywords, not non-terminals.