Title: Memory leak in _struct module · Issue #94207 · python/cpython · GitHub
Open Graph Title: Memory leak in _struct module · Issue #94207 · python/cpython
X Title: Memory leak in _struct module · Issue #94207 · python/cpython
Description: Reproducer: import _struct; _struct.calcsize('b') Memory Leak: ./python -X showrefcount main.py [367 refs, 150 blocks] Commit tested: 27b9894
Open Graph Description: Reproducer: import _struct; _struct.calcsize('b') Memory Leak: ./python -X showrefcount main.py [367 refs, 150 blocks] Commit tested: 27b9894
X Description: Reproducer: import _struct; _struct.calcsize('b') Memory Leak: ./python -X showrefcount main.py [367 refs, 150 blocks] Commit tested: 27b9894
Opengraph URL: https://github.com/python/cpython/issues/94207
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Memory leak in _struct module ","articleBody":"Reproducer:\r\n\r\n```py\r\nimport _struct; _struct.calcsize('b')\r\n```\r\nMemory Leak:\r\n```console\r\n./python -X showrefcount main.py\r\n[367 refs, 150 blocks]\r\n```\r\n\r\nCommit tested: 27b9894033","author":{"url":"https://github.com/kumaraditya303","@type":"Person","name":"kumaraditya303"},"datePublished":"2022-06-24T10:18:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/94207/cpython/issues/94207"}
| 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:fdb4fb77-12ce-3816-3a80-614406716d66 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D6A:25C698:169903:1E6606:696967BD |
| html-safe-nonce | 7d500f305b661880a14b3ce84ec1a7771e6bcfb63ed97c09c03cc55f2bb8dc60 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDZBOjI1QzY5ODoxNjk5MDM6MUU2NjA2OjY5Njk2N0JEIiwidmlzaXRvcl9pZCI6IjI0OTE1ODkzMDQxNzMyOTE0NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a114e276b84c083ccfc4aab0f81a3af15b4bb33b4b7e56e45035fcb0570ded3f |
| hovercard-subject-tag | issue:1283564832 |
| 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/94207/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fad3e73ceae3e37e6d5f83885af6fcbb4d7a8c83b29308b4ce40b74f799984de/python/cpython/issues/94207 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fad3e73ceae3e37e6d5f83885af6fcbb4d7a8c83b29308b4ce40b74f799984de/python/cpython/issues/94207 |
| og:image:alt | Reproducer: import _struct; _struct.calcsize('b') Memory Leak: ./python -X showrefcount main.py [367 refs, 150 blocks] Commit tested: 27b9894 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kumaraditya303 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| 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 | ec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width