2007-02-23 | paulb | file changeset files shortlog | Fixed lambda annotations. Fixed list comprehensions without if clauses. Added assert support and the AssertionError built-in type. Made the simplification process raise SimplifiedError instances when unsupported nodes are encountered. |
paulb@186 | 1 | def f(): |
paulb@186 | 2 | a = 1 + 1.1 - 1 |
paulb@186 | 3 | b = a + 2 / 2 |
paulb@186 | 4 | c = -a |
paulb@186 | 5 | d = +b |
paulb@186 | 6 | e = a // b |
paulb@186 | 7 | |
paulb@186 | 8 | f() |