Message286020
| 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. |
|