Title: GH-91389: Fix `dis` position information for `CACHE`s by brandtbucher · Pull Request #93663 · python/cpython · GitHub
Open Graph Title: GH-91389: Fix `dis` position information for `CACHE`s by brandtbucher · Pull Request #93663 · python/cpython
X Title: GH-91389: Fix `dis` position information for `CACHE`s by brandtbucher · Pull Request #93663 · python/cpython
Description: We currently don't advance the co_positions iterator for CACHE entries, which can lead to incorrect positions being reported for later instructions. Also, the positions for cache entries should be populated, not None. Also, don't show a "pretty" argrepr for cache entries unless they're actually being used by a quickened instruction. This cuts down on visual clutter when show_caches=True, adaptive=False, or for instructionss we've completely unquickened.
Open Graph Description: We currently don't advance the co_positions iterator for CACHE entries, which can lead to incorrect positions being reported for later instructions. Also, the positions for cache entries should...
X Description: We currently don't advance the co_positions iterator for CACHE entries, which can lead to incorrect positions being reported for later instructions. Also, the positions for cache entries sh...
Opengraph URL: https://github.com/python/cpython/pull/93663
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:70249f0f-fff9-3924-099b-cb2e776234cf |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D8A6:1F9980:AB06B5:E67531:69697FB4 |
| html-safe-nonce | 6c02f389e7632fdbe00bd639ef04df38c1d8290c3007a0c1b01afa767357ee18 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEE2OjFGOTk4MDpBQjA2QjU6RTY3NTMxOjY5Njk3RkI0IiwidmlzaXRvcl9pZCI6IjcxOTEyNDUyMjUwMDk0NDY4MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 750d6d0083560a56a985c196f70398c09d871be86a86fab8339002413ef0b089 |
| hovercard-subject-tag | pull_request:963471044 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python/cpython/pull/93663/checks |
| twitter:image | https://avatars.githubusercontent.com/u/40968415?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40968415?s=400&v=4 |
| og:image:alt | We currently don't advance the co_positions iterator for CACHE entries, which can lead to incorrect positions being reported for later instructions. Also, the positions for cache entries should... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77 |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 48f380098b30acbb700b04f1724481ca10d574fc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width