• Jeremy Hylton's avatar
    Fix several failing tests in test_urllib2net. · df5f6b55
    Jeremy Hylton yazdı
    The HTTPResponse object is being passed to BufferedReader, but it
    wasn't designed to be used that way.  These changes extend the hacks
    that have already been made in urllib2 to get the tests to pass.
    
    The hacks need to be removed and proper support for use with the io
    library.  That's a project for another day.
    df5f6b55
urllib2.py 45.8 KB