def _handle_signal(self, signum=None, frame=None):
        signame = self.signals[signum]
        self.bus.log("Caught signal %s." % signame)
        self.bus.publish(signame)
Python signal handler (self.set_handler subscribes it for you).
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/cherrypy/cherrypy/process/plugins.py/SignalHandler._handle_signal