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
.cvsignore -rw-r--r-- 22 bytes
acceler.c -rw-r--r-- 3.2 KB
assert.h -rw-r--r-- 405 bytes
bitset.c -rw-r--r-- 949 bytes
firstsets.c -rw-r--r-- 2.1 KB
grammar.c -rw-r--r-- 4.6 KB
grammar1.c -rw-r--r-- 1001 bytes
intrcheck.c -rw-r--r-- 2.9 KB
listnode.c -rw-r--r-- 983 bytes
metagrammar.c -rw-r--r-- 2.1 KB
myreadline.c -rw-r--r-- 2.9 KB
node.c -rw-r--r-- 1.3 KB
parser.c -rw-r--r-- 7.8 KB
parser.h -rw-r--r-- 916 bytes
parsetok.c -rw-r--r-- 3.2 KB
pgen.c -rw-r--r-- 14.2 KB
pgen.h -rw-r--r-- 253 bytes
pgenmain.c -rw-r--r-- 3.5 KB
printgrammar.c -rw-r--r-- 2.4 KB
tokenizer.c -rw-r--r-- 17.4 KB
tokenizer.h -rw-r--r-- 1.8 KB

back to top