rajat1994 / google-app-engine-samples

Automatically exported from code.google.com/p/google-app-engine-samples
0 stars 0 forks source link

shell does not store change of state of objects #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Visit http://shell.appspot.com/
and type:

>>> a=[1,2,3]
>>> a.append(4)
>>> print a
[1, 2, 3]

What is the expected output? What do you see instead?
I expected [1, 2, 3, 4] but got [1, 2, 3]

Original issue reported on code.google.com by massimod...@gmail.com on 5 Jan 2011 at 7:34