[issue7995] On Mac / BSD sockets returned by accept inherit the parent's FD flags
Martin v. Löwis
report at bugs.python.org
Mon Nov 22 08:54:57 CET 2010
Martin v. Löwis <martin at v.loewis.de> added the comment:
> Set blocking or non-blocking mode of the socket: if flag is 0, the
> socket is set to non-blocking, else to blocking mode.
>
> This seems to imply that timeout = None -> blocking.
I see. So gettimeout() should really make a system call, to determine
whether to return 0.0 or None.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7995>
_______________________________________
More information about the Python-bugs-list
mailing list