Tuple assignment and generators?

vdrab stijndesaeger at gmail.com
Fri May 5 06:48:56 EDT 2006


> """
> E.g., after "a = 1;
> b = 1",
>     a and b may or may not refer to the same object with the value one,
>     depending on the implementation,
> """

But when in a specific implementation this property _does_ hold for
ints having value 1, I expect the
same behaviour for ints with other values than 1.
I guess I'm kind of weird that way.




More information about the Python-list mailing list