Lichen

tests/assign_sequence.py

309:3a519b510333
2016-12-03 Paul Boddie Fixed int serialisation to string again. Also added maxint and minint accessors.
     1 def f():     2     l = [1, 2, 3]     3     x = l     4     a, b, c = l     5     d, e, f = [1, 2, 3]     6     print a, b, c           # 1, 2, 3     7     print d, e, f           # 1, 2, 3     8     print x                 # [1, 2, 3]     9     10 def g(x):    11     l = [1, 2, 3]    12     m = [4, l, 6]    13     if x:    14         n = l    15     else:    16         n = m    17     print n    18     19 f()    20 g(0)                        # [4, [1, 2, 3], 6]    21 g(1)                        # [1, 2, 3]    22     23 l = [1, 2, 3]    24 x = l    25 a, b, c = l    26 d, e, f = [1, 2, 3]    27 print a, b, c               # 1, 2, 3    28 print d, e, f               # 1, 2, 3    29 print x                     # [1, 2, 3]    30 m = [4, l, 6]    31 if x:    32     n = l    33 else:    34     n = m    35 print n                     # [1, 2, 3]