python variable assignement
mihai
Mihai.Grecu at gmail.com
Mon Sep 24 06:13:42 EDT 2007
I work at an application witch has embeded python.
We have an python type X.
# a != b
a = b # at this point both variables have the same value
b = select_other()
# steel the same values but both have the new value of b
What might be the cause for this behavior? The type of a and b
variable is the same,
and is defined using PyTypeObject structure.
I hope I was explicit.
Thank you in advance,
Mihai.
More information about the Python-list
mailing list