Title: bpo-43950: Initial base implementation for PEP 657 by pablogsal · Pull Request #26955 · python/cpython · GitHub
Open Graph Title: bpo-43950: Initial base implementation for PEP 657 by pablogsal · Pull Request #26955 · python/cpython
X Title: bpo-43950: Initial base implementation for PEP 657 by pablogsal · Pull Request #26955 · python/cpython
Description: ⚠️ This is not the full feature and contains no optimizations for the time being, just the base implementation to avoid merge conflicts in the future ⚠️ All the internal structures, and data representation are subjected to change in future PRs as we add optimizations This PR is part of PEP 657 and augments the compiler to emit ending line numbers as well as starting and ending columns from the AST into compiled code objects. This allows bytecodes to be correlated to the exact source code ranges that generated them. This information is made available through the following public APIs: The co_positions method on code objects. The C API function PyCode_Addr2Location. Co-authored-by: Pablo Galindo Pablogsal@gmail.com Co-authored-by: Batuhan Taskaya isidentical@gmail.com Co-authored-by: Ammar Asker ammar@ammaraskar.com https://bugs.python.org/issue43950
Open Graph Description: ⚠️ This is not the full feature and contains no optimizations for the time being, just the base implementation to avoid merge conflicts in the future ⚠️ All the internal structures, and data repre...
X Description: ⚠️ This is not the full feature and contains no optimizations for the time being, just the base implementation to avoid merge conflicts in the future ⚠️ All the internal structures, and data repre...
Opengraph URL: https://github.com/python/cpython/pull/26955
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:3acefdbe-ab37-9e05-ec3b-d1207d4b92c2 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C914:BAB60:5EDBE7:7B222F:696AE7EE |
| html-safe-nonce | b73de08dd13a31aa7937635955b6cb47d38c783231bd88d943d86c4887aa6f15 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTE0OkJBQjYwOjVFREJFNzo3QjIyMkY6Njk2QUU3RUUiLCJ2aXNpdG9yX2lkIjoiNDE4NjE0MTI2MDU0MTM5ODg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3e10c6bbb72dc808f9524ad3e536be0d772cedb15fdb3b55df2def9addc6889d |
| hovercard-subject-tag | pull_request:680105692 |
| 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/26955/checks |
| twitter:image | https://avatars.githubusercontent.com/u/11718525?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/11718525?s=400&v=4 |
| og:image:alt | ⚠️ This is not the full feature and contains no optimizations for the time being, just the base implementation to avoid merge conflicts in the future ⚠️ All the internal structures, and data repre... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 3d84d50b3c75fa36755c3cf392edbc09e626f979 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width