Skip to content

Very slow line execution using IPython in macOS #2902

@jeffak

Description

@jeffak

After running a few initial commands in a new IPython console (regardless of what they may be), line execution automatically defaults to multline mode and slows down considerably.
For example:

Opening new IPython console:
Python 3.5.1 (default, Dec 20 2015, 15:56:10) 
Type "copyright", "credits" or "license" for more information.

IPython 4.0.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
%guiref   -> A brief reference about the graphical user interface.

In[1]: l1 = ['apple','orange','banana']
In[2]: l2 = ['carrot','onion','zucchini']
In[3]: l3 = ['yellow','green','red']
In[4]: l4 = ['Honda','Toyota','Ford']
  ...:

This last line will take several seconds to execute, and all subsequently entered statements will behave similarly, making the console virtually unusable.

OSX Yosemite (10.10.5)
Spyder: 2.3.8 (installed via pip)
Python: 3.5.1 (installed using homebrew)
Qt: 4.8.7_2 (installed using homebrew)


IPython >=1.0      :  4.0.1 (OK)
jedi >=0.8.1;<0.9.0:  0.8.1 (OK)
matplotlib >=1.0   :  1.5.0 (OK)
pandas >=0.13.1    :  0.17.1 (OK)
pep8 >=0.6         :  1.6.2 (OK)
psutil >=0.3       :  3.3.0 (OK)
pyflakes >=0.6.0   :  1.0.0 (OK)
pygments >=1.6     :  2.0.2 (OK)
pylint >=0.25      :  1.5.2 (OK)
qtconsole >=4.0    :  4.1.1 (OK)
rope >=0.9.2       :  0.10.3 (OK)
sphinx >=0.6.6     :  1.3.3 (OK)
sympy >=0.7.3      :  0.7.6.1 (OK)
zmq >=2.1.11       :  15.1.0 (OK)

This issue does not occur when opening a Qt console outside of the Spyder environment. Any help or suggestions would be much appreciated.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions