René's URL Explorer Experiment


Title: GH-103727: Avoid advancing tokenizer too far in f-string mode by lysnikolaou · Pull Request #103775 · python/cpython · GitHub

Open Graph Title: GH-103727: Avoid advancing tokenizer too far in f-string mode by lysnikolaou · Pull Request #103775 · python/cpython

X Title: GH-103727: Avoid advancing tokenizer too far in f-string mode by lysnikolaou · Pull Request #103775 · python/cpython

Description: Issue: Empty unclosed f-string does not directly raise a SyntaxError in the REPL #103727

Open Graph Description: Issue: Empty unclosed f-string does not directly raise a SyntaxError in the REPL #103727

X Description: Issue: Empty unclosed f-string does not directly raise a SyntaxError in the REPL #103727

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

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:aed00380-68a8-4ecc-0602-b96db76b4c10
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEC3A:256A62:10C522C:171FEA4:6969FC70
html-safe-nonce1194c9129dc4d1f2543b685346fc74452bdfff317fa4aad72e3f00202103730c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzNBOjI1NkE2MjoxMEM1MjJDOjE3MUZFQTQ6Njk2OUZDNzAiLCJ2aXNpdG9yX2lkIjoiNTYwMDU0MTY5ODI0MDkzNzA3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace939ae33c5c9d30c3ae8e377b3e53bb8f7d978e07d7cfda4a9e7bf6f8db8c92b
hovercard-subject-tagpull_request:1325853467
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/103775/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9ea180093cfbdd77c88f5c6975cc4e72015d5aaee253e2e1d3815268d6835f30/python/cpython/pull/103775
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9ea180093cfbdd77c88f5c6975cc4e72015d5aaee253e2e1d3815268d6835f30/python/cpython/pull/103775
og:image:altIssue: Empty unclosed f-string does not directly raise a SyntaxError in the REPL #103727
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelysnikolaou
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/103775#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103775
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%2F103775
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/103775
Reloadhttps://github.com/python/cpython/pull/103775
Reloadhttps://github.com/python/cpython/pull/103775
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/103775
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/103775
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/103775#issue-comment-box
lysnikolaouhttps://github.com/lysnikolaou
python:mainhttps://github.com/python/cpython/tree/main
lysnikolaou:newline-after-empty-fstring-replhttps://github.com/lysnikolaou/cpython/tree/newline-after-empty-fstring-repl
GH-103727: Avoid advancing tokenizer too far in f-string mode https://github.com/python/cpython/pull/103775#top
lysnikolaouhttps://github.com/lysnikolaou
python:mainhttps://github.com/python/cpython/tree/main
lysnikolaou:newline-after-empty-fstring-replhttps://github.com/lysnikolaou/cpython/tree/newline-after-empty-fstring-repl
Conversation 5 https://github.com/python/cpython/pull/103775
Commits 1 https://github.com/python/cpython/pull/103775/commits
Checks 0 https://github.com/python/cpython/pull/103775/checks
Files changed https://github.com/python/cpython/pull/103775/files
Please reload this pagehttps://github.com/python/cpython/pull/103775
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/lysnikolaou
lysnikolaouhttps://github.com/lysnikolaou
Apr 24, 2023https://github.com/python/cpython/pull/103775#issue-1681717200
Please reload this pagehttps://github.com/python/cpython/pull/103775
Empty unclosed f-string does not directly raise a SyntaxError in the REPL #103727https://github.com/python/cpython/issues/103727
Please reload this pagehttps://github.com/python/cpython/pull/103775
https://github.com/lysnikolaou
pythonGH-103727https://github.com/python/cpython/issues/103727
: Avoid advancing tokenizer too far in f-string modehttps://github.com/python/cpython/pull/103775/commits/8e4f6a32bdff7761a9fe38cd28d8882b6423b955
8e4f6a3https://github.com/python/cpython/pull/103775/commits/8e4f6a32bdff7761a9fe38cd28d8882b6423b955
https://github.com/lysnikolaou
lysnikolaouhttps://github.com/lysnikolaou
pablogsalhttps://github.com/pablogsal
code ownerhttps://github.com/python/cpython/blob/f8abfa331421e2c28388c5162f37820495e3c2ee/.github/CODEOWNERS#L89
April 24, 2023 17:18https://github.com/python/cpython/pull/103775#event-9084030294
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Apr 24, 2023 https://github.com/python/cpython/pull/103775#ref-issue-1680140256
Empty unclosed f-string does not directly raise a SyntaxError in the REPL #103727 https://github.com/python/cpython/issues/103727
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
Apr 24, 2023https://github.com/python/cpython/pull/103775#event-9084031071
https://github.com/lysnikolaou
lysnikolaouhttps://github.com/lysnikolaou
isidenticalhttps://github.com/isidentical
April 24, 2023 17:19https://github.com/python/cpython/pull/103775#event-9084031146
https://github.com/lysnikolaou
lysnikolaouhttps://github.com/lysnikolaou
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Apr 24, 2023https://github.com/python/cpython/pull/103775#event-9084032441
https://github.com/lysnikolaou
lysnikolaouhttps://github.com/lysnikolaou
Apr 24, 2023https://github.com/python/cpython/pull/103775#issuecomment-1520553054
Please reload this pagehttps://github.com/python/cpython/pull/103775
@pablogsalhttps://github.com/pablogsal
@isidenticalhttps://github.com/isidentical
@sunmy2019https://github.com/sunmy2019
Please reload this pagehttps://github.com/python/cpython/pull/103775
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Apr 24, 2023https://github.com/python/cpython/pull/103775#issuecomment-1520578122
@pablogsalhttps://github.com/pablogsal
@isidenticalhttps://github.com/isidentical
@sunmy2019https://github.com/sunmy2019
Please reload this pagehttps://github.com/python/cpython/pull/103775
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Apr 24, 2023 https://github.com/python/cpython/pull/103775#pullrequestreview-1398519044
View reviewed changes https://github.com/python/cpython/pull/103775/files/8e4f6a32bdff7761a9fe38cd28d8882b6423b955
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
Apr 24, 2023https://github.com/python/cpython/pull/103775#event-9084210104
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Apr 24, 2023 https://github.com/python/cpython/pull/103775#pullrequestreview-1398519727
View reviewed changes https://github.com/python/cpython/pull/103775/files/8e4f6a32bdff7761a9fe38cd28d8882b6423b955
Lib/test/test_fstring.pyhttps://github.com/python/cpython/pull/103775/files/8e4f6a32bdff7761a9fe38cd28d8882b6423b955#diff-8c1fe2af639c01d0d8e2368a8ab4ed407b1df4a3411e273b3fd5d0278ceb7393
pablogsalhttps://github.com/pablogsal
Apr 24, 2023https://github.com/python/cpython/pull/103775#discussion_r1175604469
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/103775
lysnikolaouhttps://github.com/lysnikolaou
Apr 24, 2023https://github.com/python/cpython/pull/103775#discussion_r1175609846
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/103775
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
Apr 24, 2023https://github.com/python/cpython/pull/103775#issuecomment-1520602119
@pablogsalhttps://github.com/pablogsal
@isidenticalhttps://github.com/isidentical
@sunmy2019https://github.com/sunmy2019
Please reload this pagehttps://github.com/python/cpython/pull/103775
https://github.com/isidentical
isidenticalhttps://github.com/isidentical
Apr 24, 2023 https://github.com/python/cpython/pull/103775#pullrequestreview-1398576105
View reviewed changes https://github.com/python/cpython/pull/103775/files/8e4f6a32bdff7761a9fe38cd28d8882b6423b955
https://github.com/lysnikolaou
lysnikolaouhttps://github.com/lysnikolaou
cb157a1https://github.com/python/cpython/commit/cb157a1a353675cb6f08bdae5d7aadd6b28bb0a9
Apr 24, 2023https://github.com/python/cpython/pull/103775#event-9084607965
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
Apr 24, 2023https://github.com/python/cpython/pull/103775#event-9084608405
carljmhttps://github.com/carljm
Apr 24, 2023 https://github.com/python/cpython/pull/103775#ref-commit-19b8025
https://github.com/carljm
Merge branch 'main' into superopthttps://github.com/carljm/cpython/commit/19b8025afa1b15c4fa1d62990af0ecdd120fc949
19b8025https://github.com/carljm/cpython/commit/19b8025afa1b15c4fa1d62990af0ecdd120fc949
pythongh-102498https://github.com/python/cpython/issues/102498
python#102482https://github.com/python/cpython/pull/102482
pythongh-99184https://github.com/python/cpython/issues/99184
python#99244https://github.com/python/cpython/pull/99244
pythongh-99032https://github.com/python/cpython/issues/99032
python#93365https://github.com/python/cpython/pull/93365
pythongh-94300https://github.com/python/cpython/issues/94300
python#95318https://github.com/python/cpython/pull/95318
pythongh-103776https://github.com/python/cpython/issues/103776
pythonGH-103778https://github.com/python/cpython/pull/103778
pythongh-87092https://github.com/python/cpython/issues/87092
python#103456https://github.com/python/cpython/pull/103456
pythonGH-103727https://github.com/python/cpython/issues/103727
pythonGH-103775https://github.com/python/cpython/pull/103775
python#103751https://github.com/python/cpython/pull/103751
python#103770https://github.com/python/cpython/pull/103770
pythongh-94518https://github.com/python/cpython/issues/94518
python#94519https://github.com/python/cpython/pull/94519
pythonGH-65022https://github.com/python/cpython/issues/65022
python#102656https://github.com/python/cpython/pull/102656
pythongh-103323https://github.com/python/cpython/issues/103323
pythongh-103324https://github.com/python/cpython/pull/103324
pythongh-91687https://github.com/python/cpython/issues/91687
python#103773https://github.com/python/cpython/pull/103773
pythongh-103746https://github.com/python/cpython/issues/103746
python#103747https://github.com/python/cpython/pull/103747
pythongh-103765https://github.com/python/cpython/issues/103765
pythonGH-103769https://github.com/python/cpython/pull/103769
pythongh-87452https://github.com/python/cpython/issues/87452
python#103714https://github.com/python/cpython/pull/103714
pythonGH-102973https://github.com/python/cpython/issues/102973
python#103283https://github.com/python/cpython/pull/103283
pythongh-103091https://github.com/python/cpython/issues/103091
python#103095https://github.com/python/cpython/pull/103095
python#103751https://github.com/python/cpython/pull/103751
pythongh-103712https://github.com/python/cpython/issues/103712
python#103713https://github.com/python/cpython/pull/103713
carljmhttps://github.com/carljm
Apr 24, 2023 https://github.com/python/cpython/pull/103775#ref-commit-1972ca4
https://github.com/carljm
Merge branch 'superopt' into superopt_spechttps://github.com/carljm/cpython/commit/1972ca44dba6fdde991d5bc186f992fbb16c746e
1972ca4https://github.com/carljm/cpython/commit/1972ca44dba6fdde991d5bc186f992fbb16c746e
pythongh-101517https://github.com/python/cpython/issues/101517
python#103550https://github.com/python/cpython/pull/103550
pythongh-103780https://github.com/python/cpython/issues/103780
python#103782https://github.com/python/cpython/pull/103782
pythongh-102498https://github.com/python/cpython/issues/102498
python#102482https://github.com/python/cpython/pull/102482
pythongh-99184https://github.com/python/cpython/issues/99184
python#99244https://github.com/python/cpython/pull/99244
pythongh-99032https://github.com/python/cpython/issues/99032
python#93365https://github.com/python/cpython/pull/93365
pythongh-94300https://github.com/python/cpython/issues/94300
python#95318https://github.com/python/cpython/pull/95318
pythongh-103776https://github.com/python/cpython/issues/103776
pythonGH-103778https://github.com/python/cpython/pull/103778
pythongh-87092https://github.com/python/cpython/issues/87092
python#103456https://github.com/python/cpython/pull/103456
pythonGH-103727https://github.com/python/cpython/issues/103727
pythonGH-103775https://github.com/python/cpython/pull/103775
python#103751https://github.com/python/cpython/pull/103751
python#103770https://github.com/python/cpython/pull/103770
pythongh-94518https://github.com/python/cpython/issues/94518
python#94519https://github.com/python/cpython/pull/94519
pythonGH-65022https://github.com/python/cpython/issues/65022
python#102656https://github.com/python/cpython/pull/102656
pythongh-103323https://github.com/python/cpython/issues/103323
pythongh-103324https://github.com/python/cpython/pull/103324
pythongh-91687https://github.com/python/cpython/issues/91687
python#103773https://github.com/python/cpython/pull/103773
pythongh-103746https://github.com/python/cpython/issues/103746
python#103747https://github.com/python/cpython/pull/103747
pythongh-103765https://github.com/python/cpython/issues/103765
pythonGH-103769https://github.com/python/cpython/pull/103769
pythongh-87452https://github.com/python/cpython/issues/87452
python#103714https://github.com/python/cpython/pull/103714
pythonGH-102973https://github.com/python/cpython/issues/102973
python#103283https://github.com/python/cpython/pull/103283
pythongh-103091https://github.com/python/cpython/issues/103091
python#103095https://github.com/python/cpython/pull/103095
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%2F103775
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/python/cpython/pull/103775/files/8e4f6a32bdff7761a9fe38cd28d8882b6423b955
https://github.com/isidentical
isidentical https://github.com/isidentical
https://github.com/python/cpython/pull/103775/files/8e4f6a32bdff7761a9fe38cd28d8882b6423b955
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/103775
https://github.com/lysnikolaou
https://github.com/pablogsal
https://github.com/sunmy2019
https://github.com/isidentical
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.