summaryrefslogtreecommitdiff
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-06-06 21:51:01 +0000
committerGuido van Rossum <guido@python.org>2002-06-06 21:51:01 +0000
commitbe946bfea7acfeeb0a8bbb01faca117230df17d5 (patch)
tree51e5fa1e117ba8af5fb79ad2e3e5d69e834b8cce /Modules/socketmodule.c
parent15699055e9cb0929fa749aa7e3e3b5ec084121c6 (diff)
downloadcpython-git-be946bfea7acfeeb0a8bbb01faca117230df17d5.tar.gz
SF patch 555085 (timeout socket implementation) by Michael Gilfix.
I've made considerable changes to Michael's code, specifically to use the select() system call directly and to store the timeout as a C double instead of a Python object; internally, -1.0 (or anything negative) represents the None from the API. I'm not 100% sure that all corner cases are covered correctly, so please keep an eye on this. Next I'm going to try it Windows before Tim complains. No way is this a bugfix candidate. :-)
Diffstat (limited to 'Modules/socketmodule.c')
0 files changed, 0 insertions, 0 deletions