2006-11-28 | paulb | file changeset files shortlog | Introduced ReturnFromFunction and ReturnFromBlock nodes, replacing usage of Return nodes and improving the handling of locals snapshots and return values. Added pop-up elements for certain keywords in the viewer. Expanded operation node support. Tidied the construction of various node representations. Reordered various methods for potentially easier navigation. Expanded tests, adding for2.py: a test of return values within blocks. |
paulb@29 | 1 | class A: pass |
paulb@14 | 2 | a = A() |
paulb@58 | 3 | a.x = 1, 2, 3 |
paulb@37 | 4 | c = b = a.x |
paulb@37 | 5 | [x, y, z] = c |
paulb@37 | 6 | x, y, z = c |