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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:30847715-4e5e-ad98-35ac-a817c0f0999c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EB30:1ED5B9:DD7BE8:12F64FF:6969EFA8 |
| html-safe-nonce | 583fc09cb9190090a16f2e988ca05442872163242c4745c2883b6761f6864a05 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjMwOjFFRDVCOTpERDdCRTg6MTJGNjRGRjo2OTY5RUZBOCIsInZpc2l0b3JfaWQiOiI4MzAyNDU4MzE5Mzg0NzM1NjU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2affb6801d8df2b369eb4c78b3010987357d66a270ea2ee367f36e6e4b4d4a9b |
| hovercard-subject-tag | pull_request:963471044 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/files |
| 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 | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width