2008-02-17 | Paul Boddie | file changeset files shortlog | Moved deliberately failing tests to a special directory. Added support for generating attribute access instructions. Added further tests of class and instance attributes. Added optimisation of collective predictable attribute accesses. |
paul@43 | 1 | #!/usr/bin/env python |
paul@43 | 2 | |
paul@43 | 3 | class C: |
paul@43 | 4 | clsattr = 123 |
paul@43 | 5 | |
paul@43 | 6 | def __init__(self, value): |
paul@43 | 7 | self.instattr = value |
paul@43 | 8 | |
paul@43 | 9 | # vim: tabstop=4 expandtab shiftwidth=4 |