Tuple assignment and generators?

Diez B. Roggisch deets at nospam.web.de
Fri May 5 12:36:14 CEST 2006


vdrab wrote:

> That, I knew. What I did not know, nor get from this explanation, is
> that this behaviour "may" differ
> not only within the same implementation, but with instances of the same
> class or type (in this case, 'int').

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

Diez



More information about the Python-list mailing list