Title: Add test coverage for interpreter loop generator overridden insts · Issue #142913 · python/cpython · GitHub
Open Graph Title: Add test coverage for interpreter loop generator overridden insts · Issue #142913 · python/cpython
X Title: Add test coverage for interpreter loop generator overridden insts · Issue #142913 · python/cpython
Description: The interpreter generator has long supported giving it multiple bytecodes files where the latter files override opcodes defined in the earlier opcodes. This enables PEP 523 hook users to generate an interpreter loop using the existing op...
Open Graph Description: The interpreter generator has long supported giving it multiple bytecodes files where the latter files override opcodes defined in the earlier opcodes. This enables PEP 523 hook users to generate a...
X Description: The interpreter generator has long supported giving it multiple bytecodes files where the latter files override opcodes defined in the earlier opcodes. This enables PEP 523 hook users to generate a...
Opengraph URL: https://github.com/python/cpython/issues/142913
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add test coverage for interpreter loop generator overridden insts","articleBody":"\n\nThe interpreter generator has long supported giving it multiple bytecodes files where the latter files override opcodes defined in the earlier opcodes. This enables PEP 523 hook users to generate an interpreter loop using the existing opcodes and their own set of customizations. But there've been no test cases that validate this actually works.\n\nThis adds such a test case and fixes things up so this practically works. static functions used directly in the interpreter loop are moved into ceval.h. APIs which are used but not exported are marked as exported.\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-142911\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/DinoV","@type":"Person","name":"DinoV"},"datePublished":"2025-12-18T00:23:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/142913/cpython/issues/142913"}
| 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:3d30524f-aba6-89bb-b4d5-f79ffc6ee0ff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 969A:256EA0:13C5013:1A71CA5:6969B05E |
| html-safe-nonce | 69b98c05c0684a59d878aa67f9dac38932c18e7f12742094c583dbde537f11bb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjlBOjI1NkVBMDoxM0M1MDEzOjFBNzFDQTU6Njk2OUIwNUUiLCJ2aXNpdG9yX2lkIjoiODg5MTg4OTc4MjcyNzc0OTcyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f6bcc3cdfd5be66c2672a97f793a603e8751ba82345e4eedaa47405c856b364d |
| hovercard-subject-tag | issue:3740920735 |
| 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/142913/issue_layout |
| twitter:image | https://opengraph.githubassets.com/84f99466e999a29bb5c88c7ccd5d91c55d30fef5d3311763f950b02b16de2ef5/python/cpython/issues/142913 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/84f99466e999a29bb5c88c7ccd5d91c55d30fef5d3311763f950b02b16de2ef5/python/cpython/issues/142913 |
| og:image:alt | The interpreter generator has long supported giving it multiple bytecodes files where the latter files override opcodes defined in the earlier opcodes. This enables PEP 523 hook users to generate a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DinoV |
| hostname | github.com |
| expected-hostname | github.com |
| None | b23b8fcc855cd29bb04d6c94aafa62d336bf44eefa8229444eecc968cad03aee |
| 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 | 0672399d88424758731ec07fe24509e23bb17fb5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width