From: Frank W. <fwi...@gm...> - 2009-03-03 13:11:52
|
On Tue, Mar 3, 2009 at 6:59 AM, Alan Kennedy <jyt...@xh...> wrote: > [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. I only added that to get regrtest working in a proof of concept in the sandbox, when we are doing it for real I'm sure it will be quite different. I don't plan to mess with this sandbox code much more before PyCon. > So, this change is really part of a bigger change for 2.6. > > Which raises the question: when are we targetting 2.6? Given that updating to 2.6 and getting it stable will take a while, and that 2.7 (as I understand) is planned as a fairly modest CPython release, I was thinking of going right for 2.7. If all goes really well, I hope to release Jython 2.7 at or shortly after CPython releases theirs. My plan is to have release candidates of 2.5 going by PyCon in a Release_2_5maint branch, and change trunk to point to 2.7 (thus CPython trunk) at that time so that anyone interested in hacking on 2.7 features can do so easily during the PyCon sprints. -Frank |