def _create_safe_task(self, coroutine):
        """ Calls self._loop.create_task with a safe (== with logged exception) coroutine """
        task = self._loop.create_task(coroutine)
        task.add_done_callback(self.__log_safe_task)
        return task
def _create_safe_task ( self , coroutine ) : task = self . _loop . create_task ( coroutine ) task . add_done_callback ( self . __log_safe_task ) return task
Calls self._loop.create_task with a safe (== with logged exception) coroutine