Message121978
Le dimanche 21 novembre 2010 à 20:16 +0000, Martin v. Löwis a écrit :
>
> > We are talking about the timeout feature, which is a Python feature, not
> > a BSD (or Linux) sockets feature. It should work properly, even if that
> > means adding some boilerplate around system calls.
>
> I agree that the semantics of the socket timeout API is confusing (and I
> wish it had not been added in the first place). However, making it work
> "better" must not cause breakage to other legitimate applications.
Well, I don't think setting a timeout on a listening socket and then
expecting the socket received through accept() to be non-blocking (but
only on BSD) is a legitimate application. |
|
Date |
User |
Action |
Args |
2010-11-21 20:24:39 | pitrou | set | recipients:
+ pitrou, loewis, ronaldoussoren, exarkun, roysmith, giampaolo.rodola, ned.deily, nicdumz, bbangert, Justin.Cappos |
2010-11-21 20:24:37 | pitrou | link | issue7995 messages |
2010-11-21 20:24:37 | pitrou | create | |
|