Skip to content

bpo-40529: rlcompleter with case insensitive #19957

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kasulamadhusudhan
Copy link

@kasulamadhusudhan kasulamadhusudhan commented May 6, 2020

Added an option to the user to make completions with case insensitive / sensitive.
rlcompleter.set_case_insensitive(True) # to enable case insensitive
Added documentation accordingly.

https://bugs.python.org/issue40529

Added an option to the user to make completions with case insensitive / sensitive.
rlcompleter.set_case_insensitive(True) # to enable case insensitive
Added documentation accordingly.

* skip news
@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

Recognized GitHub username

We couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames:

@kasulamadhusudhan

This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

Copy link
Contributor

@remilapeyre remilapeyre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @kasulamadhusudhan, thanks for your contribution! You will have to sign the CLA to get this change accepted if you did not do it yet.

This change will also need to be documented at Doc/library/rlcompleter.rst and have some tests before it can be accepted.

Incorporated review comments @ Lib/rlcompleter.py
Added documentation @ Doc/library/rlcompleter.rst
Added unit testcase test_case_insentive_matches() @ Lib/test/test_rlcompleter.py

* skip news
Changed func name set_case_insensitive() -> set_ignore_case()
Modified Docs and Tests accordingly

* skip news
@kasulamadhusudhan
Copy link
Author

Please review this.

@taleinat
Copy link
Contributor

@kasulamadhusudhan, I'm sorry for the great delay until someone could give some attention to the issue and this PR.

I'd be happy to review this, pending conclusion of the discussion on the issue.

I'm adding the "do-not-merge" tag just to make this status clearer. I do feel that this has a good chance of being merged.

@taleinat taleinat added DO-NOT-MERGE type-feature A feature request or enhancement labels Oct 17, 2020
@taleinat
Copy link
Contributor

taleinat commented Oct 17, 2020

Also, this will need an accompanying NEWS entry, which will need to be added to this PR (using blurb add or the blurb-it online tool.) It will also require a "What's New?" entry, but that can be left to the release manager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants