Title: gh-119786: improve internal docs on `co_linetable` by picnixz · Pull Request #123198 · python/cpython · GitHub
Open Graph Title: gh-119786: improve internal docs on `co_linetable` by picnixz · Pull Request #123198 · python/cpython
X Title: gh-119786: improve internal docs on `co_linetable` by picnixz · Pull Request #123198 · python/cpython
Description: In #123168, I needed to play with artificial instructions where some positions are not available. It's trivial to have full positions information or no positions information, but it's hard to create co_linetable values where only some instructions have positions. This PR aims to improve the internal docs so that we can easily remember what to do (and how to do it with an example). Issue: gh-119786
Open Graph Description: In #123168, I needed to play with artificial instructions where some positions are not available. It's trivial to have full positions information or no positions information, but it's hard ...
X Description: In #123168, I needed to play with artificial instructions where some positions are not available. It's trivial to have full positions information or no positions information, but it'...
Opengraph URL: https://github.com/python/cpython/pull/123198
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c8e683f8-161d-66d9-b75a-c55845fd1ee4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8CDA:139A69:879260:BC910D:696A75D4 |
| html-safe-nonce | d1a7a27d1e47a88071fe8037597c4cad5649d5734afe0d1ad348e9ab6c5c18a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0RBOjEzOUE2OTo4NzkyNjA6QkM5MTBEOjY5NkE3NUQ0IiwidmlzaXRvcl9pZCI6IjM5Mzg3MjA2NTU1ODEyNzk3MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a25014f88c7eb90e6f35dc2fa2513f5c101848d1af2fb3ee0b590c63b4cc1d98 |
| hovercard-subject-tag | pull_request:2029443160 |
| 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/123198/files |
| twitter:image | https://avatars.githubusercontent.com/u/10796600?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10796600?s=400&v=4 |
| og:image:alt | In #123168, I needed to play with artificial instructions where some positions are not available. It's trivial to have full positions information or no positions information, but it's hard ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cfa223d62d272274e0b68350b4bd7741f3ca7498b8c4b8b1bc1e6deabbdbc09d |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6a0b6893c221f98f607598e939299fdf5763435d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width