]> granicus.if.org Git - python/commit
I decided to change the interaction between setblocking() and
authorGuido van Rossum <guido@python.org>
Fri, 7 Jun 2002 03:36:20 +0000 (03:36 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 7 Jun 2002 03:36:20 +0000 (03:36 +0000)
commite8008f0013f14933aead215891812dd138d798fd
treed56563e97db3c178a2ec6ef1304a7dc314288f32
parent96803b29838753fc6d3a70b9577a2149e50b3b4a
I decided to change the interaction between setblocking() and
settimeout().   Already, settimeout() canceled non-blocking mode; now,
setblocking() also cancels the timeout.  This is easier to document.

(XXX should settimeout(0) be an alias for setblocking(0)?  They seem
to have roughly the same effect.  Also, I'm not sure that the code in
connect() and accept() is correct in all cases.  We'll sort this out
soon enough.)
Modules/socketmodule.c