Title: `_PyStaticType_Dealloc` should not exist. · Issue #101603 · python/cpython · GitHub
Open Graph Title: `_PyStaticType_Dealloc` should not exist. · Issue #101603 · python/cpython
X Title: `_PyStaticType_Dealloc` should not exist. · Issue #101603 · python/cpython
Description: This the twin to #96458, and the same reasoning applies. If something is static it cannot be deallocated. AFAICT, this clears subclasses of the static type, and doesn't deallocate the class. The (class, subclass) relation for static type...
Open Graph Description: This the twin to #96458, and the same reasoning applies. If something is static it cannot be deallocated. AFAICT, this clears subclasses of the static type, and doesn't deallocate the class. The (c...
X Description: This the twin to #96458, and the same reasoning applies. If something is static it cannot be deallocated. AFAICT, this clears subclasses of the static type, and doesn't deallocate the class. Th...
Opengraph URL: https://github.com/python/cpython/issues/101603
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`_PyStaticType_Dealloc` should not exist.","articleBody":"This the twin to https://github.com/python/cpython/issues/96458, and the same reasoning applies.\r\nIf something is static it cannot be deallocated.\r\n\r\nAFAICT, this clears subclasses of the static type, and doesn't deallocate the class. \r\nThe (class, subclass) relation for static types is an attribute of the interpreter not the class, so `_PyStaticType_Dealloc` needs to be renamed, at least.\r\n\r\n`_PyStaticType_Dealloc` also allocates `int` objects, which is problematic during interpreter cleanup, as the `MemoryError` cache may be cleared first.\r\n\r\n","author":{"url":"https://github.com/markshannon","@type":"Person","name":"markshannon"},"datePublished":"2023-02-06T12:20:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/101603/cpython/issues/101603"}
| 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:c5019090-3f8f-585d-6eae-74260a2b64ed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 97C6:A74F2:82DF74:AEF297:69697926 |
| html-safe-nonce | c4067eb25885cbe20dc3b34a38b84e342db1ec2023aba232ce53c484cf4165ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0M2OkE3NEYyOjgyREY3NDpBRUYyOTc6Njk2OTc5MjYiLCJ2aXNpdG9yX2lkIjoiNDEwMzc0NTczMzAyMzg1NjkzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e6513dc704d2db2ddc573fef5a7791e229459894774ea2b5f10ef733169befb7 |
| hovercard-subject-tag | issue:1572471715 |
| 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/101603/issue_layout |
| twitter:image | https://opengraph.githubassets.com/456002d2c54d2efd428ab9cf36e24e42fa120bfc02d4ea6670ab6b29520178f1/python/cpython/issues/101603 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/456002d2c54d2efd428ab9cf36e24e42fa120bfc02d4ea6670ab6b29520178f1/python/cpython/issues/101603 |
| og:image:alt | This the twin to #96458, and the same reasoning applies. If something is static it cannot be deallocated. AFAICT, this clears subclasses of the static type, and doesn't deallocate the class. The (c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | markshannon |
| 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 | 212e3e3d3298bf5b313830edfd2399e869f7ea76 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width