|
From: Samuele P. <ped...@bl...> - 2001-11-01 01:25:47
|
[Finn] > I disagree about calling sys.exitfunc from the JVM shutdown hooks. I > think sys.exitfunc should be called from > > - the execption handling in Py.maybeSystemExit() > - from the end of jython.java and Agreed. > - from a new method on PythonInterpreter which an application that > embed jython can call (as the reverse of initialize). Make sense, but I would not consider that a reverse of initialize but an helper for calling sys.exitfunc when deemed necessary (e.g. in presence of a SystemExit exception). Further: I think we should deal with the jythonc generated main methods or runMain perhaps too. regards. |