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 brett.cannon
Recipients ajaksu2, brett.cannon, georg.brandl, kdwyer
Date 2009-02-10.19:34:48
SpamBayes Score 0.00037676893
Marked as misclassified No
Message-id <1234294490.48.0.899224163822.issue1327971@psf.upfronthosting.co.za>
In-reply-to
Content
Georg is right and this has been fixed apparently in 3.0, leaving 2.7
and older broken.

There are two possible solutions to this. One is to change
socket._fileobject.fileno() to simply try self._sock.fp.fileno() if
self._sock.fileno() does not exist. The other option is to add a
__getattr__ to httplib.HTTPResponse to redirect to self.fp. Anyone have
an opinion?
History
Date User Action Args
2009-02-10 19:34:50brett.cannonsetrecipients: + brett.cannon, georg.brandl, ajaksu2, kevindication
2009-02-10 19:34:50brett.cannonsetmessageid: <1234294490.48.0.899224163822.issue1327971@psf.upfronthosting.co.za>
2009-02-10 19:34:49brett.cannonlinkissue1327971 messages
2009-02-10 19:34:49brett.cannoncreate