René's URL Explorer Experiment


Title: gh-69605: Hardcode some stdlib submodules in PyREPL module completion (os.path, collections.abc...) by loic-simon · Pull Request #138268 · python/cpython · GitHub

Open Graph Title: gh-69605: Hardcode some stdlib submodules in PyREPL module completion (os.path, collections.abc...) by loic-simon · Pull Request #138268 · python/cpython

X Title: gh-69605: Hardcode some stdlib submodules in PyREPL module completion (os.path, collections.abc...) by loic-simon · Pull Request #138268 · python/cpython

Description: From #69605 (comment): This is expected, collections.abc is not a real module, same for os.path so pkgutil won't find it. One thing we could do is hardcode these modules but I haven't had the time...

Open Graph Description: From #69605 (comment): This is expected, collections.abc is not a real module, same for os.path so pkgutil won't find it. One thing we could do is hardcode these modules but I haven't had ...

X Description: From #69605 (comment): This is expected, collections.abc is not a real module, same for os.path so pkgutil won't find it. One thing we could do is hardcode these modules but I haven&#3...

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

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:2e9446da-4042-d46a-2773-dd4582dadfec
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAD06:1CEAED:2746B76:3397E21:696B1FBC
html-safe-nonce0f75cf0df89419307cc87df5e5000fbf0b4b31a1da1a21cb9722ab23be6df3c9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDA2OjFDRUFFRDoyNzQ2Qjc2OjMzOTdFMjE6Njk2QjFGQkMiLCJ2aXNpdG9yX2lkIjoiMzI3NjA3MDExMDE5NDUwNzcwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca9df68039d3a76ed5e4f7e68db27599941b4712206f5fc44899faf1803cbedf3
hovercard-subject-tagpull_request:2786946291
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/138268/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/df0e3de797af3637508e2c5514bb1e391f214906c29889af1b196b7464e179ee/python/cpython/pull/138268
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/df0e3de797af3637508e2c5514bb1e391f214906c29889af1b196b7464e179ee/python/cpython/pull/138268
og:image:altFrom #69605 (comment): This is expected, collections.abc is not a real module, same for os.path so pkgutil won't find it. One thing we could do is hardcode these modules but I haven't had ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameloic-simon
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/138268#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F138268
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%2F138268
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/138268
Reloadhttps://github.com/python/cpython/pull/138268
Reloadhttps://github.com/python/cpython/pull/138268
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/138268
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/138268
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/138268#issue-comment-box
ambvhttps://github.com/ambv
python:mainhttps://github.com/python/cpython/tree/main
loic-simon:pyrepl-module-completion-hardcode-special-stdlib-submoduleshttps://github.com/loic-simon/cpython/tree/pyrepl-module-completion-hardcode-special-stdlib-submodules
gh-69605: Hardcode some stdlib submodules in PyREPL module completion (os.path, collections.abc...) https://github.com/python/cpython/pull/138268#top
ambvhttps://github.com/ambv
python:mainhttps://github.com/python/cpython/tree/main
loic-simon:pyrepl-module-completion-hardcode-special-stdlib-submoduleshttps://github.com/loic-simon/cpython/tree/pyrepl-module-completion-hardcode-special-stdlib-submodules
Conversation 11 https://github.com/python/cpython/pull/138268
Commits 6 https://github.com/python/cpython/pull/138268/commits
Checks 55 https://github.com/python/cpython/pull/138268/checks
Files changed 3 https://github.com/python/cpython/pull/138268/files
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/loic-simon
loic-simonhttps://github.com/loic-simon
Aug 30, 2025https://github.com/python/cpython/pull/138268#issue-3369314076
Please reload this pagehttps://github.com/python/cpython/pull/138268
#69605 (comment)https://github.com/python/cpython/issues/69605#issuecomment-2889033396
documented moduleshttps://docs.python.org/3/py-modindex.html
@tomasr8https://github.com/tomasr8
Readline completion of module names in import statements #69605https://github.com/python/cpython/issues/69605
Please reload this pagehttps://github.com/python/cpython/pull/138268
https://github.com/loic-simon
PyREPL module completion: hardcode special stdlib submoduleshttps://github.com/python/cpython/pull/138268/commits/dc136768180506c5823c5ecc1dbaabee81f77fd7
dc13676https://github.com/python/cpython/pull/138268/commits/dc136768180506c5823c5ecc1dbaabee81f77fd7
https://github.com/loic-simon
loic-simonhttps://github.com/loic-simon
ambvhttps://github.com/ambv
lysnikolaouhttps://github.com/lysnikolaou
pablogsalhttps://github.com/pablogsal
code ownershttps://github.com/python/cpython/blob/31d3836f26096f9503ca68f4e89d927bc1e060cd/.github/CODEOWNERS#L528
August 30, 2025 17:11https://github.com/python/cpython/pull/138268#event-19424669448
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Aug 30, 2025https://github.com/python/cpython/pull/138268#issuecomment-3239408888
Please reload this pagehttps://github.com/python/cpython/pull/138268
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/138268
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
Aug 30, 2025https://github.com/python/cpython/pull/138268#event-19424669591
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 30, 2025 https://github.com/python/cpython/pull/138268#ref-issue-1198942795
Readline completion of module names in import statements #69605 https://github.com/python/cpython/issues/69605
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/138268/commits/6f38649d043b56e871411f2a6065afcb26e192e1
6f38649https://github.com/python/cpython/pull/138268/commits/6f38649d043b56e871411f2a6065afcb26e192e1
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Aug 30, 2025 https://github.com/python/cpython/pull/138268#pullrequestreview-3171130273
View reviewed changes https://github.com/python/cpython/pull/138268/files/6f38649d043b56e871411f2a6065afcb26e192e1
Lib/_pyrepl/_module_completer.pyhttps://github.com/python/cpython/pull/138268/files/6f38649d043b56e871411f2a6065afcb26e192e1#diff-d69be06e3f06a087e2707f990264ba91eb2cb5db3d047a0a4f0473ab20cb8f73
Please reload this pagehttps://github.com/python/cpython/pull/138268
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Aug 30, 2025 https://github.com/python/cpython/pull/138268#pullrequestreview-3171130410
View reviewed changes https://github.com/python/cpython/pull/138268/files/6f38649d043b56e871411f2a6065afcb26e192e1
Lib/_pyrepl/_module_completer.pyhttps://github.com/python/cpython/pull/138268/files/6f38649d043b56e871411f2a6065afcb26e192e1#diff-d69be06e3f06a087e2707f990264ba91eb2cb5db3d047a0a4f0473ab20cb8f73
Please reload this pagehttps://github.com/python/cpython/pull/138268
https://github.com/loic-simon
loic-simonhttps://github.com/loic-simon
Aug 30, 2025 https://github.com/python/cpython/pull/138268#pullrequestreview-3171130652
View reviewed changes https://github.com/python/cpython/pull/138268/files/6f38649d043b56e871411f2a6065afcb26e192e1
Lib/test/test_pyrepl/test_pyrepl.pyhttps://github.com/python/cpython/pull/138268/files/6f38649d043b56e871411f2a6065afcb26e192e1#diff-527def17e95277d68de9ccbef2358e5b89aba5407163ff8d0777936bb3f3bfab
Please reload this pagehttps://github.com/python/cpython/pull/138268
loic-simonhttps://github.com/loic-simon
August 30, 2025 19:26https://github.com/python/cpython/pull/138268#commits-pushed-362e821
https://github.com/loic-simon
Review feedbackhttps://github.com/python/cpython/pull/138268/commits/362e821a816a7843990f328677f0d08494e72892
362e821https://github.com/python/cpython/pull/138268/commits/362e821a816a7843990f328677f0d08494e72892
https://github.com/loic-simon
Use .extend instead of +https://github.com/python/cpython/pull/138268/commits/a952c2a6c8d589dd1e0af2cc11d3fecd001b807a
a952c2ahttps://github.com/python/cpython/pull/138268/commits/a952c2a6c8d589dd1e0af2cc11d3fecd001b807a
https://github.com/aisk
aiskhttps://github.com/aisk
Aug 31, 2025 https://github.com/python/cpython/pull/138268#pullrequestreview-3171352905
View reviewed changes https://github.com/python/cpython/pull/138268/files/a952c2a6c8d589dd1e0af2cc11d3fecd001b807a
Misc/NEWS.d/next/Core_and_Builtins/2025-08-30-17-15-05.gh-issue-69605.KjBk99.rsthttps://github.com/python/cpython/pull/138268/files/a952c2a6c8d589dd1e0af2cc11d3fecd001b807a#diff-7fdf63f53b3b7652b261fea5f59627c4918fa1a599eab89b4c2f961322c5b7e2
Please reload this pagehttps://github.com/python/cpython/pull/138268
https://github.com/tomasr8
tomasr8https://github.com/tomasr8
Aug 31, 2025https://github.com/python/cpython/pull/138268#issuecomment-3240084300
Please reload this pagehttps://github.com/python/cpython/pull/138268
https://github.com/loic-simon
loic-simonhttps://github.com/loic-simon
Aug 31, 2025https://github.com/python/cpython/pull/138268#issuecomment-3240137336
Please reload this pagehttps://github.com/python/cpython/pull/138268
loic-simonhttps://github.com/loic-simon
August 31, 2025 16:12https://github.com/python/cpython/pull/138268#commits-pushed-fbfe884
https://github.com/loic-simon
Do not propose hardcoded submodules if local importhttps://github.com/python/cpython/pull/138268/commits/fbfe884e66a79de1df33768836a6632b044da991
fbfe884https://github.com/python/cpython/pull/138268/commits/fbfe884e66a79de1df33768836a6632b044da991
https://github.com/ambv
Nit nittety nithttps://github.com/python/cpython/pull/138268/commits/985bb20b459dc7ebc69bf421e66cdc787118a74a
985bb20https://github.com/python/cpython/pull/138268/commits/985bb20b459dc7ebc69bf421e66cdc787118a74a
https://github.com/ambv
ambvhttps://github.com/ambv
537133dhttps://github.com/python/cpython/commit/537133d2b63611ce1c04aac4c283c932dee9985a
Sep 15, 2025https://github.com/python/cpython/pull/138268#event-19706325433
Please reload this pagehttps://github.com/python/cpython/pull/138268
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
Sep 15, 2025https://github.com/python/cpython/pull/138268#event-19706326324
https://github.com/ambv
ambvhttps://github.com/ambv
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Sep 15, 2025https://github.com/python/cpython/pull/138268#event-19706328751
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Sep 15, 2025https://github.com/python/cpython/pull/138268#issuecomment-3293082252
@loic-simonhttps://github.com/loic-simon
@ambvhttps://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/138268
miss-islingtonhttps://github.com/miss-islington
Sep 15, 2025 https://github.com/python/cpython/pull/138268#ref-commit-2239e63
https://github.com/loic-simon
https://github.com/ambv
https://github.com/miss-islington
pythongh-69605https://github.com/python/cpython/issues/69605
: Hardcode some stdlib submodules in PyREPL module comp…https://github.com/miss-islington/cpython/commit/2239e63793275af2afc75f5c6108dc3e10702f3b
2239e63https://github.com/miss-islington/cpython/commit/2239e63793275af2afc75f5c6108dc3e10702f3b
pythonGH-138268https://github.com/python/cpython/pull/138268
537133dhttps://github.com/miss-islington/cpython/commit/537133d2b63611ce1c04aac4c283c932dee9985a
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 15, 2025https://github.com/python/cpython/pull/138268#issuecomment-3293083160
GH-138943https://github.com/python/cpython/pull/138943
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/138268
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Sep 15, 2025https://github.com/python/cpython/pull/138268#event-19706333434
https://github.com/loic-simon
loic-simonhttps://github.com/loic-simon
Sep 30, 2025 https://github.com/python/cpython/pull/138268#ref-pullrequest-3470901625
gh-69605: Check for already imported modules in PyREPL module completion #139461 https://github.com/python/cpython/pull/139461
https://github.com/loic-simon
loic-simonhttps://github.com/loic-simon
Sep 30, 2025https://github.com/python/cpython/pull/138268#issuecomment-3353613993
#139461https://github.com/python/cpython/pull/139461
Please reload this pagehttps://github.com/python/cpython/pull/138268
ambvhttps://github.com/ambv
Oct 7, 2025 https://github.com/python/cpython/pull/138268#ref-commit-d912e9a
https://github.com/miss-islington
https://github.com/loic-simon
https://github.com/ambv
[3.14]https://github.com/python/cpython/commit/d912e9a8520c92ec0fed2bc8e8fd5cc83fa8776b
gh-69605https://github.com/python/cpython/issues/69605
: Hardcode some stdlib submodules in PyREPL module com…https://github.com/python/cpython/commit/d912e9a8520c92ec0fed2bc8e8fd5cc83fa8776b
d912e9ahttps://github.com/python/cpython/commit/d912e9a8520c92ec0fed2bc8e8fd5cc83fa8776b
GH-138268https://github.com/python/cpython/pull/138268
GH-138943https://github.com/python/cpython/pull/138943
537133dhttps://github.com/python/cpython/commit/537133d2b63611ce1c04aac4c283c932dee9985a
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%2F138268
https://github.com/aisk
aisk https://github.com/aisk
https://github.com/python/cpython/pull/138268/files/a952c2a6c8d589dd1e0af2cc11d3fecd001b807a
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/python/cpython/pull/138268/files/6f38649d043b56e871411f2a6065afcb26e192e1
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
https://github.com/ambv
ambv https://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/138268
https://github.com/loic-simon
https://github.com/tomasr8
https://github.com/aisk
https://github.com/AA-Turner
https://github.com/ambv
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.