Message282933
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. |
|
Date |
User |
Action |
Args |
2016-12-11 16:53:56 | jdufresne | set | recipients:
+ jdufresne, vstinner, r.david.murray, SilentGhost |
2016-12-11 16:53:55 | jdufresne | set | messageid: <1481475235.98.0.373109963092.issue28867@psf.upfronthosting.co.za> |
2016-12-11 16:53:55 | jdufresne | link | issue28867 messages |
2016-12-11 16:53:55 | jdufresne | create | |
|