-
-
Couldn't load subscription status.
- Fork 33.2k
gh-134215: PyREPL: Do not show underscored modules by default during autocompletion #134267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 14 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
fd0212d
gh-134215: Improve ModuleCompleter module
kevteg 3e314e8
Merge branch 'main' into pyrepl_underscored_fix
kevteg 7c4f4c8
Remove unused import
kevteg ff6b6a3
Merge branch 'pyrepl_underscored_fix' of github.com:kevteg/cpython in…
kevteg f7a2db9
Add news
kevteg 2c5f81e
Rename method
kevteg 1472148
Update method name
kevteg 5f97959
Feedback
kevteg a04ecdf
Feedback
kevteg ca89754
Update docstring
kevteg 5636adb
Merge branch 'main' into pyrepl_underscored_fix
kevteg dc1a403
Merge branch 'pyrepl_underscored_fix' of github.com:kevteg/cpython in…
kevteg 4a2872a
Update tests
kevteg e854d10
Update Lib/test/test_pyrepl/test_pyrepl.py
kevteg e3fc8e0
Update Misc/NEWS.d/next/Tools-Demos/2025-05-19-14-57-46.gh-issue-1342…
kevteg 4918343
Fix
kevteg 04f78cf
Merge branch 'pyrepl_underscored_fix' of github.com:kevteg/cpython in…
kevteg ff02e15
Merge branch 'main' into pyrepl_underscored_fix
kevteg 262b4e1
Merge branch 'main' into pyrepl_underscored_fix
kevteg 0323ec3
Small refactor
kevteg 038fc4e
Merge branch 'pyrepl_underscored_fix' of github.com:kevteg/cpython in…
kevteg 76435a0
Merge branch 'main' into pyrepl_underscored_fix
kevteg 14cac01
Remove docstring
kevteg e1ac435
Merge branch 'pyrepl_underscored_fix' of github.com:kevteg/cpython in…
kevteg 1e88864
Update Lib/_pyrepl/_module_completer.py
ambv 99a3d6b
Merge branch 'main' into pyrepl_underscored_fix
ambv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Tools-Demos/2025-05-19-14-57-46.gh-issue-134215.sbdDK6.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| autocompletion return the private modules (start with _) only if explicitly specified | ||
kevteg marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.