Title: JIT: _INIT_CALL_BOUND_METHOD loses too much information/_RECORD_BOUND_METHOD not implemented · Issue #148438 · python/cpython · GitHub
Open Graph Title: JIT: _INIT_CALL_BOUND_METHOD loses too much information/_RECORD_BOUND_METHOD not implemented · Issue #148438 · python/cpython
X Title: JIT: _INIT_CALL_BOUND_METHOD loses too much information/_RECORD_BOUND_METHOD not implemented · Issue #148438 · python/cpython
Description: Feature or enhancement Proposal: It seems _RECORD_BOUND_METHOD exists in bytecodes.c but is not implemented in optimizer_bytecodes.c This means _INIT_CALL_BOUND_METHOD fails to get probable method and does not continue optimizing the tra...
Open Graph Description: Feature or enhancement Proposal: It seems _RECORD_BOUND_METHOD exists in bytecodes.c but is not implemented in optimizer_bytecodes.c This means _INIT_CALL_BOUND_METHOD fails to get probable method ...
X Description: Feature or enhancement Proposal: It seems _RECORD_BOUND_METHOD exists in bytecodes.c but is not implemented in optimizer_bytecodes.c This means _INIT_CALL_BOUND_METHOD fails to get probable method ...
Opengraph URL: https://github.com/python/cpython/issues/148438
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JIT: _INIT_CALL_BOUND_METHOD loses too much information/_RECORD_BOUND_METHOD not implemented","articleBody":"# Feature or enhancement\n\n### Proposal:\n\nIt seems _RECORD_BOUND_METHOD exists in bytecodes.c but is not implemented in optimizer_bytecodes.c This means _INIT_CALL_BOUND_METHOD fails to get probable method and does not continue optimizing the trace.\n\nThe problem with not doing this is that the _PUSH_FRAME at the call site for the bound method decides to hit bottom because it sees no code object :(. So any trace with a call to a bound method does not get optimized after the call. This is pretty bad...\n\n### Has this already been discussed elsewhere?\n\nNo response given\n\n### Links to previous discussion of this feature:\n\n_No response_\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-148457\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/Fidget-Spinner","@type":"Person","name":"Fidget-Spinner"},"datePublished":"2026-04-12T11:33:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/148438/cpython/issues/148438"}
| 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:c901b20a-69c4-89e6-d444-884b6cd3017c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C45E:1ED62B:BEDD4C:1034BC7:6A520CA3 |
| html-safe-nonce | c4dc496db2297bc89a819edd5ba0029848d8ab92dd154b9a1432d772c13678e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDVFOjFFRDYyQjpCRURENEM6MTAzNEJDNzo2QTUyMENBMyIsInZpc2l0b3JfaWQiOiIzNTYxNjg3NzAzMTM2MzczOTIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | eb4ac5f8625c8e42fe6d169cc74a66797b28abb08f11b47bbe4b6a9313aea52b |
| hovercard-subject-tag | issue:4247808062 |
| 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/148438/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fdf4178a6e58967848cad758554ac1fba90f82af183bbe9401143b1536de428a/python/cpython/issues/148438 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fdf4178a6e58967848cad758554ac1fba90f82af183bbe9401143b1536de428a/python/cpython/issues/148438 |
| og:image:alt | Feature or enhancement Proposal: It seems _RECORD_BOUND_METHOD exists in bytecodes.c but is not implemented in optimizer_bytecodes.c This means _INIT_CALL_BOUND_METHOD fails to get probable method ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Fidget-Spinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width