[Python-checkins] CVS: python/dist/src/Misc NEWS,1.117,1.118

Jeremy Hylton jhylton@users.sourceforge.net
Fri, 02 Feb 2001 12:06:30 -0800


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv14230

Modified Files:
	NEWS 
Log Message:
Fix spelling errors.
Add note about _symtable.
Add note that 'from ... import *' restriction may go away -- and move
the whole entry closer to the top, because it might bite people.  


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.117
retrieving revision 1.118
diff -C2 -r1.117 -r1.118
*** NEWS	2001/02/02 05:57:14	1.117
--- NEWS	2001/02/02 20:06:28	1.118
***************
*** 12,16 ****
    In all previous version of Python, names were resolved in exactly
    three namespaces -- the local namespace, the global namespace, and
!   the builtin namespace.  According to this old defintion, if a
    function A is defined within a function B, the names bound in B are
    not visible in A.  The new rules make names bound in B visible in A,
--- 12,16 ----
    In all previous version of Python, names were resolved in exactly
    three namespaces -- the local namespace, the global namespace, and
!   the builtin namespace.  According to this old definition, if a
    function A is defined within a function B, the names bound in B are
    not visible in A.  The new rules make names bound in B visible in A,
***************
*** 37,40 ****
--- 37,47 ----
    called.
  
+ - The compiler will report a SyntaxError if "from ... import *" occurs
+   in a function or class scope.  The language reference has documented
+   that this case is illegal, but the compiler never checked for it.
+   The recent introduction of nested scope makes the meaning of this
+   form of name binding ambiguous.  In a future release, the compiler
+   may allow this form when there is no possibility of ambiguity.
+ 
  - repr(string) is easier to read, now using hex escapes instead of octal,
    and using \t, \n and \r instead of \011, \012 and \015 (respectively):
***************
*** 47,56 ****
    the func_code attribute is writable.
  
- - The compiler will report a SyntaxError if "from ... import *" occurs
-   in a function or class scope.  The language reference has documented
-   that this case is illegal, but the compiler never checked for it.
-   The recent introduction of nested scope makes the meaning of this
-   form of name binding ambiguous.
- 
  - Weak references (PEP 205) have been added.  This involves a few
    changes in the core, an extension module (_weakref), and a Python
--- 54,57 ----
***************
*** 97,100 ****
--- 98,105 ----
  - test_capi.py is a start at running tests of the Python C API.  The tests
    are implemented by the new Modules/_testmodule.c.
+ 
+ - A new extension module, _symtable, provides provisional access to the
+   internal symbol table used by the Python compiler.  A higher-level
+   interface will be added on top of _symtable in a future release.
  
  Windows changes