Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emacs completion produces duplicate prefixes when Jedi is disabled #11802

Closed
brandonwillard opened this issue Jun 27, 2019 · 0 comments
Closed
Milestone

Comments

@brandonwillard
Copy link
Contributor

In an IPython session started with ipython --quick at 4f98f10

ip = get_ipython()
c = ip.Completer
ip.ex("class TestClass():\n\ta=1\n\ta1=2")
ip.Completer.use_jedi = False
c.all_completions("TestClass.a")

yields

['TestClass.TestClass.a', 'TestClass.TestClass.a1']

The expected output is ['TestClass.a', 'TestClass.a1']. The current output ruins Emacs completion when jedi is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants