2008-07-21 | Paul Boddie | file changeset files shortlog | Made module and class attribute storage forbidden via attribute access on objects, since this is not generally detectable at compile-time. (There would be a run-time test on other store instructions in order to protect guarantees about class and module attributes.) Added name-related instruction attributes to the Translation class. |
paul@85 | 1 | #!/usr/bin/env python |
paul@85 | 2 | |
paul@85 | 3 | identity = lambda x: x |
paul@85 | 4 | lambda a, b=2: a + b |
paul@85 | 5 | |
paul@85 | 6 | # vim: tabstop=4 expandtab shiftwidth=4 |