0

To reproduce, in an inferior-python shell, type "a=[0,1]; a[0].[tab]", here [tab] means the tab key, no completion. In a terminal, the above procedure will pop up a completion list.

(python-shell-completion-native-get-completions (get-buffer-process (current-buffer)) "a=[0,1]; a[0].   ")
2
  • Works for me. You should investigate further; it is possible that you need to install a newer version of Emacs or that your Emacs configuration has broken this in some way. Try running emacs -Q and seeing if it works. If it does, then bisect your Emacs config files. Commented Mar 26 at 10:33
  • Try if you can get completion after this: a=[0,1];a[0].[tab] Commented Mar 26 at 12:22

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.