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

Method send

Lib/logging/handlers.py:741–751  ·  view source on GitHub ↗

Send a pickled string to a socket. This function no longer allows for partial sends which can happen when the network is busy - UDP does not guarantee delivery and can deliver packets out of sequence.

(self, s)

Source from the content-addressed store, hash-verified

739 return s
740
741 def send(self, s):
742 """
743 Send a pickled string to a socket.
744
745 This function no longer allows for partial sends which can happen
746 when the network is busy - UDP does not guarantee delivery and
747 can deliver packets out of sequence.
748 """
749 if self.sock is None:
750 self.createSocket()
751 self.sock.sendto(s, self.address)
752
753class SysLogHandler(logging.Handler):
754 """

Callers

nothing calls this directly

Calls 2

createSocketMethod · 0.45
sendtoMethod · 0.45

Tested by

no test coverage detected