diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-06-17 12:33:22 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-06-17 12:33:22 (GMT) |
commit | d35a32e12eb7e3cf863cff80218e10c9bf3f351f (patch) | |
tree | cd4fd1e5290e5e24c488533464aee681c2d42083 /Misc | |
parent | a1b3740d042206efada2b8e1d97349c4d95e34e1 (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |