René's URL Explorer Experiment


Title: gh-98931: Add custom error messages to invalid import/from with multiple targets by pablogsal · Pull Request #105985 · python/cpython · GitHub

Open Graph Title: gh-98931: Add custom error messages to invalid import/from with multiple targets by pablogsal · Pull Request #105985 · python/cpython

X Title: gh-98931: Add custom error messages to invalid import/from with multiple targets by pablogsal · Pull Request #105985 · python/cpython

Description: Issue: Improve syntax error for invalid imports #98931

Open Graph Description: Issue: Improve syntax error for invalid imports #98931

X Description: Issue: Improve syntax error for invalid imports #98931

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

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:dc6ac107-9b41-f8d3-0c2b-daacdd4a89cb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAC38:154180:14B8D40:1B2C19F:696B1E07
html-safe-nonceafe7888205bac2293a8a9e87e843d811f67ec412298179622ef2a7111dc82dd8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzM4OjE1NDE4MDoxNEI4RDQwOjFCMkMxOUY6Njk2QjFFMDciLCJ2aXNpdG9yX2lkIjoiMzM3OTk3NTQ3OTQzNzc2MjA1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac85f2257a3b8b8286f6979e29893ffa9f347c06405fe68eb8b0b955c8cfd53315
hovercard-subject-tagpull_request:1403513182
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/105985/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/de4409dd3608aa1addbfa89f74b7783dbc60dd332d03ce5302f63f22ad23634f/python/cpython/pull/105985
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/de4409dd3608aa1addbfa89f74b7783dbc60dd332d03ce5302f63f22ad23634f/python/cpython/pull/105985
og:image:altIssue: Improve syntax error for invalid imports #98931
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepablogsal
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/105985#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F105985
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%2F105985
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/105985
Reloadhttps://github.com/python/cpython/pull/105985
Reloadhttps://github.com/python/cpython/pull/105985
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/105985
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/105985
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/105985#issue-comment-box
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
pablogsal:gh-98931-2https://github.com/pablogsal/cpython/tree/gh-98931-2
gh-98931: Add custom error messages to invalid import/from with multiple targets https://github.com/python/cpython/pull/105985#top
pablogsalhttps://github.com/pablogsal
python:mainhttps://github.com/python/cpython/tree/main
pablogsal:gh-98931-2https://github.com/pablogsal/cpython/tree/gh-98931-2
Conversation 5 https://github.com/python/cpython/pull/105985
Commits 2 https://github.com/python/cpython/pull/105985/commits
Checks 0 https://github.com/python/cpython/pull/105985/checks
Files changed https://github.com/python/cpython/pull/105985/files
Please reload this pagehttps://github.com/python/cpython/pull/105985
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Jun 22, 2023https://github.com/python/cpython/pull/105985#issue-1769665758
Please reload this pagehttps://github.com/python/cpython/pull/105985
Improve syntax error for invalid imports #98931https://github.com/python/cpython/issues/98931
Please reload this pagehttps://github.com/python/cpython/pull/105985
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
lysnikolaouhttps://github.com/lysnikolaou
code ownerhttps://github.com/python/cpython/blob/04492cbc9aa45ac2c12d22083c406a0364c39f5b/.github/CODEOWNERS#L99
June 22, 2023 13:20https://github.com/python/cpython/pull/105985#event-9606570463
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
Jun 22, 2023https://github.com/python/cpython/pull/105985#event-9606570910
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 7, 2023 https://github.com/python/cpython/pull/105985#ref-issue-1430599139
Improve syntax error for invalid imports #98931 https://github.com/python/cpython/issues/98931
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Jun 22, 2023https://github.com/python/cpython/pull/105985#issuecomment-1602628813
@Yhg1shttps://github.com/Yhg1s
Please reload this pagehttps://github.com/python/cpython/pull/105985
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
Jun 22, 2023https://github.com/python/cpython/pull/105985#issuecomment-1602811479
Please reload this pagehttps://github.com/python/cpython/pull/105985
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
Jun 22, 2023 https://github.com/python/cpython/pull/105985#pullrequestreview-1493441476
View reviewed changes https://github.com/python/cpython/pull/105985/files
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
Jun 22, 2023https://github.com/python/cpython/pull/105985#event-9607959143
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
Jun 22, 2023https://github.com/python/cpython/pull/105985#event-9607971080
https://github.com/pablogsal
pythongh-98931https://github.com/python/cpython/issues/98931
: Add custom error messages to invalid import/from with…https://github.com/python/cpython/pull/105985/commits/594e24fd7580ee926525801dc3a00b3a4d6d4bb5
594e24fhttps://github.com/python/cpython/pull/105985/commits/594e24fd7580ee926525801dc3a00b3a4d6d4bb5
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/78e213d50e747540fa414c1df2d39e8b3fe97f7d..594e24fd7580ee926525801dc3a00b3a4d6d4bb5
78e213dhttps://github.com/python/cpython/commit/78e213d50e747540fa414c1df2d39e8b3fe97f7d
594e24fhttps://github.com/python/cpython/commit/594e24fd7580ee926525801dc3a00b3a4d6d4bb5
Compare https://github.com/python/cpython/compare/78e213d50e747540fa414c1df2d39e8b3fe97f7d..594e24fd7580ee926525801dc3a00b3a4d6d4bb5
June 22, 2023 15:12https://github.com/python/cpython/pull/105985#event-9607997878
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jun 22, 2023 https://github.com/python/cpython/pull/105985#pullrequestreview-1493472170
View reviewed changes https://github.com/python/cpython/pull/105985/files/594e24fd7580ee926525801dc3a00b3a4d6d4bb5
Misc/NEWS.d/next/Core and Builtins/2023-06-22-14-19-17.gh-issue-98931.PPgvSF.rsthttps://github.com/python/cpython/pull/105985/files/594e24fd7580ee926525801dc3a00b3a4d6d4bb5#diff-1b3eade9d7f002e56e63e3c7b7e4a095134c5768e311ed2e9f52fa4aac79f19b
Please reload this pagehttps://github.com/python/cpython/pull/105985
https://github.com/pablogsal
https://github.com/AlexWaygood
Update Misc/NEWS.d/next/Core and Builtins/2023-06-22-14-19-17.gh-issu…https://github.com/python/cpython/pull/105985/commits/37d439ec38e1e31f74a03d94d47fcc774aeda997
37d439ehttps://github.com/python/cpython/pull/105985/commits/37d439ec38e1e31f74a03d94d47fcc774aeda997
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
June 22, 2023 15:40https://github.com/python/cpython/pull/105985#event-9608303782
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
13237a2https://github.com/python/cpython/commit/13237a2da846efef9ce9b93fd4bcfebd49933568
Jun 22, 2023https://github.com/python/cpython/pull/105985#event-9608459686
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
June 22, 2023 15:56https://github.com/python/cpython/pull/105985#event-9608459911
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Jun 22, 2023https://github.com/python/cpython/pull/105985#issuecomment-1602909855
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/105985
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
Jun 22, 2023https://github.com/python/cpython/pull/105985#event-9608460295
miss-islingtonhttps://github.com/miss-islington
Jun 22, 2023 https://github.com/python/cpython/pull/105985#ref-commit-0bb8b06
https://github.com/pablogsal
https://github.com/AlexWaygood
https://github.com/miss-islington
pythongh-98931https://github.com/python/cpython/issues/98931
: Add custom error messages to invalid import/from with…https://github.com/miss-islington/cpython/commit/0bb8b06223f42b23bac98daac4932827f7e657c5
0bb8b06https://github.com/miss-islington/cpython/commit/0bb8b06223f42b23bac98daac4932827f7e657c5
pythonGH-105985https://github.com/python/cpython/pull/105985
13237a2https://github.com/miss-islington/cpython/commit/13237a2da846efef9ce9b93fd4bcfebd49933568
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jun 22, 2023https://github.com/python/cpython/pull/105985#issuecomment-1602910711
GH-105991https://github.com/python/cpython/pull/105991
3.12 branchhttps://github.com/python/cpython/tree/3.12
Please reload this pagehttps://github.com/python/cpython/pull/105985
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
Jun 22, 2023https://github.com/python/cpython/pull/105985#event-9608463124
pablogsalhttps://github.com/pablogsal
Jun 22, 2023 https://github.com/python/cpython/pull/105985#ref-commit-c407ef0
https://github.com/miss-islington
https://github.com/pablogsal
https://github.com/AlexWaygood
[3.12]https://github.com/python/cpython/commit/c407ef0a8a829c4e506bf43e412df176cc8cc2c0
gh-98931https://github.com/python/cpython/issues/98931
: Add custom error messages to invalid import/from wit…https://github.com/python/cpython/commit/c407ef0a8a829c4e506bf43e412df176cc8cc2c0
c407ef0https://github.com/python/cpython/commit/c407ef0a8a829c4e506bf43e412df176cc8cc2c0
GH-105985https://github.com/python/cpython/pull/105985
#105991https://github.com/python/cpython/pull/105991
bentaskerhttps://github.com/bentasker
Jun 23, 2023 https://github.com/python/cpython/pull/105985#ref-commit-44bea61
https://github.com/pablogsal
https://github.com/AlexWaygood
https://github.com/bentasker
pythongh-98931https://github.com/python/cpython/issues/98931
: Add custom error messages to invalid import/from with…https://github.com/bentasker/cpython/commit/44bea6186edbb1d8314778479687c0402a8162df
44bea61https://github.com/bentasker/cpython/commit/44bea6186edbb1d8314778479687c0402a8162df
python#105985https://github.com/python/cpython/pull/105985
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%2F105985
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
https://github.com/python/cpython/pull/105985/files/594e24fd7580ee926525801dc3a00b3a4d6d4bb5
https://github.com/Yhg1s
Yhg1s https://github.com/Yhg1s
https://github.com/python/cpython/pull/105985/files/78e213d50e747540fa414c1df2d39e8b3fe97f7d
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
Please reload this pagehttps://github.com/python/cpython/pull/105985
https://github.com/pablogsal
https://github.com/Yhg1s
https://github.com/miss-islington
https://github.com/bedevere-bot
https://github.com/AlexWaygood
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.