def break_(self, how=libev.EVBREAK_ONE): libev.ev_break(self._ptr, how)
def _default_handle_error(self, context, type, value, tb): # note: Hub sets its own error handler so this is not used by gevent # this is here to make core.loop usable without the rest of gevent import traceback traceback.print_exception(type, value, tb) libev.ev_break(self._ptr, libev.EVBREAK_ONE)