Commits

Anonymous committed 8a440ff

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.

Comments (0)

Files changed (1)

 
   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
+  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,
   unless A contains a name binding that hides the binding in B.
   the argument named str and an error will occur when helper() is
   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):
 
 - Functions are now compared and hashed by identity, not by value, since
   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
   module (weakref).  The weakref module is the public interface.  It
 - 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
 
 - Build procedure:  the zlib project is built in a different way that
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.