def _process_events(self, events):
for f, callback, transferred, key, ov in events:<EOL><INDENT>try:<EOL><INDENT>self._logger.debug('<STR_LIT>'.format(callback))<EOL>value = callback(transferred, key, ov)<EOL><DEDENT>except OSError:<EOL><INDENT>self._logger.warning('<STR_LIT>', exc_info=sys.exc_info())<EOL><DEDENT>else:<EOL><INDENT>f.set_result(value)<EOL><DEDENT><DEDENT>
Process events from proactor.