ipython / ipython/ipython

Autocompletion stops working after creating an InteractiveShellEmbed object

Ouverte
#6,635 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug tab-completion
Langage dominant
Python
Étoiles
16.8k
Forks
4.5k
Merge moyen
1 j 2 h
PR mergées (30 j)
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?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.