From: Alan K. <jyt...@xh...> - 2009-03-03 11:59:33
|
[Frank] > +#XXX: just copying from CPython -- someone with better knowledge of socket.py > +# should check if this makes sense. > +_GLOBAL_DEFAULT_TIMEOUT = object() > + Hi Frank, That change relates to a greater change in 2.6, namely the introduction of the create_connection method, which enables the use of timeouts across all modules that layer on socket, i.e. urllib, httplib, etc. No way to disable socket timeouts in httplib, etc. http://bugs.python.org/issue2451 http://svn.python.org/view?view=rev&revision=63788 So, this change is really part of a bigger change for 2.6. Which raises the question: when are we targetting 2.6? Regards, Alan. |