pointer

Oleg Broytmann phd at phd.pp.ru
Tue Apr 9 14:29:52 EDT 2002


On Tue, Apr 09, 2002 at 11:02:51PM +0700, Andrey Panchenko wrote:
> I think it's rather an ambiguous statement. I can think that after
> 
> a = 1
> b = a
> a = 3
> 
> b must hold 3.

   Why? You've rebinded a, but b still points to Integer(1).

> Andrey mailto:andrey at app.omsk.su

   Already subscribed to Russian-speaking Python and Zope User Group?

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list