René's URL Explorer Experiment


Title: bpo-40593: Improve syntax errors for invalid characters in source code. by serhiy-storchaka · Pull Request #20033 · python/cpython · GitHub

Open Graph Title: bpo-40593: Improve syntax errors for invalid characters in source code. by serhiy-storchaka · Pull Request #20033 · python/cpython

X Title: bpo-40593: Improve syntax errors for invalid characters in source code. by serhiy-storchaka · Pull Request #20033 · python/cpython

Description: https://bugs.python.org/issue40593

Open Graph Description: https://bugs.python.org/issue40593

X Description: https://bugs.python.org/issue40593

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ad14986a-eead-73d2-c0e8-67905e23fc19
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC54A:27B5EE:212BB8:2EBB72:696A05F9
html-safe-noncef041d3fb4a87023c03bb201b054789f4fdbb238a70dfda0235da2f92efd7a64a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTRBOjI3QjVFRToyMTJCQjg6MkVCQjcyOjY5NkEwNUY5IiwidmlzaXRvcl9pZCI6IjM2NDkxNTM4ODMxNzU1MTk3MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaceb768bf4b42fe76012a8f0479784fc3a20292a9a46b7ca6c7c09bcdb3659e7f5
hovercard-subject-tagpull_request:416026779
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/20033/files
twitter:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
og:image:althttps://bugs.python.org/issue40593
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release671c2f67171dbced24284331f3133a613d08c366
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/20033/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F20033%2Ffiles
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%2F20033%2Ffiles
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/20033/files
Reloadhttps://github.com/python/cpython/pull/20033/files
Reloadhttps://github.com/python/cpython/pull/20033/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/20033/files
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/20033/files
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
serhiy-storchakahttps://github.com/serhiy-storchaka
python:masterhttps://github.com/python/cpython/tree/master
serhiy-storchaka:tokenize-invalid-characterhttps://github.com/serhiy-storchaka/cpython/tree/tokenize-invalid-character
Conversation 0 https://github.com/python/cpython/pull/20033
Commits 3 https://github.com/python/cpython/pull/20033/commits
Checks 0 https://github.com/python/cpython/pull/20033/checks
Files changed https://github.com/python/cpython/pull/20033/files
Please reload this pagehttps://github.com/python/cpython/pull/20033/files
bpo-40593: Improve syntax errors for invalid characters in source code. https://github.com/python/cpython/pull/20033/files#top
Show all changes 3 commits https://github.com/python/cpython/pull/20033/files
8c06963 bpo-40593: Improve syntax errors for invalid characters in source code. serhiy-storchaka May 11, 2020 https://github.com/python/cpython/pull/20033/commits/8c069633d4fc403475b6168a09e3f4e04a9c1bc6
e543b40 Omit non-printable characters. serhiy-storchaka May 11, 2020 https://github.com/python/cpython/pull/20033/commits/e543b404cac4ec0b5dac18da0d89a46d018c7924
5f3b60e Refactor PyUnicode_IsIdentifier(). serhiy-storchaka May 11, 2020 https://github.com/python/cpython/pull/20033/commits/5f3b60ea9d70cc1c547f75593e1eb4d1b51da8a6
Clear filters https://github.com/python/cpython/pull/20033/files
Please reload this pagehttps://github.com/python/cpython/pull/20033/files
Please reload this pagehttps://github.com/python/cpython/pull/20033/files
unicodeobject.h https://github.com/python/cpython/pull/20033/files#diff-6be7f081fe6c5e9cbc89323a00399b291d1cda855bcb4c6eeaee0fac89c2f8dd
errcode.h https://github.com/python/cpython/pull/20033/files#diff-32713360a271e7b5e1dfad85e4957b04a33a514703a87080119dce6ef657a3b6
test_fstring.py https://github.com/python/cpython/pull/20033/files#diff-8c1fe2af639c01d0d8e2368a8ab4ed407b1df4a3411e273b3fd5d0278ceb7393
test_source_encoding.py https://github.com/python/cpython/pull/20033/files#diff-1964a8b9e17ccd9a653e3c7df9d2428af06a437a618160dd92d002c2b683e3d3
test_unicode_identifiers.py https://github.com/python/cpython/pull/20033/files#diff-552f6ef61230168689e64ca06e23af7ab83752828eb66ebfab54b8be74631c0c
2020-05-11-13-50-52.bpo-40593.yuOXj3.rst https://github.com/python/cpython/pull/20033/files#diff-87fde2705963a5ae7da090ed9f007201a971ffed0e6389c9e47e2d7e8a76f293
unicodeobject.c https://github.com/python/cpython/pull/20033/files#diff-34c966e7876d6f8bf801dd51896327e4f68bba02cddb95fbf3963f0b2e39c38a
pegen.c https://github.com/python/cpython/pull/20033/files#diff-0ed7ec9eb1c1598c607560250c03d68b5231d62b6ff651bea09bf4af41f1544d
tokenizer.c https://github.com/python/cpython/pull/20033/files#diff-51e9668dbe1e270b3575209bcfcce9d3701ee0a145bdf7cef866209d9819f2ed
pythonrun.c https://github.com/python/cpython/pull/20033/files#diff-2ecd9b536bc387479d824dc4b53f89679d6978d25c6b8a28ab21ed03e745e46e
Include/cpython/unicodeobject.hhttps://github.com/python/cpython/pull/20033/files#diff-6be7f081fe6c5e9cbc89323a00399b291d1cda855bcb4c6eeaee0fac89c2f8dd
View file https://github.com/serhiy-storchaka/cpython/blob/5f3b60ea9d70cc1c547f75593e1eb4d1b51da8a6/Include/cpython/unicodeobject.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20033/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20033/files#diff-6be7f081fe6c5e9cbc89323a00399b291d1cda855bcb4c6eeaee0fac89c2f8dd
Include/errcode.hhttps://github.com/python/cpython/pull/20033/files#diff-32713360a271e7b5e1dfad85e4957b04a33a514703a87080119dce6ef657a3b6
View file https://github.com/serhiy-storchaka/cpython/blob/5f3b60ea9d70cc1c547f75593e1eb4d1b51da8a6/Include/errcode.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20033/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20033/files#diff-32713360a271e7b5e1dfad85e4957b04a33a514703a87080119dce6ef657a3b6
https://github.com/python/cpython/pull/20033/files#diff-32713360a271e7b5e1dfad85e4957b04a33a514703a87080119dce6ef657a3b6
Lib/test/test_fstring.pyhttps://github.com/python/cpython/pull/20033/files#diff-8c1fe2af639c01d0d8e2368a8ab4ed407b1df4a3411e273b3fd5d0278ceb7393
View file https://github.com/serhiy-storchaka/cpython/blob/5f3b60ea9d70cc1c547f75593e1eb4d1b51da8a6/Lib/test/test_fstring.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20033/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20033/files#diff-8c1fe2af639c01d0d8e2368a8ab4ed407b1df4a3411e273b3fd5d0278ceb7393
https://github.com/python/cpython/pull/20033/files#diff-8c1fe2af639c01d0d8e2368a8ab4ed407b1df4a3411e273b3fd5d0278ceb7393
Lib/test/test_source_encoding.pyhttps://github.com/python/cpython/pull/20033/files#diff-1964a8b9e17ccd9a653e3c7df9d2428af06a437a618160dd92d002c2b683e3d3
View file https://github.com/serhiy-storchaka/cpython/blob/5f3b60ea9d70cc1c547f75593e1eb4d1b51da8a6/Lib/test/test_source_encoding.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20033/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20033/files#diff-1964a8b9e17ccd9a653e3c7df9d2428af06a437a618160dd92d002c2b683e3d3
https://github.com/python/cpython/pull/20033/files#diff-1964a8b9e17ccd9a653e3c7df9d2428af06a437a618160dd92d002c2b683e3d3
Lib/test/test_unicode_identifiers.pyhttps://github.com/python/cpython/pull/20033/files#diff-552f6ef61230168689e64ca06e23af7ab83752828eb66ebfab54b8be74631c0c
View file https://github.com/serhiy-storchaka/cpython/blob/5f3b60ea9d70cc1c547f75593e1eb4d1b51da8a6/Lib/test/test_unicode_identifiers.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20033/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20033/files#diff-552f6ef61230168689e64ca06e23af7ab83752828eb66ebfab54b8be74631c0c
https://github.com/python/cpython/pull/20033/files#diff-552f6ef61230168689e64ca06e23af7ab83752828eb66ebfab54b8be74631c0c
Misc/NEWS.d/next/Core and Builtins/2020-05-11-13-50-52.bpo-40593.yuOXj3.rsthttps://github.com/python/cpython/pull/20033/files#diff-87fde2705963a5ae7da090ed9f007201a971ffed0e6389c9e47e2d7e8a76f293
View file https://github.com/serhiy-storchaka/cpython/blob/5f3b60ea9d70cc1c547f75593e1eb4d1b51da8a6/Misc/NEWS.d/next/Core%20and%20Builtins/2020-05-11-13-50-52.bpo-40593.yuOXj3.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20033/{{ revealButtonHref }}
Objects/unicodeobject.chttps://github.com/python/cpython/pull/20033/files#diff-34c966e7876d6f8bf801dd51896327e4f68bba02cddb95fbf3963f0b2e39c38a
View file https://github.com/serhiy-storchaka/cpython/blob/5f3b60ea9d70cc1c547f75593e1eb4d1b51da8a6/Objects/unicodeobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20033/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20033/files#diff-34c966e7876d6f8bf801dd51896327e4f68bba02cddb95fbf3963f0b2e39c38a
https://github.com/python/cpython/pull/20033/files#diff-34c966e7876d6f8bf801dd51896327e4f68bba02cddb95fbf3963f0b2e39c38a
https://github.com/python/cpython/pull/20033/files#diff-34c966e7876d6f8bf801dd51896327e4f68bba02cddb95fbf3963f0b2e39c38a
Parser/pegen/pegen.chttps://github.com/python/cpython/pull/20033/files#diff-0ed7ec9eb1c1598c607560250c03d68b5231d62b6ff651bea09bf4af41f1544d
View file https://github.com/serhiy-storchaka/cpython/blob/5f3b60ea9d70cc1c547f75593e1eb4d1b51da8a6/Parser/pegen/pegen.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20033/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20033/files#diff-0ed7ec9eb1c1598c607560250c03d68b5231d62b6ff651bea09bf4af41f1544d
https://github.com/python/cpython/pull/20033/files#diff-0ed7ec9eb1c1598c607560250c03d68b5231d62b6ff651bea09bf4af41f1544d
Parser/tokenizer.chttps://github.com/python/cpython/pull/20033/files#diff-51e9668dbe1e270b3575209bcfcce9d3701ee0a145bdf7cef866209d9819f2ed
View file https://github.com/serhiy-storchaka/cpython/blob/5f3b60ea9d70cc1c547f75593e1eb4d1b51da8a6/Parser/tokenizer.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20033/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20033/files#diff-51e9668dbe1e270b3575209bcfcce9d3701ee0a145bdf7cef866209d9819f2ed
https://github.com/python/cpython/pull/20033/files#diff-51e9668dbe1e270b3575209bcfcce9d3701ee0a145bdf7cef866209d9819f2ed
Python/pythonrun.chttps://github.com/python/cpython/pull/20033/files#diff-2ecd9b536bc387479d824dc4b53f89679d6978d25c6b8a28ab21ed03e745e46e
View file https://github.com/serhiy-storchaka/cpython/blob/5f3b60ea9d70cc1c547f75593e1eb4d1b51da8a6/Python/pythonrun.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20033/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20033/files#diff-2ecd9b536bc387479d824dc4b53f89679d6978d25c6b8a28ab21ed03e745e46e
https://github.com/python/cpython/pull/20033/files#diff-2ecd9b536bc387479d824dc4b53f89679d6978d25c6b8a28ab21ed03e745e46e
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.