commit | c34f8673a194180ab3b258e821f72f25514aa948 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Jan 02 06:17:33 2005 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Jan 02 06:17:33 2005 +0000 |
tree | 756647bb00c7617ee8d2bca72ff91018b66d8965 | |
parent | 64585988af7277aa831c66b971fe726207b38cd1 [diff] [blame] |
Teach the peephole optimizer to fold simple constant expressions.
diff --git a/Misc/NEWS b/Misc/NEWS index af04ecf..eb40d97 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -13,6 +13,9 @@ - min() and max() now support key= arguments with the same meaning as in list.sort(). +- The peephole optimizer now performs simple constant folding in expressions: + (2+3) --> (5). + Extension Modules -----------------