Title: [3.15.0a8] Build error if specialization is disabled · Issue #148825 · python/cpython · GitHub
Open Graph Title: [3.15.0a8] Build error if specialization is disabled · Issue #148825 · python/cpython
X Title: [3.15.0a8] Build error if specialization is disabled · Issue #148825 · python/cpython
Description: Bug report Bug description: Set ENABLE_SPECIFICATION = 0 and run make. cpython/Include/internal/pycore_code.h Line 301 in d206d42 #define ENABLE_SPECIALIZATION 1 Python/specialize.c:119:31: error: use of undeclared identifier 'opcode' 11...
Open Graph Description: Bug report Bug description: Set ENABLE_SPECIFICATION = 0 and run make. cpython/Include/internal/pycore_code.h Line 301 in d206d42 #define ENABLE_SPECIALIZATION 1 Python/specialize.c:119:31: error: ...
X Description: Bug report Bug description: Set ENABLE_SPECIFICATION = 0 and run make. cpython/Include/internal/pycore_code.h Line 301 in d206d42 #define ENABLE_SPECIALIZATION 1 Python/specialize.c:119:31: error: ...
Opengraph URL: https://github.com/python/cpython/issues/148825
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[3.15.0a8] Build error if specialization is disabled","articleBody":"# Bug report\n\n### Bug description:\n\nSet `ENABLE_SPECIFICATION = 0` and run `make`.\nhttps://github.com/python/cpython/blob/d206d42834b2a34aee11b048357131371cf6947d/Include/internal/pycore_code.h#L301\n\n```\nPython/specialize.c:119:31: error: use of undeclared identifier 'opcode'\n 119 | i += _PyOpcode_Caches[opcode];\n | ^\n1 error generated.\nmake: *** [Python/specialize.o] Error 1\n```\n\nThe bug was introduced in https://github.com/python/cpython/commit/879c85f6e4ca8424ff6b4fddfbc946889572bf13, released with 3.15.0a8.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nmacOS\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-148826\n* gh-152206\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/cdce8p","@type":"Person","name":"cdce8p"},"datePublished":"2026-04-21T13:06:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/148825/cpython/issues/148825"}
| 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:c05acb7c-37d0-0cb2-97f3-657d925c034a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB2E:155B49:707128:9F754A:6A50CA3B |
| html-safe-nonce | 43fc977af45ad96a70717a24dc77df68dc765e827aaa2fe507bf2b1559092ad6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjJFOjE1NUI0OTo3MDcxMjg6OUY3NTRBOjZBNTBDQTNCIiwidmlzaXRvcl9pZCI6IjgwNTc3NjI1NzM1NzM5OTkxNjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d89efc1ab412dcd2e8373328e438bd697724278fc90edbba79b901c144a8b066 |
| hovercard-subject-tag | issue:4302780932 |
| 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/148825/issue_layout |
| twitter:image | https://opengraph.githubassets.com/883d87503bdf7158f9fbf89c3a56d9e9831ac311802cd286eec29d8bc95dcdb0/python/cpython/issues/148825 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/883d87503bdf7158f9fbf89c3a56d9e9831ac311802cd286eec29d8bc95dcdb0/python/cpython/issues/148825 |
| og:image:alt | Bug report Bug description: Set ENABLE_SPECIFICATION = 0 and run make. cpython/Include/internal/pycore_code.h Line 301 in d206d42 #define ENABLE_SPECIALIZATION 1 Python/specialize.c:119:31: error: ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cdce8p |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| 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 | 08e79d53fc070870d5b168356afebb1e286a2ffe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width