From: <no...@so...> - 2001-01-18 15:27:53
|
Bug #129252, was updated on 2001-Jan-18 07:27 Here is a current snapshot of the bug. Project: Jython Category: Jythonc compiler Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: bme Assigned to : nobody Summary: try/except/else statements improperly compiled Details: #!/usr/bin/python if __name__ == "__main__": try: raise "me" except: print "In except..." else: print "In else..." The above should execute the except block only, and does when run by jython: [core 737] /opt/jython-2.0/jython test.py In except... However, when byte-compiled using jythonc and run by Java, both the except and the else block are executed: [core 742] java -classpath ./test.jar:/opt/jython-2.0/jython.jar test In except... In else... For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=129252&group_id=12867 |