Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f626db7

Browse files
committed
News items for my recent checkins
1 parent fde8a86 commit f626db7

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Misc/NEWS

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ Core language, builtins, and interpreter
2424

2525
- sgmllib.py now calls handle_decl() for simple <!...> declarations.
2626

27+
- It is illegal to assign to the name __debug__, which is set when the
28+
interpreter starts. It is effectively a compile-time constant.
29+
30+
- A warning will be issued if a global statement for a variable
31+
follows a use or assignment of that variable.
32+
2733
Standard library
2834

2935
- unittest.py, a unit testing framework by Steve Purcell (PyUNIT,
@@ -67,6 +73,16 @@ Python/C API
6773
weakly referencable type in PyObject_INIT(), since most types are
6874
not weakly referencable.
6975

76+
- PyFrame_FastToLocals() and PyFrame_LocalsToFast() copy bindings for
77+
free variables and cell variables to and from the frame's f_locals.
78+
79+
- Variants of several functions defined in pythonrun.h have been added
80+
to support the nested_scopes future statement. The variants all end
81+
in Flags and take an extra argument, a PyCompilerFlags *; examples:
82+
PyRun_AnyFileExFlags(), PyRun_InteractiveLoopFlags(). These
83+
variants may be removed in Python 2.2, when nested scopes are
84+
mandatory.
85+
7086
Distutils
7187

7288
- the sdist command now writes a PKG-INFO file, as described in PEP 241,

0 commit comments

Comments
 (0)