]> granicus.if.org Git - python/commit
Merged revisions 82338,82340-82341 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Mon, 28 Jun 2010 19:44:20 +0000 (19:44 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Mon, 28 Jun 2010 19:44:20 +0000 (19:44 +0000)
commitae1000533ac2414975f666978e8fad5426d61095
treea8f0ad16547ba97ea9bd2a14469f2e67fb6e4c39
parente893af5ab78d2cfb6403ffa6ae31145010b88101
Merged revisions 82338,82340-82341 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82338 | mark.dickinson | 2010-06-28 20:31:41 +0100 (Mon, 28 Jun 2010) | 9 lines

  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.
........
  r82340 | mark.dickinson | 2010-06-28 20:34:15 +0100 (Mon, 28 Jun 2010) | 1 line

  Fix typo in test_unparse.py.
........
  r82341 | mark.dickinson | 2010-06-28 20:38:19 +0100 (Mon, 28 Jun 2010) | 1 line

  Set svn:eol-style on test_unparse.py.
........
Demo/parser/test_unparse.py [new file with mode: 0644]
Demo/parser/unparse.py