MCPcopy Index your code
hub / github.com/RustPython/RustPython / _fatal_error

Method _fatal_error

Lib/asyncio/selector_events.py:878–890  ·  view source on GitHub ↗
(self, exc, message='Fatal error on transport')

Source from the content-addressed store, hash-verified

876 self._server._detach(self)
877
878 def _fatal_error(self, exc, message='Fatal error on transport'):
879 # Should be called from exception handler only.
880 if isinstance(exc, OSError):
881 if self._loop.get_debug():
882 logger.debug("%r: %s", self, message, exc_info=True)
883 else:
884 self._loop.call_exception_handler({
885 'message': message,
886 'exception': exc,
887 'transport': self,
888 'protocol': self._protocol,
889 })
890 self._force_close(exc)
891
892 def _force_close(self, exc):
893 if self._conn_lost:

Callers 9

_read_ready__on_eofMethod · 0.45
writeMethod · 0.45
_write_sendmsgMethod · 0.45
_write_sendMethod · 0.45
_read_readyMethod · 0.45
sendtoMethod · 0.45
_sendto_readyMethod · 0.45

Calls 5

_force_closeMethod · 0.95
isinstanceFunction · 0.85
get_debugMethod · 0.45
debugMethod · 0.45

Tested by

no test coverage detected