Staging
v0.5.1
https://github.com/python/cpython
Revision aca53fc9383d707d50e79618dff09d3b840e851b authored by Raymond Hettinger on 05 October 2002, 06:12:08 UTC, committed by Raymond Hettinger on 05 October 2002, 06:12:08 UTC

Try to improve the explanation of the "raise" statement and how its arguments
are interpreted.
This closes SF bug #532467.


Fix Typo.


Reword explanation of global statement since an undeclared global is a
free variable and is subject to those rules.


Note the sole case in which the ban on "from ... import *" within a
function is enforced.


Remove the following restriction:
    Names bound by import statements may not occur in global
    statements in the same scope.
Why not?



Note that it is illegal to delete a cell variable.
Note that deleteing an unbound local will raise a NameError.
1 parent 66d8b27
History
Tip revision: aca53fc9383d707d50e79618dff09d3b840e851b authored by Raymond Hettinger on 05 October 2002, 06:12:08 UTC
Backport 1.54 1.53 1.52 1.51 1.50 and 1.49:
Tip revision: aca53fc
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 109 bytes
.hgtags -rw-r--r-- 2.3 KB
LICENSE -rw-r--r-- 12.2 KB
Makefile.pre.in -rw-r--r-- 25.9 KB
PLAN.txt -rw-r--r-- 14.1 KB
README -rw-r--r-- 41.7 KB
acconfig.h -rw-r--r-- 7.5 KB
configure -rwxr-xr-x 210.1 KB
configure.in -rw-r--r-- 55.0 KB
install-sh -rwxr-xr-x 5.5 KB
pyconfig.h.in -rw-r--r-- 19.6 KB
setup.py -rw-r--r-- 34.4 KB

README

back to top