Author mkasula
Recipients mkasula, python-dev, steven.daprano
Date 2020-05-06.15:43:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588779804.62.0.358632151097.issue40529@roundup.psfhosted.org>
In-reply-to
Content
Yes. Python is case sensitive language and this feature will not break its essence.
This case insensitive completion will help interpreter user for easy typing and choose from the available options.
In the following example even user typed 'os.po', completions will give user all the options ignoring case:

>>>  os.po
os.POSIX_FADV_DONTNEED    os.POSIX_FADV_NORMAL      os.POSIX_FADV_SEQUENTIAL  os.popen(                 os.posix_fallocate(       
os.POSIX_FADV_NOREUSE     os.POSIX_FADV_RANDOM      os.POSIX_FADV_WILLNEED    os.posix_fadvise(         
>>> os.po

And finally, this is implemented as an controllable user option with default value as 'case sensitive'. So user can choose to go case insensitive or not. Even core 'readline' also provide this option with 'set completion-ignore-case on'.
History
Date User Action Args
2020-05-06 15:43:24mkasulasetrecipients: + mkasula, steven.daprano, python-dev
2020-05-06 15:43:24mkasulasetmessageid: <1588779804.62.0.358632151097.issue40529@roundup.psfhosted.org>
2020-05-06 15:43:24mkasulalinkissue40529 messages
2020-05-06 15:43:24mkasulacreate