Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
gh-69605: Disable PyREPL module autocomplete fallback on regular completion#134181
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
gh-69605: Disable PyREPL module autocomplete fallback on regular completion#134181
Uh oh!
There was an error while loading.Please reload this page.
Conversation
When no module completions are available, do not fallback to completions from current namespace
Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb 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 🙂
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Misc/NEWS.d/next/Core_and_Builtins/2025-05-18-14-33-23.gh-issue-69605.ZMO49F.rst OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
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!
Uh oh!
There was an error while loading.Please reload this page.
0e3bc96
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@loic-simon for the PR, and@ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…r completion (pythongh-134181)(cherry picked from commit0e3bc96)Co-authored-by: Loïc Simon <loic.pano@gmail.com>Co-authored-by: Loïc Simon <loic.simon@napta.io>
GH-134680 is a backport of this pull request to the3.14 branch. |
Uh oh!
There was an error while loading.Please reload this page.
When no module completions are available, do not fallback on completions from current namespace, as there are not relevant.
Before:
After:
cc@tomasr8