This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients doko, exarkun, lekma, loewis, neologix, nvetoshkin, pitrou, socketpair, vstinner
Date 2011-11-06.17:54:05
SpamBayes Score 0.00015350826
Marked as misclassified No
Message-id <1320602045.92.0.575267475925.issue10115@psf.upfronthosting.co.za>
In-reply-to
Content
> What value should we assign to sock->sock_timeout if SOCK_NONBLOCK was 
> specified in accept4() call?

The same value as for other non-blocking sockets, IMO.

> And in socket.py should we check as in original accept:
> if getdefaulttimeout() is None and self.gettimeout():
>    sock.setblocking(True)

I don't think so, since the whole point of accept4() is to override normal flags creation.
History
Date User Action Args
2011-11-06 17:54:06pitrousetrecipients: + pitrou, loewis, doko, exarkun, vstinner, lekma, nvetoshkin, neologix, socketpair
2011-11-06 17:54:05pitrousetmessageid: <1320602045.92.0.575267475925.issue10115@psf.upfronthosting.co.za>
2011-11-06 17:54:05pitroulinkissue10115 messages
2011-11-06 17:54:05pitroucreate