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

Method _start_serving

Lib/asyncio/selector_events.py:159–165  ·  view source on GitHub ↗
(self, protocol_factory, sock,
                       sslcontext=None, server=None, backlog=100,
                       ssl_handshake_timeout=constants.SSL_HANDSHAKE_TIMEOUT,
                       ssl_shutdown_timeout=constants.SSL_SHUTDOWN_TIMEOUT)

Source from the content-addressed store, hash-verified

157 exc_info=True)
158
159 def _start_serving(self, protocol_factory, sock,
160 sslcontext=None, server=None, backlog=100,
161 ssl_handshake_timeout=constants.SSL_HANDSHAKE_TIMEOUT,
162 ssl_shutdown_timeout=constants.SSL_SHUTDOWN_TIMEOUT):
163 self._add_reader(sock.fileno(), self._accept_connection,
164 protocol_factory, sock, sslcontext, server, backlog,
165 ssl_handshake_timeout, ssl_shutdown_timeout)
166
167 def _accept_connection(
168 self, protocol_factory, sock,

Callers

nothing calls this directly

Calls 2

_add_readerMethod · 0.95
filenoMethod · 0.45

Tested by

no test coverage detected