Title: Adjust _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES value automatically · Issue #145497 · python/cpython · GitHub
Open Graph Title: Adjust _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES value automatically · Issue #145497 · python/cpython
X Title: Adjust _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES value automatically · Issue #145497 · python/cpython
Description: When a new built-in type is introduced, _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES needs to be updated accordingly. (e.g., 3e2f5c1, #145496 (comment)) This is quite painful, and sometimes we even forget to adjust it. To prevent this kind of is...
Open Graph Description: When a new built-in type is introduced, _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES needs to be updated accordingly. (e.g., 3e2f5c1, #145496 (comment)) This is quite painful, and sometimes we even forget ...
X Description: When a new built-in type is introduced, _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES needs to be updated accordingly. (e.g., 3e2f5c1, #145496 (comment)) This is quite painful, and sometimes we even forget ...
Opengraph URL: https://github.com/python/cpython/issues/145497
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Adjust _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES value automatically","articleBody":"When a new built-in type is introduced, `_Py_MAX_MANAGED_STATIC_BUILTIN_TYPES` needs to be updated accordingly.\n(e.g., https://github.com/python/cpython/commit/3e2f5c133f37f13f627404f3cbd54a5fc163887a, https://github.com/python/cpython/pull/145496#issuecomment-3997827812)\n\nThis is quite painful, and sometimes we even forget to adjust it. To prevent this kind of issue, we may need a way to update it automatically, or add a test that verifies it is set correctly.\n\ncc @markshannon @Fidget-Spinner @vstinner \n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-149139\n* gh-151004\n* gh-151152\n* gh-157582\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/corona10","@type":"Person","name":"corona10"},"datePublished":"2026-03-04T14:35:11Z","url":"https://github.com/python/cpython/issues/145497"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:8754b8ed-c6ff-830b-21e6-9a215de5d4ff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B726:291B58:327A90D:40069A8:6B020ACF |
| html-safe-nonce | c0af4e07dd01cc0a6542dd0451413a413b3756f7eb197d731fd5e5440d10440f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzI2OjI5MUI1ODozMjdBOTBEOjQwMDY5QTg6NkIwMjBBQ0YiLCJ2aXNpdG9yX2lkIjoiMjc5MTExMjE5NzM0NDk4Nzg1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 51fd3f876f21f78ffbf256f3ebb93656ea95f52c90cbaee999e258b33e7b6d3b |
| hovercard-subject-tag | issue:4022328210 |
| 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/145497/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3f0871524ac1cb5ed6fe65b91406a2a1c041704a65a51d56e3a612f5152a4e06/python/cpython/issues/145497 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f0871524ac1cb5ed6fe65b91406a2a1c041704a65a51d56e3a612f5152a4e06/python/cpython/issues/145497 |
| og:image:alt | When a new built-in type is introduced, _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES needs to be updated accordingly. (e.g., 3e2f5c1, #145496 (comment)) This is quite painful, and sometimes we even forget ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | corona10 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width