Lichen

tests/global_names.py

227:3a4ba5788f0f
2016-11-23 Paul Boddie Fixed list and tuple initialisation via their initialisers. Introduced generic string representation support for sequences. Removed superfluous tuple native functions. Added element-setting and size-setting native functions for fragments. Added __setitem__ support for sequences. Added initialisation and serialisation tests for lists and tuples.
     1 class C:     2     x = 3     3      4 def f():     5     x = g.x     6     y = g     7     return y.x     8      9 g = C    10 result = f()    11 print result # 3