On Fri, 3 Apr 2015 13:56:44 +0200 Victor Stinner <victor.stin...@gmail.com> wrote: > > The problem is that the socket.sendall() method may require multiple > syscalls. In this case, does the timeout count for the total time or > only for a single syscall? Asked differently: should we reset the > timeout each time a syscall succeed?
>From a user's point of view, it should count for the total time, IMO. If people want a timeout for each syscall, they should call send() iteratively. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com