[Python-checkins] python/dist/src/Misc NEWS,1.1214,1.1215
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Sun Jan 2 07:17:36 CET 2005
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7497/Misc
Modified Files:
NEWS
Log Message:
Teach the peephole optimizer to fold simple constant expressions.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1214
retrieving revision 1.1215
diff -u -d -r1.1214 -r1.1215
--- NEWS 28 Dec 2004 20:10:40 -0000 1.1214
+++ NEWS 2 Jan 2005 06:17:32 -0000 1.1215
@@ -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
-----------------
More information about the Python-checkins
mailing list