Title: build fails with `--enable-pystats --with-pydebug` (use of Py_SIZE on PyLongObject) · Issue #104184 · python/cpython · GitHub
Open Graph Title: build fails with `--enable-pystats --with-pydebug` (use of Py_SIZE on PyLongObject) · Issue #104184 · python/cpython
X Title: build fails with `--enable-pystats --with-pydebug` (use of Py_SIZE on PyLongObject) · Issue #104184 · python/cpython
Description: > ./configure --enable-pystats --with-pydebug > make -j ... _bootstrap_python: ../../cpython/Include/object.h:215: Py_SIZE: Assertion `ob->ob_type != &PyLong_Type' failed. It looks like #102464 missed removing this use of Py_SIZE on a Py...
Open Graph Description: > ./configure --enable-pystats --with-pydebug > make -j ... _bootstrap_python: ../../cpython/Include/object.h:215: Py_SIZE: Assertion `ob->ob_type != &PyLong_Type' failed. It looks like #102464 mis...
X Description: > ./configure --enable-pystats --with-pydebug > make -j ... _bootstrap_python: ../../cpython/Include/object.h:215: Py_SIZE: Assertion `ob->ob_type != &PyLong_Type' failed. It looks...
Opengraph URL: https://github.com/python/cpython/issues/104184
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"build fails with `--enable-pystats --with-pydebug` (use of Py_SIZE on PyLongObject)","articleBody":"```\r\n\u003e ./configure --enable-pystats --with-pydebug\r\n\u003e make -j\r\n...\r\n_bootstrap_python: ../../cpython/Include/object.h:215: Py_SIZE: Assertion `ob-\u003eob_type != \u0026PyLong_Type' failed.\r\n```\r\n\r\nIt looks like #102464 missed removing this use of `Py_SIZE` on a `PyLongObject` because it is gated behind `#ifdef Py_STATS`.\r\n\r\nWhen debug is enabled, this causes an assertion to fail. Without assertions, I think it can cause inaccurate stats collection for `STORE_SUBSCR` specialization failures.\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104217\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/carljm","@type":"Person","name":"carljm"},"datePublished":"2023-05-05T00:28:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/104184/cpython/issues/104184"}
| 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:8fa5cbd5-e93f-14f1-e0f2-b5aade4b675b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8774:60C6C:7E6F90:A94247:69697919 |
| html-safe-nonce | ff8943d837bc391adae68766618091ba9296b430c6b3ad642210acc41051617e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Nzc0OjYwQzZDOjdFNkY5MDpBOTQyNDc6Njk2OTc5MTkiLCJ2aXNpdG9yX2lkIjoiNDIzNDQ4NjE2NTMwNjcwMjEwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d9422a19978b6f4f02313762d8382750596fb011b943d54a5ac08cefa528b27e |
| hovercard-subject-tag | issue:1696856428 |
| 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/104184/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b796805a78cacce12a428fd7b7232e90a51e27b9f1e9cf09862ab0cd8f95082/python/cpython/issues/104184 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b796805a78cacce12a428fd7b7232e90a51e27b9f1e9cf09862ab0cd8f95082/python/cpython/issues/104184 |
| og:image:alt | > ./configure --enable-pystats --with-pydebug > make -j ... _bootstrap_python: ../../cpython/Include/object.h:215: Py_SIZE: Assertion `ob->ob_type != &PyLong_Type' failed. It looks like #102464 mis... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | carljm |
| 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