[issue25011] Smarter rl complete: hide private and special names

Serhiy Storchaka report at bugs.python.org
Tue Sep 8 05:07:43 CEST 2015


Serhiy Storchaka added the comment:

Here is improved patch. The completion of empty prefix now returns the list of private names if there are no public names. The completion of empty prefix or prefix '_' now returns the list of dunder names if there are no non-dunder names. For example try "None.".

In addition attr_matches() no longer returns duplicated names.

----------
Added file: http://bugs.python.org/file40399/rlcomplete_filter_private_2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25011>
_______________________________________


More information about the Python-bugs-list mailing list