[issue7995] On Mac / BSD sockets returned by accept inherit the parent's FD flags

Martin v. Löwis report at bugs.python.org
Sun Nov 21 21:36:34 CET 2010

Martin v. Löwis <martin at v.loewis.de> added the comment:

> Well, I don't think setting a timeout on a listening socket and then
> expecting the socket received through accept() to be non-blocking (but
> only on BSD) is a legitimate application.

Right. But setting the server socket to nonblocking, and then expecting
the connection socket to also be nonblocking might be.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list