René's URL Explorer Experiment


Title: gh-123165: make `dis` functions render positions on demand by picnixz · Pull Request #123168 · python/cpython · GitHub

Open Graph Title: gh-123165: make `dis` functions render positions on demand by picnixz · Pull Request #123168 · python/cpython

X Title: gh-123165: make `dis` functions render positions on demand by picnixz · Pull Request #123168 · python/cpython

Description: Issue: gh-123165

Open Graph Description: Issue: gh-123165

X Description: Issue: gh-123165

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:c8c6840a-3946-07f4-b317-d00cd1f20e82
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA8E6:145CEF:2032C82:2B398F4:69958777
html-safe-nonce21b7e122410df398600e06c79c35f454a537170dadfe462779e49d56a7e8068e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEU2OjE0NUNFRjoyMDMyQzgyOjJCMzk4RjQ6Njk5NTg3NzciLCJ2aXNpdG9yX2lkIjoiNDI4MDI1ODMyMzI3Mjc5NjAyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7a64d415203256e8c16093161c8d0474f159e843135098e7ab510880415003b6
hovercard-subject-tagpull_request:2027369833
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7
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:altIssue: gh-123165
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4bd759bc5f83244e2a0de29b937365905c0fefd238b6f077c24a49830375b4df
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-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7d3b3c16120f797c30c97e813df529415a18ae11
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123168%2Fcommits%2Fdf02d44548a4df3d21f12cedaa147c7b422a9ab7
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%2F123168%2Fcommits%2Fdf02d44548a4df3d21f12cedaa147c7b422a9ab7
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7
Reloadhttps://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7
Reloadhttps://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.5k 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 0 https://github.com/python/cpython/security
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:dis-show-positions-123165https://github.com/picnixz/cpython/tree/dis-show-positions-123165
Conversation 37 https://github.com/python/cpython/pull/123168
Commits 30 https://github.com/python/cpython/pull/123168/commits
Checks 0 https://github.com/python/cpython/pull/123168/checks
Files changed https://github.com/python/cpython/pull/123168/files
Please reload this pagehttps://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7
gh-123165: make dis functions render positions on demand https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7#top
Show all changes 30 commits https://github.com/python/cpython/pull/123168/files
0fdc1dd add the `show_positions` formal parameter to `dis` functions picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/0fdc1ddff7d7f4399654d23cb487c12ea7f5fe05
3157e24 add dummy `_get_positions_width` function picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/3157e24452290c8c65e5449bdbea9b13ad878c0c
a8eab11 allow to show code's positions in `dis` picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/a8eab11b0003a32555bbffcb258d2920bc2a7af7
352c16e cosmetic amendments picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/352c16ed5e496f664ebc8add941f893b9e9000c2
6cd65cf fix detection picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/6cd65cfdb3af2d5cbe67d4d64d0df3a1efe7518b
aed2959 add test picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/aed2959b4fec788168169d6f4bb522770c8ab25a
2edff6f simplify tests picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/2edff6f29552f9c4e6d7c7718c9501048c3771f9
1dd8d67 add What's New entry picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/1dd8d676d4c209d342b04ad2caaf6bbd75e8c77e
4e52413 blurb picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/4e5241302cb5284facbd9657558411e84d94e6ac
7a608e7 add docs picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/7a608e7c6a6e2244ca281d6992de0763aea1bd19
9c75597 fixup! rst picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/9c7559726dc6ea3eba10da9bfa77e672d51c4397
e14740a fixup! rst picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/e14740a21c0cc511e229f6d9c10e385a3cf9a545
fe32424 fixup! rst picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/fe3242448da49a0307821584d688cf69f9280b33
a0dce9c change style picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/a0dce9cd8e7d50f7fd13e0ebe81a82dfe8be80ba
b8c1bc8 address review picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/b8c1bc860be634e38afd71b056db8480f1dcfb22
954a312 fix rendering picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/954a312ffd2f5e89b5b457cace4dd289c57cab1b
e908990 fix docs picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/e90899015aa8c1cf59d71f1a6f1fc21dfa1f094f
df02d44 fix docstring picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7
c644767 fix init ordering picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/c64476751c653ff2cddf64b4c9108e0ba06d9c09
56bcaef update CLI arg picnixz Aug 20, 2024 https://github.com/python/cpython/pull/123168/commits/56bcaef698d8be85d444ed9a3156de49d8c79771
4355fc6 fix representation picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123168/commits/4355fc64e63b2de910269abe891873db62434ad8
d5d2343 fix f-string picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123168/commits/d5d234308962fa0252a442088728f388d2e0ca36
760beed update What's New picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123168/commits/760beed12fdab49df57ba233bea05be8ff6e0471
2356ef5 update docs picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123168/commits/2356ef5dc58588af20125c431859e57c3d5f1f86
ca3cf87 unify location rendering picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123168/commits/ca3cf876709b2862be0cdd5cd974f69c957157af
9117895 keep `lineno_width` parameter instead picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123168/commits/911789545470fe3f95beb5c8852eaf45612719ea
d48f759 address review picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123168/commits/d48f759fb14beabee796ed0820e91d7f12d7a098
860a436 improve test coverage picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123168/commits/860a43679e16399723097932a80dc450bffe6910
9dc5ed2 cosmetic adjustements picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123168/commits/9dc5ed2be26365ae8bfb48fd8e409c6a0832748b
8d8b145 cosmetic adjustements picnixz Aug 21, 2024 https://github.com/python/cpython/pull/123168/commits/8d8b1450092ba7d268da92ea2aab05b20c444c19
Clear filters https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7
Please reload this pagehttps://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7
Please reload this pagehttps://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7
Prev https://github.com/python/cpython/pull/123168/commits/e90899015aa8c1cf59d71f1a6f1fc21dfa1f094f
Next https://github.com/python/cpython/pull/123168/commits/c64476751c653ff2cddf64b4c9108e0ba06d9c09
Please reload this pagehttps://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
Lib/dis.pyhttps://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8
View file https://github.com/picnixz/cpython/blob/df02d44548a4df3d21f12cedaa147c7b422a9ab7/Lib/dis.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/123168/commits/{{ revealButtonHref }}
https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8
Please reload this pagehttps://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7
https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8
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.