commit | c76770c68c40021322c221dd6bcd62bf98356a33 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Fri Apr 13 16:51:46 2001 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Fri Apr 13 16:51:46 2001 +0000 |
tree | 4aff013ffa1bac9bb368701fb77a80e08f53b8f3 | |
parent | 62effc112793e7176acf9a9e7a852b104e2e1606 [diff] |
Change error message raised when free variable is not yet bound. It 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.