Message442

Author itamar
Recipients
Date 2001-10-31.14:27:22
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2008-02-20 17:16:55adminlinkissue476772 messages
2008-02-20 17:16:55admincreate