Update of /cvsroot/jython/jython/org/python/core
In directory usw-pr-cvs1:/tmp/cvs-serv31186
Modified Files:
Py.java
Log Message:
runMain(): Don't rethrow SystemException. Just do a return.
Index: Py.java
===================================================================
RCS file: /cvsroot/jython/jython/org/python/core/Py.java,v
retrieving revision 2.59
retrieving revision 2.60
diff -C2 -d -r2.59 -r2.60
*** Py.java 2001/11/28 19:25:33 2.59
--- Py.java 2001/12/06 19:30:32 2.60
***************
*** 827,830 ****
--- 827,832 ----
} catch (PyException e) {
Py.getSystemState().callExitFunc();
+ if (Py.matchException(e, Py.SystemExit))
+ return;
throw e;
}
|