#NEWLINE# def __init__( self , flags = None , default = True ) : #NEWLINE# #INDENT# if self : #NEWLINE# #INDENT# self . _loop = pyuv . Loop . default_loop ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _loop = pyuv . Loop ( ) #NEWLINE# #UNINDENT# self . _loop . _poll_handles = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . _loop . excepthook = functools . partial ( self . handle_error , None ) #NEWLINE# self . _callback_watcher = pyuv . Prepare ( self . _loop ) #NEWLINE# self . _callback_spinner = pyuv . Idle ( self . _loop ) #NEWLINE# self . _callbacks = [ ] #NEWLINE# self . _child_watchers = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . _watchers = set ( ) #NEWLINE# self . _sigchld_handle = None #NEWLINE# if ( _signal_check_rfd is not None ) : #NEWLINE# #INDENT# self . _signal_checker = pyuv . util . SignalChecker ( self . _loop , _signal_check_rfd ) #NEWLINE# self . _signal_checker . start ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _signal_checker = None