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 r.david.murray
Recipients keakon, r.david.murray
Date 2015-11-16.14:59:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447685988.63.0.639195433849.issue25635@psf.upfronthosting.co.za>
In-reply-to
Content
Most likely it is a timing issue, with the response object sometimes getting GCed before the read is complete (your local server would make this less likely since the read would complete sooner).

I think this has been fixed in python3.  Can you check?

Note, however, that this is not best practice code.  Ideally you should explicitly close the response object after reading from it.
History
Date User Action Args
2015-11-16 14:59:48r.david.murraysetrecipients: + r.david.murray, keakon
2015-11-16 14:59:48r.david.murraysetmessageid: <1447685988.63.0.639195433849.issue25635@psf.upfronthosting.co.za>
2015-11-16 14:59:48r.david.murraylinkissue25635 messages
2015-11-16 14:59:48r.david.murraycreate