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 jdufresne
Recipients SilentGhost, jdufresne, r.david.murray, vstinner
Date 2016-12-11.16:53:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481475235.98.0.373109963092.issue28867@psf.upfronthosting.co.za>
In-reply-to
Content
I've taken a new approach to resolve the urllib issues.

I believe HTTPError _should not_ warn when __del__ is called as HTTPError wraps an existing resource instead of generating its own. IIUC, in this case, I believe it falls to the responsibility of code generating the resource to properly close and manage the resource (or pass that responsibility along). If I misunderstood, please let me know.

All feedback on the patch is welcome, thanks.
History
Date User Action Args
2016-12-11 16:53:56jdufresnesetrecipients: + jdufresne, vstinner, r.david.murray, SilentGhost
2016-12-11 16:53:55jdufresnesetmessageid: <1481475235.98.0.373109963092.issue28867@psf.upfronthosting.co.za>
2016-12-11 16:53:55jdufresnelinkissue28867 messages
2016-12-11 16:53:55jdufresnecreate