Staging
v0.8.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

README

back to top