René's URL Explorer Experiment


Title: gh-153569: return token spans and unify decoded source storage by pablogsal · Pull Request #156482 · python/cpython · GitHub

Open Graph Title: gh-153569: return token spans and unify decoded source storage by pablogsal · Pull Request #156482 · python/cpython

X Title: gh-153569: return token spans and unify decoded source storage by pablogsal · Pull Request #156482 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Return tokenizer tokens as logical source spans with start/end locations, and give all decoded input one owner in SourceText. File and readline input discard consumed windows while advancing a logi...

X Description: Return tokenizer tokens as logical source spans with start/end locations, and give all decoded input one owner in SourceText. File and readline input discard consumed windows while advancing a logi...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:82ffc3ba-9ea5-2ce2-11d3-0fd0a0e93dbc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB9DC:2DBB21:3292D3E:4381B96:6B01F70F
html-safe-nonce2f6910905784fe4a9ec5443f3e8be092b67c06cfd4249c9aad5f16998a6e9ab4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOURDOjJEQkIyMTozMjkyRDNFOjQzODFCOTY6NkIwMUY3MEYiLCJ2aXNpdG9yX2lkIjoiNzA1MTYyNTU5MjExMzk4NTI5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac793c6669f0b76f844155e5aa966b3e610f56eae561e5fa1d21b2fbb1741c8500
hovercard-subject-tagpull_request:4377727254
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/156482/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/02347a4221e56bcd45264bb9e45dfc6eb5b493c8a905a416ce4a4bd3a9ad9ab4/python/cpython/pull/156482
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/02347a4221e56bcd45264bb9e45dfc6eb5b493c8a905a416ce4a4bd3a9ad9ab4/python/cpython/pull/156482
og:image:altReturn tokenizer tokens as logical source spans with start/end locations, and give all decoded input one owner in SourceText. File and readline input discard consumed windows while advancing a logi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepablogsal
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/156482#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156482
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156482
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/156482
Reloadhttps://github.com/python/cpython/pull/156482
Reloadhttps://github.com/python/cpython/pull/156482
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
pablogsal:gh-153569-tokenizer-offset-statehttps://github.com/pablogsal/cpython/tree/gh-153569-tokenizer-offset-state
Conversationhttps://github.com/python/cpython/pull/156482
Commits6 (6)https://github.com/python/cpython/pull/156482/commits
Checkshttps://github.com/python/cpython/pull/156482/checks
Files changedhttps://github.com/python/cpython/pull/156482/files
gh-153569: return token spans and unify decoded source storagehttps://github.com/python/cpython/pull/156482#top
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
pablogsal:gh-153569-tokenizer-offset-statehttps://github.com/pablogsal/cpython/tree/gh-153569-tokenizer-offset-state
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 27, 2026https://github.com/python/cpython/pull/156482#issue-5269850942
Please reload this pagehttps://github.com/python/cpython/pull/156482
#156654https://github.com/python/cpython/pull/156654
#156472https://github.com/python/cpython/pull/156472
#156484https://github.com/python/cpython/pull/156484
#156654https://github.com/python/cpython/pull/156654
Base the tokenizer API on source offsets #153569https://github.com/python/cpython/issues/153569
Please reload this pagehttps://github.com/python/cpython/pull/156482
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 27, 2026 https://github.com/python/cpython/pull/156482#ref-issue-4862561196
Base the tokenizer API on source offsets #153569 https://github.com/python/cpython/issues/153569
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 27, 2026 https://github.com/python/cpython/pull/156482#ref-pullrequest-5270202686
gh-153569: centralize formatted-string state and source spans #156484 https://github.com/python/cpython/pull/156484
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 27, 2026https://github.com/python/cpython/pull/156482#issuecomment-5442656799
#156472https://github.com/python/cpython/pull/156472
Please reload this pagehttps://github.com/python/cpython/pull/156482
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Aug 27, 2026https://github.com/python/cpython/pull/156482#event-30120221612
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/dddc13327a14b53e155310589cbe03c2e4ddd250..175360509494da73d0ef88b3e4ce59ffc970984b
dddc133https://github.com/python/cpython/commit/dddc13327a14b53e155310589cbe03c2e4ddd250
1753605https://github.com/python/cpython/commit/175360509494da73d0ef88b3e4ce59ffc970984b
Compare https://github.com/python/cpython/compare/dddc13327a14b53e155310589cbe03c2e4ddd250..175360509494da73d0ef88b3e4ce59ffc970984b
August 28, 2026 15:32https://github.com/python/cpython/pull/156482#event-30173542132
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 28, 2026https://github.com/python/cpython/pull/156482#issuecomment-5454479756
#156472https://github.com/python/cpython/pull/156472
Please reload this pagehttps://github.com/python/cpython/pull/156482
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/175360509494da73d0ef88b3e4ce59ffc970984b..8bd1d3a034d764f1ede2f4a584acb4fa83e33a96
1753605https://github.com/python/cpython/commit/175360509494da73d0ef88b3e4ce59ffc970984b
8bd1d3ahttps://github.com/python/cpython/commit/8bd1d3a034d764f1ede2f4a584acb4fa83e33a96
Compare https://github.com/python/cpython/compare/175360509494da73d0ef88b3e4ce59ffc970984b..8bd1d3a034d764f1ede2f4a584acb4fa83e33a96
August 28, 2026 16:24https://github.com/python/cpython/pull/156482#event-30175931467
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 28, 2026https://github.com/python/cpython/pull/156482#event-30175938871
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/8bd1d3a034d764f1ede2f4a584acb4fa83e33a96..c10fd829f14f264952b19e55fceba378cd9e70ea
8bd1d3ahttps://github.com/python/cpython/commit/8bd1d3a034d764f1ede2f4a584acb4fa83e33a96
c10fd82https://github.com/python/cpython/commit/c10fd829f14f264952b19e55fceba378cd9e70ea
Compare https://github.com/python/cpython/compare/8bd1d3a034d764f1ede2f4a584acb4fa83e33a96..c10fd829f14f264952b19e55fceba378cd9e70ea
August 28, 2026 18:08https://github.com/python/cpython/pull/156482#event-30180582562
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Aug 28, 2026https://github.com/python/cpython/pull/156482#event-30180597530
https://github.com/linakhan470-cell
linakhan470-cellhttps://github.com/linakhan470-cell
Aug 28, 2026 https://github.com/python/cpython/pull/156482#pullrequestreview-5053801435
View reviewed changes https://github.com/python/cpython/pull/156482/files
linakhan470-cellhttps://github.com/linakhan470-cell
https://github.com/python/cpython/pull/156482#pullrequestreview-5053801435
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/156482
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
August 28, 2026 21:15https://github.com/python/cpython/pull/156482#event-30188409221
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
lysnikolaouhttps://github.com/lysnikolaou
code ownerhttps://github.com/python/cpython/blob/683ef4082d374eb26c1ead33f8fd989eeadc742d/.github/CODEOWNERS#L306
August 28, 2026 21:15https://github.com/python/cpython/pull/156482#event-30188410819
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 28, 2026https://github.com/python/cpython/pull/156482#event-30188416011
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/150ee6a082782b341ed2c32abb43b4624193c37b..f134e816fff8dd8adad43180aba9156f4f6eee8f
150ee6ahttps://github.com/python/cpython/commit/150ee6a082782b341ed2c32abb43b4624193c37b
f134e81https://github.com/python/cpython/commit/f134e816fff8dd8adad43180aba9156f4f6eee8f
Compare https://github.com/python/cpython/compare/150ee6a082782b341ed2c32abb43b4624193c37b..f134e816fff8dd8adad43180aba9156f4f6eee8f
August 30, 2026 16:10https://github.com/python/cpython/pull/156482#event-30240490546
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Sep 5, 2026https://github.com/python/cpython/pull/156482#event-30617948178
pablogsalhttps://github.com/pablogsal
September 5, 2026 20:24https://github.com/python/cpython/pull/156482#commits-pushed-44ef2d1
https://github.com/pablogsal
pythongh-153569https://github.com/python/cpython/issues/153569
: bound tokenizer input storagehttps://github.com/python/cpython/pull/156482/commits/44ef2d1caace7e77285079fb9601c6b5bad4ec4d
44ef2d1https://github.com/python/cpython/pull/156482/commits/44ef2d1caace7e77285079fb9601c6b5bad4ec4d
https://github.com/pablogsal
pythongh-153569https://github.com/python/cpython/issues/153569
: return tokenizer tokens as source spanshttps://github.com/python/cpython/pull/156482/commits/f381082d3b34f3cc2747f5da998651c58079e116
f381082https://github.com/python/cpython/pull/156482/commits/f381082d3b34f3cc2747f5da998651c58079e116
https://github.com/pablogsal
pythongh-153569https://github.com/python/cpython/issues/153569
: enforce tokenizer buffer view lifetimeshttps://github.com/python/cpython/pull/156482/commits/b60cc049a7098266e574667eba32aa94a0b5bcf7
b60cc04https://github.com/python/cpython/pull/156482/commits/b60cc049a7098266e574667eba32aa94a0b5bcf7
https://github.com/pablogsal
pythongh-153569https://github.com/python/cpython/issues/153569
: Unify decoded tokenizer storage ownershiphttps://github.com/python/cpython/pull/156482/commits/2bdef783ebcec30fa5905b57d68d79b3a6172e28
2bdef78https://github.com/python/cpython/pull/156482/commits/2bdef783ebcec30fa5905b57d68d79b3a6172e28
https://github.com/pablogsal
pythongh-153569https://github.com/python/cpython/issues/153569
: Avoid overflow when sizing implicit line flagshttps://github.com/python/cpython/pull/156482/commits/27c3d732c3d375d9d133782038984b2da7647da7
27c3d73https://github.com/python/cpython/pull/156482/commits/27c3d732c3d375d9d133782038984b2da7647da7
https://github.com/pablogsal
Remove stale tokenizer buffer ownership commenthttps://github.com/python/cpython/pull/156482/commits/6117ae337c2242a5a7767a34a81809f6ff6fb4c0
6117ae3https://github.com/python/cpython/pull/156482/commits/6117ae337c2242a5a7767a34a81809f6ff6fb4c0
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/bf25f7b0c49885efe2c3d65b06cac1d50bf12215..6117ae337c2242a5a7767a34a81809f6ff6fb4c0
bf25f7bhttps://github.com/python/cpython/commit/bf25f7b0c49885efe2c3d65b06cac1d50bf12215
6117ae3https://github.com/python/cpython/commit/6117ae337c2242a5a7767a34a81809f6ff6fb4c0
Compare https://github.com/python/cpython/compare/bf25f7b0c49885efe2c3d65b06cac1d50bf12215..6117ae337c2242a5a7767a34a81809f6ff6fb4c0
September 5, 2026 19:52https://github.com/python/cpython/pull/156482#event-30618900701
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
09117bchttps://github.com/python/cpython/commit/09117bc3173b6854f3d614fb0efe79bca4b4cc63
Sep 6, 2026https://github.com/python/cpython/pull/156482#event-30652142247
Please reload this pagehttps://github.com/python/cpython/pull/156482
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
September 6, 2026 20:15https://github.com/python/cpython/pull/156482#event-30652143272
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 6, 2026https://github.com/python/cpython/pull/156482#event-30652143569
clin1234https://github.com/clin1234
Sep 12, 2026 https://github.com/python/cpython/pull/156482#ref-commit-14b465f
https://github.com/pablogsal
https://github.com/clin1234
pythongh-153569https://github.com/python/cpython/issues/153569
: return token spans and unify decoded source storage (https://github.com/clin1234/cpython/commit/14b465f75d8a5af42bb4fe03be8f9e83c557239a
p…https://github.com/python/cpython/pull/156482
14b465fhttps://github.com/clin1234/cpython/commit/14b465f75d8a5af42bb4fe03be8f9e83c557239a
…ython#156482https://github.com/python/cpython/pull/156482
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156482
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
https://github.com/linakhan470-cell
linakhan470-cell https://github.com/linakhan470-cell
https://github.com/python/cpython/pull/156482/files/c10fd829f14f264952b19e55fceba378cd9e70ea
Please reload this pagehttps://github.com/python/cpython/pull/156482
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/156482
https://github.com/pablogsal
https://github.com/linakhan470-cell
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.