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

Ned Deily report at bugs.python.org
Mon Nov 22 01:15:15 CET 2010


Ned Deily <nad at acm.org> added the comment:

The notes in the documentation under socket.gettimeout() do go into more detail than elsewhere.  But at least one thing there is at best misleading: "Sockets are always created in blocking mode" is, as we've seen, not correct for BSD-ish systems for sockets returned by accept().  So, at a minimum, this section and the documentation for socket.accept() should be expanded, along with any other changes.

http://docs.python.org/py3k/library/socket.html#socket.socket.gettimeout
http://docs.python.org/py3k/library/socket.html#socket.socket.accept

----------

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


More information about the Python-bugs-list mailing list