2016-11-25 | Paul Boddie | file changeset files shortlog | Propagate accessor kinds for accesses so that only functions and bound methods are directly referenced in invocation operations, with unknown accessors causing a dynamic attribute lookup and yielding an unbound method if the accessor proves to be a class. |
paul@2 | 1 | def f(l, y): |
paul@2 | 2 | return [x for x in l if x > y] |
paul@2 | 3 | |
paul@2 | 4 | result = f([1, 2, 3], 2) |