Is it safe to assume that socket.sendto is non-blocking operation?
<p>I have a socket object created with <code>socket(AF_INET, SOCK_DGRAM)</code> which I will be using it in an asyncio loop. However I couldn't find <code>sendto</code> function in <a href="https://docs.python.org/3/library/asyncio-eventloop.html#low-level-socket-operations" rel="nofollow">https://docs.python.org/3/library/asyncio-eventloop.html#low-level-socket-operations</a>. </p>

<p>Can I safely assume that this function is a non-blocking system call which can be invoked inside an asyncio loop? Or should I submit it to run in another thread with <code>run_in_executor</code>?</p>

<p>** <a href="https://docs.python.org/3/library/socket.html#socket.socket.sendto" rel="nofollow">Documentation</a> states that it performs a system call which concerned me that it might block the entire loop.</p>