Johnny Lee wrote: > Steve Holden wrote: > >>Steve Holden wrote: >> >>>Johnny Lee wrote: [...] >> >>So my conclusion is that there's something in the Cygwin socket module >>that causes problems not seen under other platforms. >> >>I couldn't find any obviously-related error in the Python bug tracker, >>and I have copied this message to the Cygwin list in case someone there >>knows what the problem is. >> >>Before making any kind of bug submission you should really see if you >>can build a program shorter that the existing 220+ lines to demonstrate >>the bug, but it does look to me like your program should work (as indeed >>it does on other platforms). >> [...] > > > But if you change urllib2 to urllib, it works under cygwin. Are they > using different mechanism to connect to the page? > I haven't looked into it that deeply. Perhaps you can take a look at the library code to see what the differences are?
regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC www.holdenweb.com PyCon TX 2006 www.python.org/pycon/ -- http://mail.python.org/mailman/listinfo/python-list