Lichen

tests/listcomp.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(l, y):     2     return [x for x in l if x > y]     3      4 result = f([1, 2, 3], 2)