-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-69605: Disable PyREPL module autocomplete fallback on regular completion #134181 8000
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
base: main
Are you sure you want to change the base?
gh-69605: Disable PyREPL module autocomplete fallback on regular completion #134181
Conversation
When no module completions are available, do not fallback to completions from current namespace
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Overall approach looks good, I just have some nitpicks 🙂
Misc/NEWS.d/next/Core_and_Builtins/2025-05-18-14-33-23.gh-issue-69605.ZMO49F.rst
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
When no module completions are available, do not fallback on completions from current namespace, as there are not relevant.
Before:
After:
cc @tomasr8