|
From: Erik H. <er...@py...> - 2001-09-19 13:00:48
|
consider the following function:
def f():
try:
return 1
except SomeException:
return 2
except:
return 3
when i try to call this in jython, running on the jvm included in
win 2000, jython will die. problem seems to be that you cant have
a return in the try block if you have returns in all of the
following excepts.
this works fine with other jvms ive tried, so i guess this is a bug
in ms' jvm?
/erik heneryd
|