This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kevindication
Recipients
Date 2005-10-16.15:23:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=285914

Actually that's not entirely correct.  The fix is probably
more like the other hack in there:

--- urllib2.py-orig     2005-10-16 11:19:34.000000000 -0400
+++ urllib2.py  2005-10-16 11:22:30.000000000 -0400
@@ -1007,6 +1007,7 @@
         # out of socket._fileobject() and into a base class.

         r.recv = r.read
+        r.fileno = r.fp.fileno
         fp = socket._fileobject(r)

         resp = addinfourl(fp, r.msg, req.get_full_url())
History
Date User Action Args
2008-01-20 09:58:13adminlinkissue1327971 messages
2008-01-20 09:58:13admincreate