Message77846
| Author |
jhylton |
| Recipients |
ResulCetin, ajaksu2, amaury.forgeotdarc, dato, exarkun, jhylton, pitrou |
| Date |
2008年12月15日.04:01:46 |
| SpamBayes Score |
0.0018760328 |
| Marked as misclassified |
No |
| Message-id |
<1229313708.1.0.299105722702.issue4631@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Brief update: The Python 2.x code works because readline() is provided
by socket._fileobject. The Python 3.x code fails because it grabs the
HTTPResponse.fp instance variable at the end of
AbstractHTTPHandler.do_open. That method needs to pass the response to
addinfourl(), but needs to have support for readline / readlines before
it can do that. |
|