[Tutor] Re: signalrestart

Lee Harr missive at hotmail.com
Tue Nov 4 20:56:29 EST 2003


>I encountered a piece of code which is given below
>signal.signalrestart(signal.SIGUSR1, UsrHandler)
>
>where UsrHandler is a function
>
>I searched the library references but I couldnot find the Signalrestart
>function.
>

What do the other references to signal look like in this program?
Is it...

import signal

or

from some_package import signal

or

import signal
def foobar(baz):
    pass
signal.signalrestart = foobar


I do not see signalrestart in the python signal module in 2.1 2.2 or 2.3,
so it's either an older release, or they are pulling that function from
somewhere else.

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail




More information about the Tutor mailing list