question about the id()

Peter Dembinski pdemb at gazeta.pl
Mon May 16 12:30:47 EDT 2005


Skip Montanaro <skip at pobox.com> writes:

>     kyo> Can someone explain why the id() return the same value, and
>     kyo> why these values are changing?
>
> Instance methods are created on-the-fly.  

So, the interpreter creates new 'point in address space' every time
there is object-dot-method invocation in program?  

-- 
http://www.peter.dembinski.prv.pl



More information about the Python-list mailing list