Madhusudhan Kasula <kasula.madhusud...@gmail.com> added the comment:

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'.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40529>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to