TGTGInsighttelegram intelligenceLIVE / telegram public index
← djangoproject
djangoproject avatar

TGINSIGHT POST

Post #173

@djangoproject

djangoproject

Views79Post view count
PostedSep 2209/22/2016, 06:55 PM
Post content

Post content

#signal — Set handlers for #asynchronous events This module provides mechanisms to use signal handlers in Python. The signal.signal() function allows to define custom handlers to be executed when a signal is received. A small number of default handlers are installed: #SIGPIPE is ignored (so write errors on pipes and sockets can be reported as ordinary Python exceptions) and #SIGINT is translated into a KeyboardInterrupt exception. #Asyncio https://docs.python.org/3.4/library/signal.html