Why can I not import the Python module 'signal' using Jython, in Linux?
Question
I can't find any reference to the 'signal' class being left out in Jython. Using Jython 2.1.
Thanks
Solution
I would imagine Unix-style signals are difficult to do on the JVM, since the JVM has no notion of signals, and it is likely some JNI magic would be required to get this to work.
In Jython 2.5, the module exists, but seems to throw NotImplementedError
for most functions.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow