| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:c8c6840a-3946-07f4-b317-d00cd1f20e82 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A8E6:145CEF:2032C82:2B398F4:69958777 |
| html-safe-nonce | 21b7e122410df398600e06c79c35f454a537170dadfe462779e49d56a7e8068e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEU2OjE0NUNFRjoyMDMyQzgyOjJCMzk4RjQ6Njk5NTg3NzciLCJ2aXNpdG9yX2lkIjoiNDI4MDI1ODMyMzI3Mjc5NjAyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7a64d415203256e8c16093161c8d0474f159e843135098e7ab510880415003b6 |
| hovercard-subject-tag | pull_request:2027369833 |
| 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 | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7 |
| 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 | Issue: gh-123165 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4bd759bc5f83244e2a0de29b937365905c0fefd238b6f077c24a49830375b4df |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d3b3c16120f797c30c97e813df529415a18ae11 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7 |
| Reload | https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7 |
| Reload | https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| iritkatriel | https://github.com/iritkatriel |
| python:main | https://github.com/python/cpython/tree/main |
| picnixz:dis-show-positions-123165 | https://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 page | https://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 page | https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7 |
| Please reload this page | https://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 page | https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7 |
|
| https://github.com/picnixz |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| Lib/dis.py | https://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 page | https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7 |
|
| https://github.com/python/cpython/pull/123168/commits/df02d44548a4df3d21f12cedaa147c7b422a9ab7#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |