Title: _LOAD_ATTR_PROPERTY_FRAME has too weak checks that are also slow · Issue #148510 · python/cpython · GitHub
Open Graph Title: _LOAD_ATTR_PROPERTY_FRAME has too weak checks that are also slow · Issue #148510 · python/cpython
X Title: _LOAD_ATTR_PROPERTY_FRAME has too weak checks that are also slow · Issue #148510 · python/cpython
Description: Bug report Bug description: See title, apparently we used to check func_version, then we removed it in 5f60011 These checks are slower and too weak for the JIT. We should restore the func_version check. This should also improve the speci...
Open Graph Description: Bug report Bug description: See title, apparently we used to check func_version, then we removed it in 5f60011 These checks are slower and too weak for the JIT. We should restore the func_version c...
X Description: Bug report Bug description: See title, apparently we used to check func_version, then we removed it in 5f60011 These checks are slower and too weak for the JIT. We should restore the func_version c...
Opengraph URL: https://github.com/python/cpython/issues/148510
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"_LOAD_ATTR_PROPERTY_FRAME has too weak checks that are also slow","articleBody":"# Bug report\n\n### Bug description:\n\nSee title, apparently we used to check func_version, then we removed it in https://github.com/python/cpython/commit/5f6001130f8ada871193377954cfcfee01ef93b6\n\nThese checks are slower and too weak for the JIT. We should restore the func_version check. This should also improve the specializing interpreter, as a single func version check is faster than checking for a bunch of flags.\n\nThis comment in the JIT says the JIT is bugged for that uop as a result https://github.com/python/cpython/blob/main/Python/optimizer_bytecodes.c#L988\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\n_No response_\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-148528\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/Fidget-Spinner","@type":"Person","name":"Fidget-Spinner"},"datePublished":"2026-04-13T17:09:04Z","url":"https://github.com/python/cpython/issues/148510"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:77767799-8971-4589-1171-027e43aea1fb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFB6:928E2:3599452:476DB71:6B020780 |
| html-safe-nonce | 77c6f0a34eace99eb90d0284ebfcd4df1aaca3416f193be283d650f8de0e36f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkI2OjkyOEUyOjM1OTk0NTI6NDc2REI3MTo2QjAyMDc4MCIsInZpc2l0b3JfaWQiOiI1ODc3ODEwMzYwMTAyMjkxMzI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a545e6e49d61e4c47bbddb2a4743fb05b2f33a5cd2deef1c73f06970b9c6d77c |
| hovercard-subject-tag | issue:4256607649 |
| 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/148510/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bebcf5e2493b2d04c7dee82d3b093e2cda1636d578f5708a31f853812042784c/python/cpython/issues/148510 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bebcf5e2493b2d04c7dee82d3b093e2cda1636d578f5708a31f853812042784c/python/cpython/issues/148510 |
| og:image:alt | Bug report Bug description: See title, apparently we used to check func_version, then we removed it in 5f60011 These checks are slower and too weak for the JIT. We should restore the func_version c... |
| 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 | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width