MCPcopy Index your code
hub / github.com/python/cpython / handle_read

Method handle_read

Lib/test/test_poplib.py:199–206  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

197 self.tls_starting = False
198
199 def handle_read(self):
200 if self.tls_starting:
201 self._do_tls_handshake()
202 else:
203 try:
204 asynchat.async_chat.handle_read(self)
205 except ssl.SSLEOFError:
206 self.handle_close()
207
208class DummyPOP3Server(asyncore.dispatcher, threading.Thread):
209

Callers

nothing calls this directly

Calls 2

_do_tls_handshakeMethod · 0.95
handle_closeMethod · 0.45

Tested by

no test coverage detected