Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Ordering supplied by __dir__ is ignored in completions #10671
Comments
jlstevens
referenced
this issue
Jun 26, 2017
Merged
Re-enabled case-sensitive sorting of completions #10677
minrk
added this to the
6.2
milestone
Jul 12, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jlstevens commentedJun 23, 2017
•
edited
This screenshot shows the output of
IPython.sys_info()and demonstrates the issue I am having:In short, tab-completion is not cycling/displaying possible completions in the order suggested by
__dir__. I believe this has been an issue for a couple of versions now but it was correctly respected in older IPython versions.Is there a fix planned for this issue? Alternatively, perhaps I can do something extra to either (1) force the completions to use the explicit ordering supplied by
__dir__or (2) enforce alphabetical sorting of the suggestions so that capitalized names are listed before lowercase ones?Thank you.