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 orsenthil
Recipients daniel.ugra, giampaolo.rodola, orsenthil, python-dev, r.david.murray
Date 2017-01-22.17:46:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485107173.7.0.741280308393.issue16270@psf.upfronthosting.co.za>
In-reply-to
Content
The original problem here was retrieving files failed (hung) when it was tried via context-manager

1. For e.g after "reverting" the changes, if you use the original file without the context manager, it will succeed.

fobj = urllib.request.urlopen( url )

That indicates the fix in changing something in endtransfer method was improper. I have given more information here: http://bugs.python.org/issue27973#msg286016

The proper fix will be revert the endtransfer changes, but fix it in contextmanager scenario. Add test cases to cover all these scenarios.
History
Date User Action Args
2017-01-22 17:46:13orsenthilsetrecipients: + orsenthil, giampaolo.rodola, r.david.murray, daniel.ugra, python-dev
2017-01-22 17:46:13orsenthilsetmessageid: <1485107173.7.0.741280308393.issue16270@psf.upfronthosting.co.za>
2017-01-22 17:46:13orsenthillinkissue16270 messages
2017-01-22 17:46:13orsenthilcreate