[issue10119] test_urllibnet failure when using support.transient_internet

2010-10-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed in revision 85630. When using fileno attribute of the file-descriptor, the socket had to be in blocking mode. Now the results are consistent. This may resolve the other spurious test failures that were observed too. -- assignee: -> orsenthil

[issue10119] test_urllibnet failure when using support.transient_internet

2010-10-16 Thread Senthil Kumaran
Senthil Kumaran added the comment: Actually, this is not related to transient_internet call. Just that file handle not behaving as expected due to some delays. -- ___ Python tracker __

[issue10119] test_urllibnet failure when using support.transient_internet

2010-10-15 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10119] test_urllibnet failure when using support.transient_internet

2010-10-15 Thread Senthil Kumaran
New submission from Senthil Kumaran : I am attaching the script which exhibits the problem. wrapping the urllib.request.urlopen, with the support.transient_internet contextmanager exhibits an Unexpected Behavior. Without the context manager, reading the file using the filedescriptor succeeds,