Marco wrote: > In C, a signal handler function has only one parameter, that is > signal number. But in Python(import signal), a signal handler > function has two parameters, the first is signal number, the > second is "frame"? > > What is "frame", please?
Did you bother using help()? >>> help(signal) [...] *** IMPORTANT NOTICE *** A signal handler function is called with two arguments: the first is the signal number, the second is the interrupted stack frame. Regards, Björn -- BOFH excuse #253: We've run out of licenses -- http://mail.python.org/mailman/listinfo/python-list