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 ?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to