views:

67

answers:

1

I can't find any reference to the 'signal' class being left out in Jython. Using Jython 2.1.

Thanks

+2  A: 

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.

Jack Lloyd
ahhhhhhh noooooooooooooooooooooooooooooo
Leonidas
is there a workaround that you know of?
Leonidas
What are you trying to achieve?
Filip Korling
I'm trying implement an execution time-limit on a script, incase infinite loops are encountered or such.
Leonidas
@Leonidas: Search for that exact issue as a separate question. It's been asked at least a half-dozen times on SO.
S.Lott
Leonidas