Lichen

tests/consts.py

213:0ebba845f9b0
2016-11-23 Paul Boddie Fixed anonymous accesses, preventing accidental lookup of None. Fixed the attribute access plan output, encoding anonymous accessors.
     1 def f():     2     s = "test"     3     m = s.__len__     4     n = "test".__len__     5     print m()     6     print n()     7      8 def g():     9     l = [1]    10     m = l.__len__    11     n = [1].__len__    12     print m()    13     print n()    14     15 f()    16 g()