[Python-checkins] python/dist/src/Misc NEWS,1.1140,1.1141

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Wed Sep 22 20:44:53 CEST 2004


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4038/Misc

Modified Files:
	NEWS 
Log Message:
SF patch #1031667:  Fold tuples of constants into a single constant

Example:
>>> import dis
>>> dis.dis(compile('1,2,3', '', 'eval'))
  0           0 LOAD_CONST               3 ((1, 2, 3))
              3 RETURN_VALUE 



Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1140
retrieving revision 1.1141
diff -u -d -r1.1140 -r1.1141
--- NEWS	22 Sep 2004 18:03:47 -0000	1.1140
+++ NEWS	22 Sep 2004 18:44:09 -0000	1.1141
@@ -12,6 +12,9 @@
 Core and builtins
 -----------------
 
+- The bytecode optimizer now folds tuples of constants into a single
+  constant.
+
 - PyLong_AsUnsignedLong[Mask] now support int objects as well.
 
 Extension modules



More information about the Python-checkins mailing list