Title: `tp_bases` of `object` is `NULL`: undocumented or unintentional behavior change in 3.12? · Issue #105020 · python/cpython · GitHub
Open Graph Title: `tp_bases` of `object` is `NULL`: undocumented or unintentional behavior change in 3.12? · Issue #105020 · python/cpython
X Title: `tp_bases` of `object` is `NULL`: undocumented or unintentional behavior change in 3.12? · Issue #105020 · python/cpython
Description: Documentation See #103912 (comment) for full context. Specific problem: It appears tp_bases of object was an empty tuple in the past, but is now NULL, could that be? Is that intentional? If intentional, could it please be documented? I t...
Open Graph Description: Documentation See #103912 (comment) for full context. Specific problem: It appears tp_bases of object was an empty tuple in the past, but is now NULL, could that be? Is that intentional? If intenti...
X Description: Documentation See #103912 (comment) for full context. Specific problem: It appears tp_bases of object was an empty tuple in the past, but is now NULL, could that be? Is that intentional? If intenti...
Opengraph URL: https://github.com/python/cpython/issues/105020
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`tp_bases` of `object` is `NULL`: undocumented or unintentional behavior change in 3.12?","articleBody":"# Documentation\r\n\r\nSee https://github.com/python/cpython/pull/103912#issuecomment-1559779144 for full context.\r\n\r\nSpecific problem:\r\n\r\n**It appears `tp_bases` of `object` was an empty tuple in the past, but is now `NULL`, could that be? Is that intentional?**\r\n\r\nIf intentional, could it please be documented? I think the behavior change is likely to trip up fair a number of people.\r\n\r\nI looked in https://github.com/python/cpython/blob/edd0cb8e77d7b65f5a9c2c69dc81f9c4514878d5/Doc/whatsnew/3.12.rst but don't see `tp_bases` being mentioned there.\r\n\r\nI also verified that the `tp_bases == nullptr` patch is still needed with current 3.12 HEAD (edd0cb8e77d7b65f5a9c2c69dc81f9c4514878d5).\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-105115\n* gh-105124\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/rwgk","@type":"Person","name":"rwgk"},"datePublished":"2023-05-27T14:23:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":18},"url":"https://github.com/105020/cpython/issues/105020"}
| 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:5294e41d-5f6c-86b9-698a-7615b3853150 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9EE:1D5ACA:9C5EB9:CE6CE1:696992A4 |
| html-safe-nonce | 8fe73dcdea7e0ecc91f90ee299c16e576ffbe610e29ed82af764a1eb3f1fc07e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUVFOjFENUFDQTo5QzVFQjk6Q0U2Q0UxOjY5Njk5MkE0IiwidmlzaXRvcl9pZCI6IjQyNDYwNjA4MjcyOTE1MjE3MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9dbdc0e71d8482373141e781def133aed6dcacac8fb041e1abc74abba926ccf4 |
| hovercard-subject-tag | issue:1728756777 |
| 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/105020/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ed11594258276135a93d2f8d838a80a0669a3bdc5d5e75a342a33d294ee9a1a5/python/cpython/issues/105020 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ed11594258276135a93d2f8d838a80a0669a3bdc5d5e75a342a33d294ee9a1a5/python/cpython/issues/105020 |
| og:image:alt | Documentation See #103912 (comment) for full context. Specific problem: It appears tp_bases of object was an empty tuple in the past, but is now NULL, could that be? Is that intentional? If intenti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rwgk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width