Title: gh-105481: Generate the opcode lists in dis from data extracted from bytecodes.c by iritkatriel · Pull Request #106758 · python/cpython · GitHub
Open Graph Title: gh-105481: Generate the opcode lists in dis from data extracted from bytecodes.c by iritkatriel · Pull Request #106758 · python/cpython
X Title: gh-105481: Generate the opcode lists in dis from data extracted from bytecodes.c by iritkatriel · Pull Request #106758 · python/cpython
Description: The generated lists are more correct than the (old) hard-coded ones, which were not maintained properly. For example: Old: >>> [opcode.opname[op] for op in opcode.haslocal] ['LOAD_FAST', 'STORE_FAST', 'DELETE_FAST', 'LOAD_FAST_CHECK', 'LOAD_FAST_AND_CLEAR', 'STORE_FAST_MAYBE_NULL', 'LOAD_CLOSURE'] New: >>> [opcode.opname[op] for op in opcode.haslocal] ['LOAD_FAST', 'STORE_FAST', 'DELETE_FAST', 'LOAD_FAST_CHECK', 'MAKE_CELL', 'LOAD_DEREF', 'STORE_DEREF', 'DELETE_DEREF', 'LOAD_FAST_AND_CLEAR', 'LOAD_FAST_LOAD_FAST', 'STORE_FAST_LOAD_FAST', 'STORE_FAST_STORE_FAST', 'LOAD_FROM_DICT_OR_DEREF', 'STORE_FAST_MAYBE_NULL', 'LOAD_CLOSURE'] Issue: gh-105481
Open Graph Description: The generated lists are more correct than the (old) hard-coded ones, which were not maintained properly. For example: Old: >>> [opcode.opname[op] for op in opcode.haslocal] ['LOAD_FAST...
X Description: The generated lists are more correct than the (old) hard-coded ones, which were not maintained properly. For example: Old: >>> [opcode.opname[op] for op in opcode.haslocal] [&a...
Opengraph URL: https://github.com/python/cpython/pull/106758
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:2e2b8b0c-afa2-2f78-412d-fc775d3a9a29 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A1B2:26A5A1:2F9DF0:40E7A3:6969D2E8 |
| html-safe-nonce | ba16ffaafb225d96fc34af9152b5d969c855175b921d17ba8cf7bd5147cb85c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUIyOjI2QTVBMToyRjlERjA6NDBFN0EzOjY5NjlEMkU4IiwidmlzaXRvcl9pZCI6IjQ0MTQyNDY5Mjc2NDk1OTIwNDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 11482457a9b8e6792b5bbf8bf8fa1b584866cfa3f8b1c0fe34aebf2e9d58f661 |
| hovercard-subject-tag | pull_request:1435422511 |
| 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/106758/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1055913?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1055913?s=400&v=4 |
| og:image:alt | The generated lists are more correct than the (old) hard-coded ones, which were not maintained properly. For example: Old: >>> [opcode.opname[op] for op in opcode.haslocal] ['LOAD_FAST... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width