Title: Refleak in LOAD_SUPER_ATTR_ATTR · Issue #104413 · python/cpython · GitHub
Open Graph Title: Refleak in LOAD_SUPER_ATTR_ATTR · Issue #104413 · python/cpython
X Title: Refleak in LOAD_SUPER_ATTR_ATTR · Issue #104413 · python/cpython
Description: The buildbots show a refleak in test_super. I narrowed it down to this: """Unit tests for zero-argument super() & related machinery.""" import unittest class TestSuper(unittest.TestCase): def test_attribute_error(self): class C: def meth...
Open Graph Description: The buildbots show a refleak in test_super. I narrowed it down to this: """Unit tests for zero-argument super() & related machinery.""" import unittest class TestSuper(unittest.TestCase): def test_...
X Description: The buildbots show a refleak in test_super. I narrowed it down to this: """Unit tests for zero-argument super() & related machinery.""" import unittest class TestS...
Opengraph URL: https://github.com/python/cpython/issues/104413
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Refleak in LOAD_SUPER_ATTR_ATTR","articleBody":"The buildbots show a refleak in test_super. I narrowed it down to this:\r\n\r\n```python\r\n\"\"\"Unit tests for zero-argument super() \u0026 related machinery.\"\"\"\r\n\r\nimport unittest\r\n\r\n\r\nclass TestSuper(unittest.TestCase):\r\n\r\n def test_attribute_error(self):\r\n class C:\r\n def method(self):\r\n return super().msg\r\n\r\n try:\r\n C().method()\r\n except AttributeError:\r\n pass\r\n\r\n\r\nif __name__ == \"__main__\":\r\n unittest.main()\r\n```\r\n\r\nAnd found a fix. PR incoming.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104414\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/JelleZijlstra","@type":"Person","name":"JelleZijlstra"},"datePublished":"2023-05-12T05:06:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/104413/cpython/issues/104413"}
| 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:f0bf8e00-6b7f-7b66-12bb-9fe943bce1b1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 953C:7B62C:5114A8:6CCFBC:6969DA40 |
| html-safe-nonce | 1348c0b732ae101e93fe06f1e9adfc67e16205e4e6e7e322990df1b983f36b3a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTNDOjdCNjJDOjUxMTRBODo2Q0NGQkM6Njk2OURBNDAiLCJ2aXNpdG9yX2lkIjoiNjMyMTMxOTI0NDM4NTA4MTkyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ad352953bcc16691bfe17c574b929bd6f20b14d0a4290321d0ad755a4b5ebf93 |
| hovercard-subject-tag | issue:1706933069 |
| 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/104413/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1b2ae60da1491965b0406e8d2b239a0f0ddf2487c808b51ccf29ee67d6a2bf3d/python/cpython/issues/104413 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b2ae60da1491965b0406e8d2b239a0f0ddf2487c808b51ccf29ee67d6a2bf3d/python/cpython/issues/104413 |
| og:image:alt | The buildbots show a refleak in test_super. I narrowed it down to this: """Unit tests for zero-argument super() & related machinery.""" import unittest class TestSuper(unittest.TestCase): def test_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JelleZijlstra |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width