Dumb newbie back in shell
Bruno Desthuilliers
bruno.42.desthuilliers at wtf.websiteburo.oops.com
Tue Dec 11 09:51:31 EST 2007
Chris Mellon a écrit :
(snip)
> What's probably happening is that line_ptr < last_line is not true
Indeed.
> and the body of the function isn't executed at all. The unbound local
> exception is a runtime error that occurs when the local is accessed,
> not when the function is compiled.
Now since the compiler already detected the name as local, why wait
execution to signal this error ?
More information about the Python-list
mailing list