[Python-checkins] python/dist/src/Misc NEWS,1.560,1.561

niemeyer@users.sourceforge.net niemeyer@users.sourceforge.net
2002年12月16日 05:54:04 -0800


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv20669/Misc
Modified Files:
	NEWS 
Log Message:
Fixing bug
[#448679] Left to right
* Python/compile.c
 (com_dictmaker): Reordered evaluation of dictionaries to follow strict
 LTR evaluation.
* Lib/compiler/pycodegen.py
 (CodeGenerator.visitDict): Reordered evaluation of dictionaries to
 follow strict LTR evaluation.
* Doc/ref/ref5.tex
 Documented the general LTR evaluation order idea.
* Misc/NEWS
 Documented change in evaluation order of dictionaries.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.560
retrieving revision 1.561
diff -C2 -d -r1.560 -r1.561
*** NEWS	16 Dec 2002 13:11:57 -0000	1.560
--- NEWS	16 Dec 2002 13:54:01 -0000	1.561
***************
*** 332,335 ****
--- 332,339 ----
 An exception will now be raised if more than one argument is used.
 
+ - Changed evaluation order of dictionaries to conform to the general
+ left to right evaluation order rule. Now {f1(): f2()} will evaluate
+ f1 first.
+ 
 Extension modules
 -----------------

AltStyle によって変換されたページ (->オリジナル) /