René's URL Explorer Experiment


Title: gh-104976: Ensure trailing dedent tokens are emitted as the previous tokenizer by pablogsal · Pull Request #104980 · python/cpython · GitHub

Open Graph Title: gh-104976: Ensure trailing dedent tokens are emitted as the previous tokenizer by pablogsal · Pull Request #104980 · python/cpython

X Title: gh-104976: Ensure trailing dedent tokens are emitted as the previous tokenizer by pablogsal · Pull Request #104980 · python/cpython

Description: Issue: Consider emitting buffered DEDENT tokens on the last line #104976

Open Graph Description: Issue: Consider emitting buffered DEDENT tokens on the last line #104976

X Description: Issue: Consider emitting buffered DEDENT tokens on the last line #104976

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

X: @github

direct link

Domain: github.com

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:f9566ede-169f-90b6-5477-957c97ef48e1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEDCE:345820:B2B772:F412B9:6969EC2A
html-safe-nonceea4318cb4b4bf337f71351a363b6a31076698daf529c2cd0f8a69390ff134d41
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRENFOjM0NTgyMDpCMkI3NzI6RjQxMkI5OjY5NjlFQzJBIiwidmlzaXRvcl9pZCI6IjYzODQyMzc1MjE2NzkyODExOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac178f4e764251ca908bc10fedee15070c5de4cc4e976c41b47ec24ffc797470e1
hovercard-subject-tagpull_request:1366432144
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/104980/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/90606dcc54b7b8dda7582671cf03faa1317c706d975d6e740eaa45611fef912b/python/cpython/pull/104980
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/90606dcc54b7b8dda7582671cf03faa1317c706d975d6e740eaa45611fef912b/python/cpython/pull/104980
og:image:altIssue: Consider emitting buffered DEDENT tokens on the last line #104976
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepablogsal
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/104980#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F104980
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%2F104980
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/104980
Reloadhttps://github.com/python/cpython/pull/104980
Reloadhttps://github.com/python/cpython/pull/104980
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/104980
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/104980
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
Jump to bottomhttps://github.com/python/cpython/pull/104980#issue-comment-box
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
pablogsal:gh-104976https://github.com/pablogsal/cpython/tree/gh-104976
gh-104976: Ensure trailing dedent tokens are emitted as the previous tokenizer https://github.com/python/cpython/pull/104980#top
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
pablogsal:gh-104976https://github.com/pablogsal/cpython/tree/gh-104976
Conversation 10 https://github.com/python/cpython/pull/104980
Commits 1 https://github.com/python/cpython/pull/104980/commits
Checks 0 https://github.com/python/cpython/pull/104980/checks
Files changed https://github.com/python/cpython/pull/104980/files
Please reload this pagehttps://github.com/python/cpython/pull/104980
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
May 26, 2023https://github.com/python/cpython/pull/104980#issue-1727716614
Please reload this pagehttps://github.com/python/cpython/pull/104980
Consider emitting buffered DEDENT tokens on the last line #104976https://github.com/python/cpython/issues/104976
Please reload this pagehttps://github.com/python/cpython/pull/104980
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
lysnikolaouhttps://github.com/lysnikolaou
code ownerhttps://github.com/python/cpython/blob/2cb445635e99d4401949cabebd373288cfdd0138/.github/CODEOWNERS#L96
May 26, 2023 14:14https://github.com/python/cpython/pull/104980#event-9351391015
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 26, 2023https://github.com/python/cpython/pull/104980#event-9351391396
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
May 26, 2023 https://github.com/python/cpython/pull/104980#ref-issue-1727632490
Consider emitting buffered DEDENT tokens on the last line #104976 https://github.com/python/cpython/issues/104976
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/7c0113e6f25bda3a428395cb252c702fdc31df8b..6db032a759ebbcf99761989f29637c22384bb1f4
7c0113ehttps://github.com/python/cpython/commit/7c0113e6f25bda3a428395cb252c702fdc31df8b
6db032ahttps://github.com/python/cpython/commit/6db032a759ebbcf99761989f29637c22384bb1f4
Compare https://github.com/python/cpython/compare/7c0113e6f25bda3a428395cb252c702fdc31df8b..6db032a759ebbcf99761989f29637c22384bb1f4
May 26, 2023 14:17https://github.com/python/cpython/pull/104980#event-9351422256
https://github.com/lysnikolaou
lysnikolaouhttps://github.com/lysnikolaou
May 26, 2023https://github.com/python/cpython/pull/104980#issuecomment-1564517866
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/104980
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
May 26, 2023https://github.com/python/cpython/pull/104980#issuecomment-1564537151
Please reload this pagehttps://github.com/python/cpython/pull/104980
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
May 26, 2023https://github.com/python/cpython/pull/104980#issuecomment-1564537556
Please reload this pagehttps://github.com/python/cpython/pull/104980
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
May 26, 2023https://github.com/python/cpython/pull/104980#issuecomment-1564546371
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/104980
https://github.com/lysnikolaou
lysnikolaouhttps://github.com/lysnikolaou
May 26, 2023https://github.com/python/cpython/pull/104980#issuecomment-1564549327
Please reload this pagehttps://github.com/python/cpython/pull/104980
Please reload this pagehttps://github.com/python/cpython/pull/104980
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/8a23a185d2edfaeee78c1d69e1be8409a714302b..19a58c56fa3d9fec325a10ff58bdee88bf50271b
8a23a18https://github.com/python/cpython/commit/8a23a185d2edfaeee78c1d69e1be8409a714302b
19a58c5https://github.com/python/cpython/commit/19a58c56fa3d9fec325a10ff58bdee88bf50271b
Compare https://github.com/python/cpython/compare/8a23a185d2edfaeee78c1d69e1be8409a714302b..19a58c56fa3d9fec325a10ff58bdee88bf50271b
May 26, 2023 15:21https://github.com/python/cpython/pull/104980#event-9352067857
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
May 26, 2023https://github.com/python/cpython/pull/104980#issuecomment-1564554442
Please reload this pagehttps://github.com/python/cpython/pull/104980
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
May 26, 2023 https://github.com/python/cpython/pull/104980#pullrequestreview-1446470913
View reviewed changes https://github.com/python/cpython/pull/104980/files
Lib/test/test_tokenize.pyhttps://github.com/python/cpython/pull/104980/files#diff-b07c4f10c75a22e102f114227a0a9b7b763ddda7a330109994e69b29540ea9bb
Please reload this pagehttps://github.com/python/cpython/pull/104980
https://github.com/lysnikolaou
lysnikolaouhttps://github.com/lysnikolaou
May 26, 2023 https://github.com/python/cpython/pull/104980#pullrequestreview-1446476190
View reviewed changes https://github.com/python/cpython/pull/104980/files
lysnikolaouhttps://github.com/lysnikolaou
https://github.com/python/cpython/pull/104980#pullrequestreview-1446476190
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/104980
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 26, 2023https://github.com/python/cpython/pull/104980#event-9352111375
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/d1705dab1232a42ccb42888b05abf64442c554ed..a1a0a48997e413f9c067bd247401a696b875e728
d1705dahttps://github.com/python/cpython/commit/d1705dab1232a42ccb42888b05abf64442c554ed
a1a0a48https://github.com/python/cpython/commit/a1a0a48997e413f9c067bd247401a696b875e728
Compare https://github.com/python/cpython/compare/d1705dab1232a42ccb42888b05abf64442c554ed..a1a0a48997e413f9c067bd247401a696b875e728
May 26, 2023 17:06https://github.com/python/cpython/pull/104980#event-9352949556
https://github.com/pablogsal
pythongh-104976https://github.com/python/cpython/issues/104976
: Ensure trailing dedent tokens are emitted as the pre…https://github.com/python/cpython/pull/104980/commits/54fc1d5fbbb81041de9a88e14302636c7c8df590
54fc1d5https://github.com/python/cpython/pull/104980/commits/54fc1d5fbbb81041de9a88e14302636c7c8df590
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/a1a0a48997e413f9c067bd247401a696b875e728..54fc1d5fbbb81041de9a88e14302636c7c8df590
a1a0a48https://github.com/python/cpython/commit/a1a0a48997e413f9c067bd247401a696b875e728
54fc1d5https://github.com/python/cpython/commit/54fc1d5fbbb81041de9a88e14302636c7c8df590
Compare https://github.com/python/cpython/compare/a1a0a48997e413f9c067bd247401a696b875e728..54fc1d5fbbb81041de9a88e14302636c7c8df590
May 26, 2023 17:20https://github.com/python/cpython/pull/104980#event-9353063072
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
May 26, 2023https://github.com/python/cpython/pull/104980#event-9354650442
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
46b52e6https://github.com/python/cpython/commit/46b52e6e2bda51d0b89a64ee36ce2d305a7409f3
May 26, 2023https://github.com/python/cpython/pull/104980#event-9354651554
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
May 26, 2023 21:02https://github.com/python/cpython/pull/104980#event-9354651683
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
May 26, 2023https://github.com/python/cpython/pull/104980#issuecomment-1564948548
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/104980
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
May 26, 2023https://github.com/python/cpython/pull/104980#event-9354651890
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
May 26, 2023https://github.com/python/cpython/pull/104980#issuecomment-1564948705
GH-105000https://github.com/python/cpython/pull/105000
3.12 branchhttps://github.com/python/cpython/tree/3.12
Please reload this pagehttps://github.com/python/cpython/pull/104980
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
May 26, 2023https://github.com/python/cpython/pull/104980#event-9354652866
miss-islingtonhttps://github.com/miss-islington
May 26, 2023 https://github.com/python/cpython/pull/104980#ref-commit-0d9e7ec
https://github.com/pablogsal
https://github.com/miss-islington
pythongh-104976https://github.com/python/cpython/issues/104976
: Ensure trailing dedent tokens are emitted as the pre…https://github.com/miss-islington/cpython/commit/0d9e7ecb7dc6f1ca5fedbb87875ec5f071fca9b2
0d9e7echttps://github.com/miss-islington/cpython/commit/0d9e7ecb7dc6f1ca5fedbb87875ec5f071fca9b2
pythonGH-104980https://github.com/python/cpython/pull/104980
46b52e6https://github.com/miss-islington/cpython/commit/46b52e6e2bda51d0b89a64ee36ce2d305a7409f3
pablogsalhttps://github.com/pablogsal
May 26, 2023 https://github.com/python/cpython/pull/104980#ref-commit-2c02c68
https://github.com/miss-islington
[3.12]https://github.com/python/cpython/commit/2c02c6886739f0ed420d900b2a29933bc1c5df37
gh-104976https://github.com/python/cpython/issues/104976
: Ensure trailing dedent tokens are emitted as the pr…https://github.com/python/cpython/commit/2c02c6886739f0ed420d900b2a29933bc1c5df37
2c02c68https://github.com/python/cpython/commit/2c02c6886739f0ed420d900b2a29933bc1c5df37
GH-104980https://github.com/python/cpython/pull/104980
#105000https://github.com/python/cpython/pull/105000
Compatibility: pycode parser: adjust dedent-token handling to maintain py3.12+ compatibility sphinx-doc/sphinx#11440 https://github.com/sphinx-doc/sphinx/pull/11440
Test failures: Python 3.12-dev: pycode.parser.DefinitionFinder line numbering assertion failures sphinx-doc/sphinx#11436 https://github.com/sphinx-doc/sphinx/issues/11436
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
Jun 6, 2023 https://github.com/python/cpython/pull/104980#ref-pullrequest-1743530961
3.12 backport gh 105236 #105358 https://github.com/python/cpython/pull/105358
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%2F104980
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
https://github.com/python/cpython/pull/104980/files/d1705dab1232a42ccb42888b05abf64442c554ed
Please reload this pagehttps://github.com/python/cpython/pull/104980
https://github.com/pablogsal
https://github.com/lysnikolaou
https://github.com/miss-islington
https://github.com/bedevere-bot
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.