]> granicus.if.org Git - python/commit
Merged revisions 82043 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Thu, 17 Jun 2010 12:37:17 +0000 (12:37 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Thu, 17 Jun 2010 12:37:17 +0000 (12:37 +0000)
commita58eed9cca47c6548a231600e3e3379a273b0908
tree4bd90d072608056ff57f312b0f17deab3f6189b9
parent19d8cc524bb4f6c41b2602c025ce90fe85e1e991
Merged revisions 82043 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82043 | mark.dickinson | 2010-06-17 13:33:22 +0100 (Thu, 17 Jun 2010) | 6 lines

  Issue #9011: Remove buggy and unnecessary ST->AST compilation code
  dealing with unary minus applied to a constant.  The removed code was
  mutating the ST, causing a second compilation to fail.  (The peephole
  optimizer already takes care of optimizing this case, so there's no
  lost optimization opportunity here.)
........
Lib/test/test_parser.py
Misc/NEWS
Python/ast.c