Ordering supplied by __dir__ is ignored in completions #10671

Open
jlstevens opened this Issue Jun 23, 2017 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

jlstevens commented Jun 23, 2017 edited

This screenshot shows the output of IPython.sys_info() and demonstrates the issue I am having:

image

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.

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