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

Method send

Lib/logging/handlers.py:737–747  ·  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

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

Callers

nothing calls this directly

Calls 2

createSocketMethod · 0.45
sendtoMethod · 0.45

Tested by

no test coverage detected