Title: ResourceWarning when urlopen() forgets the HTTPConnection object · Issue #63723 · python/cpython · GitHub
Open Graph Title: ResourceWarning when urlopen() forgets the HTTPConnection object · Issue #63723 · python/cpython
X Title: ResourceWarning when urlopen() forgets the HTTPConnection object · Issue #63723 · python/cpython
Description: BPO 19524 Nosy @warsaw, @orsenthil, @pitrou, @vadmium, @serhiy-storchaka Files urllib-close-test.diffurlopen-sock-close.diffissue19524.difftest+except-close.patch: Tests + close if exception, on top of existing fix #56901test2.patch: Tes...
Open Graph Description: BPO 19524 Nosy @warsaw, @orsenthil, @pitrou, @vadmium, @serhiy-storchaka Files urllib-close-test.diffurlopen-sock-close.diffissue19524.difftest+except-close.patch: Tests + close if exception, on to...
X Description: BPO 19524 Nosy @warsaw, @orsenthil, @pitrou, @vadmium, @serhiy-storchaka Files urllib-close-test.diffurlopen-sock-close.diffissue19524.difftest+except-close.patch: Tests + close if exception, on to...
Opengraph URL: https://github.com/python/cpython/issues/63723
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ResourceWarning when urlopen() forgets the HTTPConnection object","articleBody":"BPO | [19524](https://bugs.python.org/issue19524)\n--- | :---\nNosy | @warsaw, @orsenthil, @pitrou, @vadmium, @serhiy-storchaka\nFiles | \u003cli\u003e[urllib-close-test.diff](https://bugs.python.org/file33004/urllib-close-test.diff \"Uploaded as text/plain at 2013-12-06.12:50:07 by @vadmium\")\u003c/li\u003e\u003cli\u003e[urlopen-sock-close.diff](https://bugs.python.org/file33005/urlopen-sock-close.diff \"Uploaded as text/plain at 2013-12-06.12:50:24 by @vadmium\")\u003c/li\u003e\u003cli\u003e[issue19524.diff](https://bugs.python.org/file33187/issue19524.diff \"Uploaded as text/plain at 2013-12-18.12:25:42 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[test+except-close.patch](https://bugs.python.org/file33319/test%2Bexcept-close.patch \"Uploaded as text/plain at 2014-01-05.13:11:33 by @vadmium\"): Tests + close if exception, on top of existing fix python/cpython#56901\u003c/li\u003e\u003cli\u003e[test2.patch](https://bugs.python.org/file35980/test2.patch \"Uploaded as text/plain at 2014-07-17.06:47:27 by @vadmium\"): Test for close after valid \u0026 invalid responses\u003c/li\u003e\u003cli\u003e[close3.4.patch](https://bugs.python.org/file35981/close3.4.patch \"Uploaded as text/plain at 2014-07-17.06:58:19 by @vadmium\"): Close if exception, for 3.4\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/serhiy-storchaka'\nclosed_at = \u003cDate 2014-09-06.18:57:39.795\u003e\ncreated_at = \u003cDate 2013-11-08.03:45:17.035\u003e\nlabels = ['type-bug', 'library']\ntitle = 'ResourceWarning when urlopen() forgets the HTTPConnection object'\nupdated_at = \u003cDate 2016-05-16.18:26:27.710\u003e\nuser = 'https://github.com/vadmium'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2016-05-16.18:26:27.710\u003e\nactor = 'serhiy.storchaka'\nassignee = 'serhiy.storchaka'\nclosed = True\nclosed_date = \u003cDate 2014-09-06.18:57:39.795\u003e\ncloser = 'serhiy.storchaka'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2013-11-08.03:45:17.035\u003e\ncreator = 'martin.panter'\ndependencies = []\nfiles = ['33004', '33005', '33187', '33319', '35980', '35981']\nhgrepos = []\nissue_num = 19524\nkeywords = ['patch']\nmessage_count = 16.0\nmessages = ['202404', '205366', '206481', '206491', '206508', '206662', '207056', '207373', '223257', '223316', '226502', '226503', '265681', '265687', '265689', '265715']\nnosy_count = 6.0\nnosy_names = ['barry', 'orsenthil', 'pitrou', 'python-dev', 'martin.panter', 'serhiy.storchaka']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue19524'\nversions = ['Python 3.4', 'Python 3.5']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/vadmium","@type":"Person","name":"vadmium"},"datePublished":"2013-11-08T03:45:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/63723/cpython/issues/63723"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4234794e-bb1d-78ce-3c62-001cdad492c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DBE4:2C813C:48CE60F:6671D2F:6A56DD93 |
| html-safe-nonce | fab7c3ecea01526d656bbc98151d8cf65b530a6b3fcbd553fddcc7a4b8413b3c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkU0OjJDODEzQzo0OENFNjBGOjY2NzFEMkY6NkE1NkREOTMiLCJ2aXNpdG9yX2lkIjoiMjU1MzA4Mjc5NDgwMjA3NzA3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 02767b4d326d079822c7bdf453b8ceee7130423da00facededc8a600f7591890 |
| hovercard-subject-tag | issue:1198908367 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/63723/issue_layout |
| twitter:image | https://opengraph.githubassets.com/534f8e27dfefa6752024072089f65bc95add9b5cf34cb705af249977d1a0ff65/python/cpython/issues/63723 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/534f8e27dfefa6752024072089f65bc95add9b5cf34cb705af249977d1a0ff65/python/cpython/issues/63723 |
| og:image:alt | BPO 19524 Nosy @warsaw, @orsenthil, @pitrou, @vadmium, @serhiy-storchaka Files urllib-close-test.diffurlopen-sock-close.diffissue19524.difftest+except-close.patch: Tests + close if exception, on to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vadmium |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5220a278731283038daf0ed00b41f06ef7ff9539020ecc806c5c5a0fb6bda25a |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8684ae1a81cd3e4ef219b241179982bbda1a5b1f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width