Skip to content

Conversation

@kevteg
Copy link
Contributor

@kevteg kevteg commented May 19, 2025

  • Add _is_suggestion_match method to the ModuleCompleter module
  • Add new tests to check autocomplete behaviour with private and public methods

* Add _should_add_module_name method to the ModuleCompleter module
* Add new tests to check autocomplete behaviour on private method
@python-cla-bot
Copy link

python-cla-bot bot commented May 19, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app
Copy link

bedevere-app bot commented May 19, 2025

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 skip news label instead.

@bedevere-app
Copy link

bedevere-app bot commented May 19, 2025

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 skip news label instead.

@bedevere-app
Copy link

bedevere-app bot commented May 19, 2025

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 skip news label instead.

@kevteg
Copy link
Contributor Author

kevteg commented May 19, 2025

@tomasr8 ready for your review!

@tomasr8 tomasr8 changed the title gh-134215: Improve ModuleCompleter module gh-134215: PyREPL: Do not show underscored modules by default during autocompletion May 20, 2025
@ambv ambv added the needs backport to 3.14 bugs and security fixes label May 20, 2025
@ambv ambv merged commit a3a3cf6 into python:main May 20, 2025
47 checks passed
@miss-islington-app
Copy link

Thanks @kevteg for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 20, 2025
…uring autocompletion (pythongh-134267)

(cherry picked from commit a3a3cf6)

Co-authored-by: Kevin Hernández <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Tomas R. <[email protected]>
Co-authored-by: Łukasz Langa <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented May 20, 2025

GH-134388 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label May 20, 2025
@tomasr8
Copy link
Member

tomasr8 commented May 20, 2025

Congrats @kevteg !!

ambv added a commit that referenced this pull request May 20, 2025
…during autocompletion (gh-134267) (gh-134388)

(cherry picked from commit a3a3cf6)

Co-authored-by: Kevin Hernández <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Tomas R. <[email protected]>
Co-authored-by: Łukasz Langa <[email protected]>
lkollar pushed a commit to lkollar/cpython that referenced this pull request May 26, 2025
…uring autocompletion (pythongh-134267)

Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Tomas R. <[email protected]>
Co-authored-by: Łukasz Langa <[email protected]>
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
…uring autocompletion (pythongh-134267)

Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Tomas R. <[email protected]>
Co-authored-by: Łukasz Langa <[email protected]>
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
…uring autocompletion (pythongh-134267)

Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Tomas R. <[email protected]>
Co-authored-by: Łukasz Langa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants