Lichen

tests/function_names.py

360:209dc7a270fd
2016-12-09 Paul Boddie Added support for dynamic attribute access using getattr and hasattr, employing a special attribute on strings to hold the object table code and position for any attribute having the same name as the represented string.
     1 def f():     2     return 123     3      4 def g():     5     return 456     6      7 def h():     8     return f()     9     10 print h()                           # 123    11     12 f = g    13     14 print h()                           # 456