summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-03-23 14:18:27 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-03-23 14:18:27 (GMT)
commitf626db77dfa27ebf7c3aaa63e26a4b85ee8e056e (patch)
tree61dfe9b29917df3ceb52d4e73aad24826730edee /Misc
parentfde8a86a4ef27386e32f9727a09ed7f86cf48fbd (diff)
downloadcpython-f626db77dfa27ebf7c3aaa63e26a4b85ee8e056e.zip
cpython-f626db77dfa27ebf7c3aaa63e26a4b85ee8e056e.tar.gz
cpython-f626db77dfa27ebf7c3aaa63e26a4b85ee8e056e.tar.bz2
News items for my recent checkins
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS16
1 files changed, 16 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ac755a2..0fb1392 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -24,6 +24,12 @@ Core language, builtins, and interpreter
- 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
- unittest.py, a unit testing framework by Steve Purcell (PyUNIT,
@@ -67,6 +73,16 @@ Python/C API
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
- the sdist command now writes a PKG-INFO file, as described in PEP 241,