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

Method handle_EOF

Lib/idlelib/rpc.py:470–481  ·  view source on GitHub ↗

action taken upon link being closed by peer

(self)

Source from the content-addressed store, hash-verified

468 continue
469
470 def handle_EOF(self):
471 "action taken upon link being closed by peer"
472 self.EOFhook()
473 self.debug("handle_EOF")
474 for key in self.cvars:
475 cv = self.cvars[key]
476 cv.acquire()
477 self.responses[key] = ('EOF', None)
478 cv.notify()
479 cv.release()
480 # call our (possibly overridden) exit function
481 self.exithook()
482
483 def EOFhook(self):
484 "Classes using rpc client/server can override to augment EOF action"

Callers 1

pollresponseMethod · 0.95

Calls 6

EOFhookMethod · 0.95
debugMethod · 0.95
exithookMethod · 0.95
acquireMethod · 0.45
notifyMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected