Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Avoid importing from IPython.parallel in core #2221
IPython.core.interactiveshell imports an error class from IPython.parallel:
This pulls in the parallel machinery, zmq, numpy, paramiko, and so on, so it adds significantly to startup time and memory use.
The comment in the file suggests a better way of handling it - move the error class into IPython.core.errors, and have IPython.parallel import it from there.