[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:49:28 CET 2010
Martin v. Löwis <martin at v.loewis.de> added the comment:
> However, I hope we can all agree that having the Python socket object
> in a different blocking / non-blocking state than the OS socket
> descriptor is wrong. This is what needs to be fixed.
Ok, now I see where your misunderstanding is: you simply can't infer
from calling .gettimeout() whether the socket is blocking or not.
Python does not "think" you can, nor should you. So I don't think
anything needs to be fixed in this respect.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7995>
_______________________________________
More information about the Python-bugs-list
mailing list