#NEWLINE# def addReader( self , reader ) : #NEWLINE# #INDENT# '\n        Implement L{IReactorFDSet.addReader}.\n        ' #NEWLINE# fd = reader . fileno ( ) #NEWLINE# if ( fd not in self . _reads ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . _updateRegistration ( fd , KQ_FILTER_READ , KQ_EV_ADD ) #NEWLINE# #UNINDENT# except OSError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# self . _selectables [ fd ] = reader #NEWLINE# self . _reads . add ( fd )