History log of /external/python/cpython2/Demo/parser/test_unparse.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
20379135076182fc185fee15f918df6d44924d4c 30-Jun-2010 Mark Dickinson <dickinsm@gmail.com> Update Demo/parser directory; backport unparse fixes from py3k.
/external/python/cpython2/Demo/parser/test_unparse.py
0187be082562471206fc0e7ee7231ecad591ab19 28-Jun-2010 Mark Dickinson <dickinsm@gmail.com> unparse.py: fix mispaced parentheses in chained comparisons
/external/python/cpython2/Demo/parser/test_unparse.py
b83a1ff76b3563e6c86d449ddcddf4f5a70e8a51 28-Jun-2010 Mark Dickinson <dickinsm@gmail.com> Fix typo in test_unparse.py.
/external/python/cpython2/Demo/parser/test_unparse.py
623b979553ae03ba5b2d5f60a668fbe288b2112d 28-Jun-2010 Mark Dickinson <dickinsm@gmail.com> Fix some shallow bugs in Demo/parser/unparse.py, and add tests:

- 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.
/external/python/cpython2/Demo/parser/test_unparse.py