Uh oh!
There was an error while loading. Please reload this page.
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 |
tomasr8
left a comment
There was a problem hiding this comment.
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh 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 commit 0e3bc96) 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 the 3.14 branch. |
…r completion (pythongh-134181) Co-authored-by: Loïc Simon <loic.simon@napta.io>
…r completion (pythongh-134181) Co-authored-by: Loïc Simon <loic.simon@napta.io>
…r completion (pythongh-134181) Co-authored-by: Loïc Simon <loic.simon@napta.io>
When no module completions are available, do not fallback on completions from current namespace, as there are not relevant.
Before:
After:
cc @tomasr8