Issue476772
Created on 2001-10-31.14:27:22 by itamar, last changed 2001-11-03.19:27:52 by bckfnn.
History | |||
---|---|---|---|
Date | User | Action | Args |
2001-10-31 14:27:22 | itamar | create |
Created on 2001-10-31.14:27:22 by itamar, last changed 2001-11-03.19:27:52 by bckfnn.
Messages | |||
---|---|---|---|
msg442 (view) | Author: Itamar Shtull-Trauring (itamar) | Date: 2001-10-31.14:27:22 | |
In cpython I can use signals to detect when python is shut down, but there is no way to do this in jython. It'd be nice to be able to do this using atexit module, but it doesn't work in jython. It should be possible to make atexit work by making jython use Java 1.3's Runtime.addShutdownHook to execute sys.exitfunc. Not sure what to do about older versions of Java, however. |
|||
msg443 (view) | Author: Finn Bock (bckfnn) | Date: 2001-11-03.17:17:49 | |
Logged In: YES user_id=4201 The atexit feature have been discussed in this thread: http://www.geocrawler.com/archives/3/7018/2001/10/0/6957019/ |
|||
msg444 (view) | Author: Finn Bock (bckfnn) | Date: 2001-11-03.19:08:17 | |
Logged In: YES user_id=4201 Added as test333.py. |
|||
msg445 (view) | Author: Finn Bock (bckfnn) | Date: 2001-11-03.19:27:52 | |
Logged In: YES user_id=4201 Fixed in core/Py.java: 2.52; core/PySystemState.java: 2.64; util/PythonInterpreter.java: 2.9; util/jython.java: 2.21; |
History | |||
---|---|---|---|
Date | User | Action | Args |
2001-10-31 14:27:22 | itamar | create |
Supported by Python Software Foundation,
Powered by Roundup