#2 try/except/else statements not properly compiled

open
nobody
None
5
2000-11-01
2000-11-01
No

#!/usr/bin/python

if __name__ == "__main__":
try:
raise "me"
except:
print "In except..."
else:
print "In else..."

If I use python/jpython to run the above script, the result is:
In except...

If I compile it using jpythonc, and execute using Java directly, I get:
In except...
In else...

I am using the latest errata (JPython 1.1+09).

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks