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

Roy Smith report at bugs.python.org
Mon Nov 22 01:24:31 CET 2010


Roy Smith <roy at panix.com> added the comment:

Responding to msg122013:

I think he exactly meant to equate the two.

The original problem described in issue882297 is that the makefile() documentation only stated that the socket could not be in non-blocking mode.  The test case presented didn't appear to set non-blocking mode, it only set a timeout.

The explanation by facundobatista was that setting a timeout inplies putting the socket into non-blocking mode, and the docs were updated to make this "non-blocking <==> timeout" relationship clear.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7995>
_______________________________________


More information about the Python-bugs-list mailing list