René's URL Explorer Experiment


Title: gh-145031: suggest the module in "python -m module" by Locked-chess-official · Pull Request #145096 · python/cpython · GitHub

Open Graph Title: gh-145031: suggest the module in "python -m module" by Locked-chess-official · Pull Request #145096 · python/cpython

X Title: gh-145031: suggest the module in "python -m module" by Locked-chess-official · Pull Request #145096 · python/cpython

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

Open Graph Description: To reduce the code, I split the function traceback._compute_suggestion_error Issue: Suggest the possible module in "python -m module" #145031

X Description: To reduce the code, I split the function traceback._compute_suggestion_error Issue: Suggest the possible module in "python -m module" #145031

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

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:21cb59ea-48e2-650d-b2aa-7054680a9dc5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id958E:3F8AB1:435F0DC:557E919:6B0211B5
html-safe-nonce0eac46c4edd81f6b00540167902d4953008f7cc266a176f355bb48fde46c24be
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NThFOjNGOEFCMTo0MzVGMERDOjU1N0U5MTk6NkIwMjExQjUiLCJ2aXNpdG9yX2lkIjoiNTczNjgyMjkyNTEwMjk4NTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac408e7cb4765158d0a422487bd25d1d7db8166769ba4da8f7f207d00331e8dec9
hovercard-subject-tagpull_request:3312129402
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/145096/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/52c6edda36f11b4defc8fbb9cda5bb4ebdb2c34ef0ca0151ab8dcd06581cc136/python/cpython/pull/145096
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/52c6edda36f11b4defc8fbb9cda5bb4ebdb2c34ef0ca0151ab8dcd06581cc136/python/cpython/pull/145096
og:image:altTo reduce the code, I split the function traceback._compute_suggestion_error Issue: Suggest the possible module in "python -m module" #145031
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLocked-chess-official
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/145096#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145096
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%2F145096
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/145096
Reloadhttps://github.com/python/cpython/pull/145096
Reloadhttps://github.com/python/cpython/pull/145096
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
Locked-chess-officialhttps://github.com/Locked-chess-official
python:mainhttps://github.com/python/cpython/tree/main
Locked-chess-official:runpy_suggest_modulehttps://github.com/Locked-chess-official/cpython/tree/runpy_suggest_module
Conversationhttps://github.com/python/cpython/pull/145096
Commits9 (9)https://github.com/python/cpython/pull/145096/commits
Checkshttps://github.com/python/cpython/pull/145096/checks
Files changedhttps://github.com/python/cpython/pull/145096/files
gh-145031: suggest the module in "python -m module"https://github.com/python/cpython/pull/145096#top
Locked-chess-officialhttps://github.com/Locked-chess-official
python:mainhttps://github.com/python/cpython/tree/main
Locked-chess-official:runpy_suggest_modulehttps://github.com/Locked-chess-official/cpython/tree/runpy_suggest_module
https://github.com/Locked-chess-official
Locked-chess-officialhttps://github.com/Locked-chess-official
Feb 22, 2026https://github.com/python/cpython/pull/145096#issue-3973632058
Please reload this pagehttps://github.com/python/cpython/pull/145096
Suggest the possible module in "python -m module" #145031https://github.com/python/cpython/issues/145031
Please reload this pagehttps://github.com/python/cpython/pull/145096
Locked-chess-officialhttps://github.com/Locked-chess-official
February 22, 2026 12:38https://github.com/python/cpython/pull/145096#commits-pushed-8dff6ab
https://github.com/Locked-chess-official
let runpy suggest the possible modulehttps://github.com/python/cpython/pull/145096/commits/8dff6abb814a5238e85129d254bef2610dd58241
8dff6abhttps://github.com/python/cpython/pull/145096/commits/8dff6abb814a5238e85129d254bef2610dd58241
https://github.com/Locked-chess-official
add newshttps://github.com/python/cpython/pull/145096/commits/bf9c13bffec515f0bf732af338b2bf2950c7636b
bf9c13bhttps://github.com/python/cpython/pull/145096/commits/bf9c13bffec515f0bf732af338b2bf2950c7636b
https://github.com/Locked-chess-official
Fix formatting for module suggestion in documentationhttps://github.com/python/cpython/pull/145096/commits/7bf07b84a674a1a126ab28cb30c29f9c818952f6
7bf07b8https://github.com/python/cpython/pull/145096/commits/7bf07b84a674a1a126ab28cb30c29f9c818952f6
https://github.com/Locked-chess-official
add some testhttps://github.com/python/cpython/pull/145096/commits/e6ba9b1a1af1dde29ceebe7ecdff623e4cf016b8
e6ba9b1https://github.com/python/cpython/pull/145096/commits/e6ba9b1a1af1dde29ceebe7ecdff623e4cf016b8
https://github.com/Locked-chess-official
Locked-chess-officialhttps://github.com/Locked-chess-official
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
gaogaotiantianhttps://github.com/gaogaotiantian
code ownershttps://github.com/python/cpython/blob/2be2dd5fc219a5c252d72f351c85db14314bfca5/.github/CODEOWNERS#L273
February 22, 2026 05:29https://github.com/python/cpython/pull/145096#event-22976575678
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 22, 2026https://github.com/python/cpython/pull/145096#event-22976576889
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 22, 2026 https://github.com/python/cpython/pull/145096#ref-issue-3966256676
Suggest the possible module in "python -m module" #145031 https://github.com/python/cpython/issues/145031
https://github.com/aisk
aiskhttps://github.com/aisk
Feb 22, 2026 https://github.com/python/cpython/pull/145096#pullrequestreview-3838304264
View reviewed changes https://github.com/python/cpython/pull/145096/files/e6ba9b1a1af1dde29ceebe7ecdff623e4cf016b8
Misc/NEWS.d/next/Library/2026-02-22-12-39-31.gh-issue-145031.-4yezd.rsthttps://github.com/python/cpython/pull/145096/files/e6ba9b1a1af1dde29ceebe7ecdff623e4cf016b8#diff-a4edab86a87952640532fe6aa7954ad416368b988e3c58dc1663993aa485b499
Please reload this pagehttps://github.com/python/cpython/pull/145096
https://github.com/aisk
aiskhttps://github.com/aisk
Feb 22, 2026 https://github.com/python/cpython/pull/145096#pullrequestreview-3838307652
View reviewed changes https://github.com/python/cpython/pull/145096/files/e6ba9b1a1af1dde29ceebe7ecdff623e4cf016b8
Lib/traceback.pyhttps://github.com/python/cpython/pull/145096/files/e6ba9b1a1af1dde29ceebe7ecdff623e4cf016b8#diff-96634ca56022c201d0ff677e922810a97e4ad8a55de53258cf0cbc22bd7c9be1
Please reload this pagehttps://github.com/python/cpython/pull/145096
Locked-chess-officialhttps://github.com/Locked-chess-official
February 23, 2026 01:11https://github.com/python/cpython/pull/145096#commits-pushed-2b77183
https://github.com/Locked-chess-official
https://github.com/aisk
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/145096/commits/2b77183f1144357ddac8f687491015368f49a9ae
2b77183https://github.com/python/cpython/pull/145096/commits/2b77183f1144357ddac8f687491015368f49a9ae
https://github.com/Locked-chess-official
remove a spacehttps://github.com/python/cpython/pull/145096/commits/222d00ee7b7e241c247f3a619954007b77885a13
222d00ehttps://github.com/python/cpython/pull/145096/commits/222d00ee7b7e241c247f3a619954007b77885a13
https://github.com/Locked-chess-official
Follow PEP8https://github.com/python/cpython/pull/145096/commits/3a5d757459be744a28179679b27dcb8e03483419
3a5d757https://github.com/python/cpython/pull/145096/commits/3a5d757459be744a28179679b27dcb8e03483419
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Feb 22, 2026 https://github.com/python/cpython/pull/145096#pullrequestreview-3838416915
View reviewed changes https://github.com/python/cpython/pull/145096/files/3a5d757459be744a28179679b27dcb8e03483419
Lib/runpy.pyhttps://github.com/python/cpython/pull/145096/files/3a5d757459be744a28179679b27dcb8e03483419#diff-72dd047345100f53c18e1e6ddd50fe45539d22729d3208ed3371105e9157b29b
Please reload this pagehttps://github.com/python/cpython/pull/145096
https://github.com/Locked-chess-official
remove invalid modulehttps://github.com/python/cpython/pull/145096/commits/2c62e5f397350b1f4c73ac33753840a5bff8a289
2c62e5fhttps://github.com/python/cpython/pull/145096/commits/2c62e5f397350b1f4c73ac33753840a5bff8a289
https://github.com/Locked-chess-official
Locked-chess-officialhttps://github.com/Locked-chess-official
FFY00https://github.com/FFY00
code ownerhttps://github.com/python/cpython/blob/1efe441de7c448852b9ba51fb0db4d355a7157a8/.github/CODEOWNERS#L275
March 28, 2026 08:53https://github.com/python/cpython/pull/145096#event-23996055566
https://github.com/Locked-chess-official
Merge branch 'main' into runpy_suggest_modulehttps://github.com/python/cpython/pull/145096/commits/8811a4f8f59f6b3db1287dded1082fdb3efc1798
8811a4fhttps://github.com/python/cpython/pull/145096/commits/8811a4f8f59f6b3db1287dded1082fdb3efc1798
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 7, 2026https://github.com/python/cpython/pull/145096#issuecomment-4394820483
Please reload this pagehttps://github.com/python/cpython/pull/145096
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
May 7, 2026https://github.com/python/cpython/pull/145096#event-25249557739
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%2F145096
https://github.com/aisk
aisk https://github.com/aisk
https://github.com/python/cpython/pull/145096/files/e6ba9b1a1af1dde29ceebe7ecdff623e4cf016b8
https://github.com/picnixz
picnixz https://github.com/picnixz
https://github.com/python/cpython/pull/145096/files/3a5d757459be744a28179679b27dcb8e03483419
https://github.com/gaogaotiantian
gaogaotiantian https://github.com/gaogaotiantian
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/FFY00
FFY00 https://github.com/FFY00
Please reload this pagehttps://github.com/python/cpython/pull/145096
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Please reload this pagehttps://github.com/python/cpython/pull/145096
https://github.com/Locked-chess-official
https://github.com/aisk
https://github.com/picnixz
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.