Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update Demo/parser directory; backport unparse fixes from py3k. | Mark Dickinson | 2010-06-30 | 1 | -12/+160 |
| | |||||
* | unparse.py: fix mispaced parentheses in chained comparisons | Mark Dickinson | 2010-06-28 | 1 | -0/+4 |
| | |||||
* | Fix typo in test_unparse.py. | Mark Dickinson | 2010-06-28 | 1 | -1/+1 |
| | |||||
* | Fix some shallow bugs in Demo/parser/unparse.py, and add tests: | Mark Dickinson | 2010-06-28 | 1 | -0/+61 |
- insert commas between entries in del statement - left and right shifts were represented as >> and << (respectively); reverse - unindent properly after for: else: or while: else: - add parens around the result of an unary operation - add parens around negative numbers, to avoid turning (-1)**2 into -1**2. |