[Python-checkins] CVS: python/dist/src/Misc NEWS,1.138,1.139
Jeremy Hylton
jhylton@users.sourceforge.net
2001年3月23日 06:18:29 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv31693
Modified Files:
NEWS
Log Message:
News items for my recent checkins
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.138
retrieving revision 1.139
diff -C2 -r1.138 -r1.139
*** NEWS 2001年03月22日 18:26:47 1.138
--- NEWS 2001年03月23日 14:18:27 1.139
***************
*** 25,28 ****
--- 25,34 ----
- sgmllib.py now calls handle_decl() for simple <!...> declarations.
+ - It is illegal to assign to the name __debug__, which is set when the
+ interpreter starts. It is effectively a compile-time constant.
+
+ - A warning will be issued if a global statement for a variable
+ follows a use or assignment of that variable.
+
Standard library
***************
*** 67,70 ****
--- 73,86 ----
weakly referencable type in PyObject_INIT(), since most types are
not weakly referencable.
+
+ - PyFrame_FastToLocals() and PyFrame_LocalsToFast() copy bindings for
+ free variables and cell variables to and from the frame's f_locals.
+
+ - Variants of several functions defined in pythonrun.h have been added
+ to support the nested_scopes future statement. The variants all end
+ in Flags and take an extra argument, a PyCompilerFlags *; examples:
+ PyRun_AnyFileExFlags(), PyRun_InteractiveLoopFlags(). These
+ variants may be removed in Python 2.2, when nested scopes are
+ mandatory.
Distutils