René's URL Explorer Experiment


Title: gh-153568: Don't materialize parser token text that is never read by pablogsal · Pull Request #153576 · python/cpython · GitHub

Open Graph Title: gh-153568: Don't materialize parser token text that is never read by pablogsal · Pull Request #153576 · python/cpython

X Title: gh-153568: Don't materialize parser token text that is never read by pablogsal · Pull Request #153576 · python/cpython

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

Open Graph Description: The parser created a bytes object for every token, but only identifiers, keywords, numbers, strings and type comments ever have their text read. Operators and structural tokens now skip the allocat...

X Description: The parser created a bytes object for every token, but only identifiers, keywords, numbers, strings and type comments ever have their text read. Operators and structural tokens now skip the allocat...

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

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:e942143a-aa5a-d8f2-2bd2-48dc70988365
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD01E:19B6A2:1744456:1EBE99D:6B0206A4
html-safe-nonce4a918b4eabd9e647670b681364525818b93e0c4a1ad3f1b4ac6befe19abe6995
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDFFOjE5QjZBMjoxNzQ0NDU2OjFFQkU5OUQ6NkIwMjA2QTQiLCJ2aXNpdG9yX2lkIjoiNDQxODY2MDA1MzgxNzYyNDIyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9c05d589558baa6c9c54cc72117627282357e54b44ea4a7f3029dde151558250
hovercard-subject-tagpull_request:4035656975
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/153576/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6eb58b1b9e8918a77481cb4045b7032035cbce85655bbbd92e6986dd2212c165/python/cpython/pull/153576
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6eb58b1b9e8918a77481cb4045b7032035cbce85655bbbd92e6986dd2212c165/python/cpython/pull/153576
og:image:altThe parser created a bytes object for every token, but only identifiers, keywords, numbers, strings and type comments ever have their text read. Operators and structural tokens now skip the allocat...
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/153576#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153576
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%2F153576
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/153576
Reloadhttps://github.com/python/cpython/pull/153576
Reloadhttps://github.com/python/cpython/pull/153576
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-153568-token-texthttps://github.com/pablogsal/cpython/tree/gh-153568-token-text
Conversationhttps://github.com/python/cpython/pull/153576
Commits3 (3)https://github.com/python/cpython/pull/153576/commits
Checkshttps://github.com/python/cpython/pull/153576/checks
Files changedhttps://github.com/python/cpython/pull/153576/files
gh-153568: Don't materialize parser token text that is never readhttps://github.com/python/cpython/pull/153576#top
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
pablogsal:gh-153568-token-texthttps://github.com/pablogsal/cpython/tree/gh-153568-token-text
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Jul 11, 2026https://github.com/python/cpython/pull/153576#issue-4862603061
Please reload this pagehttps://github.com/python/cpython/pull/153576
Speed up the parser #153568https://github.com/python/cpython/issues/153568
Please reload this pagehttps://github.com/python/cpython/pull/153576
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
lysnikolaouhttps://github.com/lysnikolaou
code ownerhttps://github.com/python/cpython/blob/7671ee1eba3c7c13747761b35b4b9d4166a4670a/.github/CODEOWNERS#L315
July 11, 2026 14:07https://github.com/python/cpython/pull/153576#event-27853649410
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 11, 2026 https://github.com/python/cpython/pull/153576#ref-issue-4862558071
Speed up the parser #153568 https://github.com/python/cpython/issues/153568
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
Jul 11, 2026https://github.com/python/cpython/pull/153576#event-27853653278
https://github.com/maurycy
maurycyhttps://github.com/maurycy
Jul 11, 2026 https://github.com/python/cpython/pull/153576#pullrequestreview-4678835034
View reviewed changes https://github.com/python/cpython/pull/153576/files
Parser/pegen.chttps://github.com/python/cpython/pull/153576/files#diff-ec9a9d08c5b1d518997db0f5b4795c528a41efc35507d6c2a384eee43f047cb7
Please reload this pagehttps://github.com/python/cpython/pull/153576
https://github.com/maurycy
maurycyhttps://github.com/maurycy
Jul 19, 2026https://github.com/python/cpython/pull/153576#issuecomment-5015095369
Please reload this pagehttps://github.com/python/cpython/pull/153576
1e18605https://github.com/python/cpython/commit/1e18605b31811dd433e2ced3899a9db5ddd7afc6
Please reload this pagehttps://github.com/python/cpython/pull/153576
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/382cb01eb5fcafb49e4d1def1fbf329b2aa099a1..f78606c82c367f7a7e58eb10dc56a751b565d9c5
382cb01https://github.com/python/cpython/commit/382cb01eb5fcafb49e4d1def1fbf329b2aa099a1
f78606chttps://github.com/python/cpython/commit/f78606c82c367f7a7e58eb10dc56a751b565d9c5
Compare https://github.com/python/cpython/compare/382cb01eb5fcafb49e4d1def1fbf329b2aa099a1..f78606c82c367f7a7e58eb10dc56a751b565d9c5
August 27, 2026 11:39https://github.com/python/cpython/pull/153576#event-30100669364
pablogsalhttps://github.com/pablogsal
September 14, 2026 16:32https://github.com/python/cpython/pull/153576#commits-pushed-36ece16
https://github.com/pablogsal
pythongh-153568https://github.com/python/cpython/issues/153568
: Don't materialize parser token text that is never readhttps://github.com/python/cpython/pull/153576/commits/36ece1656bd6b18240738105ebad421eb23142ef
36ece16https://github.com/python/cpython/pull/153576/commits/36ece1656bd6b18240738105ebad421eb23142ef
https://github.com/pablogsal
https://github.com/maurycy
Update Parser/pegen.chttps://github.com/python/cpython/pull/153576/commits/0e3cfaedbd8e6939fdfa23734e3c313b266c0b30
0e3cfaehttps://github.com/python/cpython/pull/153576/commits/0e3cfaedbd8e6939fdfa23734e3c313b266c0b30
https://github.com/pablogsal
pythongh-153568https://github.com/python/cpython/issues/153568
: Preserve keyword token texthttps://github.com/python/cpython/pull/153576/commits/3a71cad913c98c7d03b679f2679f033d382d098f
3a71cadhttps://github.com/python/cpython/pull/153576/commits/3a71cad913c98c7d03b679f2679f033d382d098f
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/f78606c82c367f7a7e58eb10dc56a751b565d9c5..3a71cad913c98c7d03b679f2679f033d382d098f
f78606chttps://github.com/python/cpython/commit/f78606c82c367f7a7e58eb10dc56a751b565d9c5
3a71cadhttps://github.com/python/cpython/commit/3a71cad913c98c7d03b679f2679f033d382d098f
Compare https://github.com/python/cpython/compare/f78606c82c367f7a7e58eb10dc56a751b565d9c5..3a71cad913c98c7d03b679f2679f033d382d098f
September 14, 2026 15:34https://github.com/python/cpython/pull/153576#event-31111950643
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
September 14, 2026 20:27https://github.com/python/cpython/pull/153576#event-31128482658
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
e5fbabbhttps://github.com/python/cpython/commit/e5fbabbb47f45f738d42d0a558f37d221937adf0
Sep 14, 2026https://github.com/python/cpython/pull/153576#event-31128765858
Please reload this pagehttps://github.com/python/cpython/pull/153576
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
September 14, 2026 20:32https://github.com/python/cpython/pull/153576#event-31128767884
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 14, 2026https://github.com/python/cpython/pull/153576#event-31128769358
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%2F153576
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
https://github.com/maurycy
maurycy https://github.com/maurycy
https://github.com/python/cpython/pull/153576/files/c758acc29541a8204c429c53a4708a0288840571
Please reload this pagehttps://github.com/python/cpython/pull/153576
Please reload this pagehttps://github.com/python/cpython/pull/153576
https://github.com/pablogsal
https://github.com/maurycy
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.