Message146504
| Author |
nvetoshkin |
| Recipients |
doko, exarkun, lekma, loewis, neologix, nvetoshkin, pitrou, socketpair, vstinner |
| Date |
2011年10月27日.16:45:09 |
| SpamBayes Score |
0.00069864985 |
| Marked as misclassified |
No |
| Message-id |
<1319733910.56.0.0679234438498.issue10115@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Started implementing accept4() socket method and stuck on socket object's timeout attribute. What value should we assign to sock->sock_timeout if SOCK_NONBLOCK was specified in accept4() call? And in socket.py should we check as in original accept:
if getdefaulttimeout() is None and self.gettimeout():
sock.setblocking(True) |
|