summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-06-17 12:33:22 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-06-17 12:33:22 (GMT)
commitd35a32e12eb7e3cf863cff80218e10c9bf3f351f (patch)
treecd4fd1e5290e5e24c488533464aee681c2d42083 /Misc
parenta1b3740d042206efada2b8e1d97349c4d95e34e1 (diff)
downloadcpython-d35a32e12eb7e3cf863cff80218e10c9bf3f351f.zip
cpython-d35a32e12eb7e3cf863cff80218e10c9bf3f351f.tar.gz
cpython-d35a32e12eb7e3cf863cff80218e10c9bf3f351f.tar.bz2
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.)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0de8581..9c5ea77 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,11 @@ What's New in Python 3.2 Alpha 1?
Core and Builtins
-----------------
+- Issue #9011: Remove buggy and unnecessary (in 3.x) 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.
+
- Issue #850997: mbcs encoding (Windows only) handles errors argument: strict
mode raises unicode errors. The encoder only supports "strict" and "replace"
error handlers, the decoder only supports "strict" and "ignore" error