René's URL Explorer Experiment


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&#39...

Opengraph URL: https://github.com/python/cpython/pull/123198

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c8e683f8-161d-66d9-b75a-c55845fd1ee4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8CDA:139A69:879260:BC910D:696A75D4
html-safe-nonced1a7a27d1e47a88071fe8037597c4cad5649d5734afe0d1ad348e9ab6c5c18a0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0RBOjEzOUE2OTo4NzkyNjA6QkM5MTBEOjY5NkE3NUQ0IiwidmlzaXRvcl9pZCI6IjM5Mzg3MjA2NTU1ODEyNzk3MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca25014f88c7eb90e6f35dc2fa2513f5c101848d1af2fb3ee0b590c63b4cc1d98
hovercard-subject-tagpull_request:2029443160
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/123198/files
twitter:imagehttps://avatars.githubusercontent.com/u/10796600?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/10796600?s=400&v=4
og:image:altIn #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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecfa223d62d272274e0b68350b4bd7741f3ca7498b8c4b8b1bc1e6deabbdbc09d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6a0b6893c221f98f607598e939299fdf5763435d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/123198/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123198%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123198%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/123198/files
Reloadhttps://github.com/python/cpython/pull/123198/files
Reloadhttps://github.com/python/cpython/pull/123198/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/123198/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/123198/files
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
iritkatrielhttps://github.com/iritkatriel
python:mainhttps://github.com/python/cpython/tree/main
picnixz:improve-internal-docs-on-co-linetablehttps://github.com/picnixz/cpython/tree/improve-internal-docs-on-co-linetable
Conversation 18 https://github.com/python/cpython/pull/123198
Commits 9 https://github.com/python/cpython/pull/123198/commits
Checks 21 https://github.com/python/cpython/pull/123198/checks
Files changed https://github.com/python/cpython/pull/123198/files
Please reload this pagehttps://github.com/python/cpython/pull/123198/files
gh-119786: improve internal docs on co_linetable https://github.com/python/cpython/pull/123198/files#top
Show all changes 9 commits https://github.com/python/cpython/pull/123198/files
9ae4eb2 improve internal docs on `co_linetable` picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123198/commits/9ae4eb28daee7807a18a6330920f3778c7050e60
3db4e67 improve docs picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123198/commits/3db4e670c9eb11a73988e90109b207ed57ca1dd0
4028163 address review picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123198/commits/40281635f702e33628bf71e458664be6ac0fe24c
6632fa9 add missing imports picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123198/commits/6632fa9af91d719d966d96804c92168c4e64840f
588e81c simplify picnixz Aug 22, 2024 https://github.com/python/cpython/pull/123198/commits/588e81cdd90656d313a6a24093346c1460041a88
8e1c669 Merge branch 'main' into improve-internal-docs-on-co-linetable picnixz Nov 15, 2024 https://github.com/python/cpython/pull/123198/commits/8e1c6696ab6d4a427e493d7667cb0b20739caf0e
2fef85f Merge branch 'main' into doc/internal/co-linetable-119786 picnixz Nov 29, 2024 https://github.com/python/cpython/pull/123198/commits/2fef85fcbca15c18e649a50e4e6d52e77c51b38f
0ce4c26 update docs picnixz Nov 29, 2024 https://github.com/python/cpython/pull/123198/commits/0ce4c26776e56d9e63739eb24c89343e0902e664
910fd7f flatten sections picnixz Nov 29, 2024 https://github.com/python/cpython/pull/123198/commits/910fd7f2ad0d3bafeb3b26f187347b9871cc4836
Clear filters https://github.com/python/cpython/pull/123198/files
Please reload this pagehttps://github.com/python/cpython/pull/123198/files
Please reload this pagehttps://github.com/python/cpython/pull/123198/files
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L99
InternalDocs/code_objects.mdhttps://github.com/python/cpython/pull/123198/files#diff-7007744124810de89d16fb24c444235c78505ccea1848e11a5ed6956c14c58bb
View file https://github.com/picnixz/cpython/blob/910fd7f2ad0d3bafeb3b26f187347b9871cc4836/InternalDocs/code_objects.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/123198/{{ revealButtonHref }}
https://github.com/python/cpython/pull/123198/files#diff-7007744124810de89d16fb24c444235c78505ccea1848e11a5ed6956c14c58bb
https://github.com/python/cpython/pull/123198/files#diff-7007744124810de89d16fb24c444235c78505ccea1848e11a5ed6956c14c58bb
https://github.com/python/cpython/pull/123198/files#diff-7007744124810de89d16fb24c444235c78505ccea1848e11a5ed6956c14c58bb
https://github.com/python/cpython/pull/123198/files#diff-7007744124810de89d16fb24c444235c78505ccea1848e11a5ed6956c14c58bb
https://github.com/python/cpython/pull/123198/files#diff-7007744124810de89d16fb24c444235c78505ccea1848e11a5ed6956c14c58bb
Please reload this pagehttps://github.com/python/cpython/pull/123198/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.