[issue21069] test_fileno of test_urllibnet intermittently fails when using www.example.com

Senthil Kumaran report at bugs.python.org
Wed Apr 16 06:00:14 CEST 2014


Senthil Kumaran added the comment:

Ned Deily had done the correct analysis in the msg214947 and has this question - 

> I don't know whether the file descriptor read is expected to be meaningful for urllib2/urllib.request.

I can see that this test case was for the old behavior where we created a file like object to read using addinfourl and fileno /fp was explicitly set.  We have to determine if this expectation that we can access the socket's fp using HTTPResponse object is a right one.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21069>
_______________________________________


More information about the Python-bugs-list mailing list