ipython / ipython/ipython

Autocompletion stops working after creating an InteractiveShellEmbed object

Open
#6,635 3 comments 0 reactions 0 assignees View on GitHub
bug tab-completion
Dominant language
Python
Stars
16.8k
Forks
4.5k
Avg merge
1d 2h
Merged PRs (30d)
6

Description

I am using the latest stable `IPython (2.2.0)` and `pyreadline (2.0)`. I am having problems with autocompletion with both `Python 2.7.8` and `Python 3.3.5`.

Autocompletion works fine until I run:
`ipshell = InteractiveShellEmbed(config=cfg, banner1=banner_msg, exit_msg=exit_msg)`

where I have previously issued the following command:
`from IPython.terminal.embed import InteractiveShellEmbed`

I can still autocomplete packages and names e.g.:
- `from num[TAB]` completes to `numpy`,
- `numpy.[TAB]` shows suggestions as well

Why is this? Is it a bug? Expected?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.