24 Jun
2004
24 Jun
'04
6:15 p.m.
On Mon, 2004-06-21 at 01:22, "Martin v. Löwis" wrote:
"If no exception is active in the current scope, an exception is raised indicating this error."
"This" error probably being "no active exception", not "exception must not be NoneType".
We can determine statically whether an exception would active in the current scope, right? If the raise does not occur within an except handler, then there is no active exception in the current scope. I think it should be a SyntaxError. Jeremy