Staging
v0.5.1
https://github.com/python/cpython
Revision c76770c68c40021322c221dd6bcd62bf98356a33 authored by Jeremy Hylton on 13 April 2001, 16:51:46 UTC, committed by Jeremy Hylton on 13 April 2001, 16:51:46 UTC
now raises NameError instead of UnboundLocalError, because the var in
question is definitely not local.  (This affects test_scope.py)

Also update the recent fix by Ping using get_func_name().  Replace
tests of get_func_name() return value with call to get_func_desc() to
match all the other uses.
1 parent 62effc1
History
Tip revision: c76770c68c40021322c221dd6bcd62bf98356a33 authored by Jeremy Hylton on 13 April 2001, 16:51:46 UTC
Change error message raised when free variable is not yet bound. It
Tip revision: c76770c
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 1.9 KB
LICENSE -rw-r--r-- 12.1 KB
Makefile.pre.in -rw-r--r-- 21.8 KB
README -rw-r--r-- 37.9 KB
acconfig.h -rw-r--r-- 6.0 KB
config.h.in -rw-r--r-- 16.5 KB
configure -rwxr-xr-x 177.3 KB
configure.in -rw-r--r-- 36.3 KB
install-sh -rwxr-xr-x 5.5 KB
setup.py -rw-r--r-- 24.5 KB

README

back to top