Skip to content

Interactive shell trying to: from ... import history #1197

Closed
holmboe opened this Issue Dec 22, 2011 · 12 comments

3 participants

@holmboe
holmboe commented Dec 22, 2011

Using ipython 0.12 with python 3.1.2.

$ ipython3
Traceback (most recent call last):
  File "/home/hh/.virtualenvs/sweddoc4/bin/ipython3", line 9, in <module>
    load_entry_point('ipython==0.12', 'console_scripts', 'ipython3')()
  File "/home/hh/.virtualenvs/sweddoc4/lib/python3.1/site-packages/IPython/frontend/terminal/ipapp.py", line 402, in launch_new_instance
    app.initialize()
  File "<string>", line 2, in initialize
  File "/home/hh/.virtualenvs/sweddoc4/lib/python3.1/site-packages/IPython/config/application.py", line 84, in catch_config_error
    return method(app, *args, **kwargs)
  File "/home/hh/.virtualenvs/sweddoc4/lib/python3.1/site-packages/IPython/frontend/terminal/ipapp.py", line 312, in initialize
    self.init_shell()
  File "/home/hh/.virtualenvs/sweddoc4/lib/python3.1/site-packages/IPython/frontend/terminal/ipapp.py", line 332, in init_shell
    ipython_dir=self.ipython_dir)
  File "/home/hh/.virtualenvs/sweddoc4/lib/python3.1/site-packages/IPython/config/configurable.py", line 318, in instance
    inst = cls(*args, **kwargs)
  File "/home/hh/.virtualenvs/sweddoc4/lib/python3.1/site-packages/IPython/frontend/terminal/interactiveshell.py", line 183, in __init__
    user_module=user_module, custom_exceptions=custom_exceptions
  File "/home/hh/.virtualenvs/sweddoc4/lib/python3.1/site-packages/IPython/core/interactiveshell.py", line 480, in __init__
    self.init_magics()
  File "/home/hh/.virtualenvs/sweddoc4/lib/python3.1/site-packages/IPython/core/interactiveshell.py", line 1957, in init_magics
    from ... import history
ValueError: Attempted relative import beyond toplevel package

The attached patch makes it possible to start ipython3.

--- interactiveshell.py.orig    2011-12-22 15:50:57.000000000 +0100
+++ interactiveshell.py 2011-12-22 15:47:39.000000000 +0100
@@ -1954,7 +1954,7 @@
         # even need a centralize colors management object.
         self.magic_colors(self.colors)
         # History was moved to a separate module
-        from ... import history
+        from IPython.core import history
         history.init_ipython(self)

     def magic(self, arg_s, next_input=None):
@minrk
IPython member
minrk commented Dec 23, 2011

interesting, that looks like an issue with 2to3, or something. I don't know why it would put '...' in there (it's not in the source), and it doesn't on my Python3 (3.2.2).

@takluyver
IPython member

The corresponding line of the source code is here: https://github.com/ipython/ipython/blob/master/IPython/core/interactiveshell.py#L1956

How did you install IPython?

It might be an issue with 2to3, as Min says. I've not tested on 3.1 for a long time.

@holmboe
holmboe commented Dec 23, 2011

A full transcript of an installation is below. Notice that I run inside a virtualenv.

Script started on Fri 23 Dec 2011 11:16:11 PM CET
�]0;hh@wink: ~�hh@wink:~$ pip freeze | grep virtualenv

/usr/local/bin/pip:5: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)

  from pkg_resources import load_entry_point

virtualenv==1.7

virtualenvwrapper==2.10

�]0;hh@wink: ~�hh@wink:~$ pip --version

/usr/local/bin/pip:5: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)

  from pkg_resources import load_entry_point

pip 1.0.2 from /usr/local/lib/python2.6/dist-packages (python 2.6)

�]0;hh@wink: ~�hh@wink:~$ mkvirtualenv --no-site-packages --python=/usr/bin/python3 three-dots

Running virtualenv with interpreter /usr/bin/python3

The --no-site-packages flag is deprecated; it is now the default behavior.

New python executable in three-dots/bin/python3

Also creating executable in three-dots/bin/python

Installing distribute............................................................................................................................................................................................................................................................................................................................................................done.

Installing pip...............done.

virtualenvwrapper.user_scripts creating /home/hh/.virtualenvs/three-dots/bin/predeactivate

virtualenvwrapper.user_scripts creating /home/hh/.virtualenvs/three-dots/bin/postdeactivate

virtualenvwrapper.user_scripts creating /home/hh/.virtualenvs/three-dots/bin/preactivate

virtualenvwrapper.user_scripts creating /home/hh/.virtualenvs/three-dots/bin/postactivate

virtualenvwrapper.user_scripts creating /home/hh/.virtualenvs/three-dots/bin/get_env_details

(three-dots)�]0;hh@wink: ~�hh@wink:~$ pip install ipython

Downloading/unpacking ipython

  Using download cache from /var/tmp/pip_download_cache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fi%2Fipython%2Fipython-0.12.tar.gz

  Running setup.py egg_info for package ipython



    no previously-included directories found matching 'IPython/deathrow'

    no previously-included directories found matching 'IPython/frontend/html/notebook/static/mathjax'

    warning: no previously-included files found matching 'docs/#*'

    warning: no previously-included files found matching 'docs/man/*.1'

    no previously-included directories found matching 'docs/attic'

    no previously-included directories found matching 'docs/build'

    no previously-included directories found matching 'docs/gh-pages'

    warning: no previously-included files matching '*~' found anywhere in distribution

    warning: no previously-included files matching '*.flc' found anywhere in distribution

    warning: no previously-included files matching '*.pyo' found anywhere in distribution

    warning: no previously-included files matching '.dircopy.log' found anywhere in distribution

Installing collected packages: ipython

  Running setup.py install for ipython

    Fixing build/lib.linux-i686-3.1/IPython/__init__.py build/lib.linux-i686-3.1/IPython/kernel/__init__.py build/lib.linux-i686-3.1/IPython/utils/cursesimport.py build/lib.linux-i686-3.1/IPython/utils/nested_context.py build/lib.linux-i686-3.1/IPython/utils/coloransi.py build/lib.linux-i686-3.1/IPython/utils/pickleutil.py build/lib.linux-i686-3.1/IPython/utils/PyColorize.py build/lib.linux-i686-3.1/IPython/utils/doctestreload.py build/lib.linux-i686-3.1/IPython/utils/module_paths.py build/lib.linux-i686-3.1/IPython/utils/growl.py build/lib.linux-i686-3.1/IPython/utils/dir2.py build/lib.linux-i686-3.1/IPython/utils/terminal.py build/lib.linux-i686-3.1/IPython/utils/traitlets.py build/lib.linux-i686-3.1/IPython/utils/ipstruct.py build/lib.linux-i686-3.1/IPython/utils/path.py build/lib.linux-i686-3.1/IPython/utils/newserialized.py build/lib.linux-i686-3.1/IPython/utils/wildcard.py build/lib.linux-i686-3.1/IPython/utils/frame.py build/lib.linux-i686-3.1/IPython/utils/_process_win32.py build/lib.linux-i686-3.1/IPython/utils/__init__.py build/lib.linux-i686-3.1/IPython/utils/sysinfo.py build/lib.linux-i686-3.1/IPython/utils/codeutil.py build/lib.linux-i686-3.1/IPython/utils/text.py build/lib.linux-i686-3.1/IPython/utils/decorators.py build/lib.linux-i686-3.1/IPython/utils/_process_posix.py build/lib.linux-i686-3.1/IPython/utils/py3compat.py build/lib.linux-i686-3.1/IPython/utils/_process_common.py build/lib.linux-i686-3.1/IPython/utils/data.py build/lib.linux-i686-3.1/IPython/utils/rlineimpl.py build/lib.linux-i686-3.1/IPython/utils/localinterfaces.py build/lib.linux-i686-3.1/IPython/utils/jsonutil.py build/lib.linux-i686-3.1/IPython/utils/pickleshare.py build/lib.linux-i686-3.1/IPython/utils/daemonize.py build/lib.linux-i686-3.1/IPython/utils/tempdir.py build/lib.linux-i686-3.1/IPython/utils/strdispatch.py build/lib.linux-i686-3.1/IPython/utils/warn.py build/lib.linux-i686-3.1/IPython/utils/generics.py build/lib.linux-i686-3.1/IPython/utils/autoattr.py build/lib.linux-i686-3.1/IPython/utils/upgradedir.py build/lib.linux-i686-3.1/IPython/utils/importstring.py build/lib.linux-i686-3.1/IPython/utils/timing.py build/lib.linux-i686-3.1/IPython/utils/io.py build/lib.linux-i686-3.1/IPython/utils/process.py build/lib.linux-i686-3.1/IPython/utils/syspathcontext.py build/lib.linux-i686-3.1/IPython/utils/notification.py build/lib.linux-i686-3.1/IPython/utils/attic.py build/lib.linux-i686-3.1/IPython/utils/tests/test_path.py build/lib.linux-i686-3.1/IPython/utils/tests/test_text.py build/lib.linux-i686-3.1/IPython/utils/tests/test_traitlets.py build/lib.linux-i686-3.1/IPython/utils/tests/__init__.py build/lib.linux-i686-3.1/IPython/utils/tests/test_wildcard.py build/lib.linux-i686-3.1/IPython/utils/tests/test_jsonutil.py build/lib.linux-i686-3.1/IPython/utils/tests/test_module_paths.py build/lib.linux-i686-3.1/IPython/utils/tests/test_process.py build/lib.linux-i686-3.1/IPython/utils/tests/test_imports.py build/lib.linux-i686-3.1/IPython/utils/tests/test_pycolorize.py build/lib.linux-i686-3.1/IPython/utils/tests/test_notification.py build/lib.linux-i686-3.1/IPython/utils/tests/test_io.py build/lib.linux-i686-3.1/IPython/config/application.py build/lib.linux-i686-3.1/IPython/config/__init__.py build/lib.linux-i686-3.1/IPython/config/configurable.py build/lib.linux-i686-3.1/IPython/config/loader.py build/lib.linux-i686-3.1/IPython/config/tests/__init__.py build/lib.linux-i686-3.1/IPython/config/tests/test_configurable.py build/lib.linux-i686-3.1/IPython/config/tests/test_application.py build/lib.linux-i686-3.1/IPython/config/tests/test_loader.py build/lib.linux-i686-3.1/IPython/config/profile/__init__.py build/lib.linux-i686-3.1/IPython/zmq/frontend.py build/lib.linux-i686-3.1/IPython/zmq/log.py build/lib.linux-i686-3.1/IPython/zmq/ipkernel.py build/lib.linux-i686-3.1/IPython/zmq/eventloops.py build/lib.linux-i686-3.1/IPython/zmq/zmqshell.py build/lib.linux-i686-3.1/IPython/zmq/kernelmanager.py build/lib.linux-i686-3.1/IPython/zmq/__init__.py build/lib.linux-i686-3.1/IPython/zmq/iostream.py build/lib.linux-i686-3.1/IPython/zmq/kernelapp.py build/lib.linux-i686-3.1/IPython/zmq/entry_point.py build/lib.linux-i686-3.1/IPython/zmq/blockingkernelmanager.py build/lib.linux-i686-3.1/IPython/zmq/displayhook.py build/lib.linux-i686-3.1/IPython/zmq/completer.py build/lib.linux-i686-3.1/IPython/zmq/pykernel.py build/lib.linux-i686-3.1/IPython/zmq/parentpoller.py build/lib.linux-i686-3.1/IPython/zmq/heartbeat.py build/lib.linux-i686-3.1/IPython/zmq/session.py build/lib.linux-i686-3.1/IPython/zmq/gui/gtkembed.py build/lib.linux-i686-3.1/IPython/zmq/gui/__init__.py build/lib.linux-i686-3.1/IPython/zmq/pylab/__init__.py build/lib.linux-i686-3.1/IPython/zmq/pylab/backend_inline.py build/lib.linux-i686-3.1/IPython/zmq/tests/test_session.py build/lib.linux-i686-3.1/IPython/zmq/tests/__init__.py build/lib.linux-i686-3.1/IPython/zmq/tests/test_message_spec.py build/lib.linux-i686-3.1/IPython/lib/inputhookwx.py build/lib.linux-i686-3.1/IPython/lib/clipboard.py build/lib.linux-i686-3.1/IPython/lib/demo.py build/lib.linux-i686-3.1/IPython/lib/deepreload.py build/lib.linux-i686-3.1/IPython/lib/inputhookgtk.py build/lib.linux-i686-3.1/IPython/lib/security.py build/lib.linux-i686-3.1/IPython/lib/backgroundjobs.py build/lib.linux-i686-3.1/IPython/lib/display.py build/lib.linux-i686-3.1/IPython/lib/__init__.py build/lib.linux-i686-3.1/IPython/lib/inputhookqt4.py build/lib.linux-i686-3.1/IPython/lib/latextools.py build/lib.linux-i686-3.1/IPython/lib/pretty.py build/lib.linux-i686-3.1/IPython/lib/inputhook.py build/lib.linux-i686-3.1/IPython/lib/inputhookglut.py build/lib.linux-i686-3.1/IPython/lib/guisupport.py build/lib.linux-i686-3.1/IPython/lib/kernel.py build/lib.linux-i686-3.1/IPython/lib/irunner.py build/lib.linux-i686-3.1/IPython/lib/inputhookpyglet.py build/lib.linux-i686-3.1/IPython/lib/tests/test_irunner_pylab_magic.py build/lib.linux-i686-3.1/IPython/lib/tests/test_irunner.py build/lib.linux-i686-3.1/IPython/lib/tests/__init__.py build/lib.linux-i686-3.1/IPython/lib/tests/test_backgroundjobs.py build/lib.linux-i686-3.1/IPython/lib/tests/test_kernel.py build/lib.linux-i686-3.1/IPython/lib/tests/test_imports.py build/lib.linux-i686-3.1/IPython/lib/tests/test_security.py build/lib.linux-i686-3.1/IPython/testing/_paramtestpy3.py build/lib.linux-i686-3.1/IPython/testing/_paramtestpy2.py build/lib.linux-i686-3.1/IPython/testing/nosepatch.py build/lib.linux-i686-3.1/IPython/testing/__init__.py build/lib.linux-i686-3.1/IPython/testing/decorators.py build/lib.linux-i686-3.1/IPython/testing/skipdoctest.py build/lib.linux-i686-3.1/IPython/testing/globalipapp.py build/lib.linux-i686-3.1/IPython/testing/tools.py build/lib.linux-i686-3.1/IPython/testing/ipunittest.py build/lib.linux-i686-3.1/IPython/testing/iptest.py build/lib.linux-i686-3.1/IPython/testing/mkdoctests.py build/lib.linux-i686-3.1/IPython/testing/tests/test_tools.py build/lib.linux-i686-3.1/IPython/testing/tests/test_ipunittest.py build/lib.linux-i686-3.1/IPython/testing/tests/__init__.py build/lib.linux-i686-3.1/IPython/testing/tests/test_decorators.py build/lib.linux-i686-3.1/IPython/testing/plugin/test_ipdoctest.py build/lib.linux-i686-3.1/IPython/testing/plugin/ipdoctest.py build/lib.linux-i686-3.1/IPython/testing/plugin/setup.py build/lib.linux-i686-3.1/IPython/testing/plugin/__init__.py build/lib.linux-i686-3.1/IPython/testing/plugin/simplevars.py build/lib.linux-i686-3.1/IPython/testing/plugin/show_refs.py build/lib.linux-i686-3.1/IPython/testing/plugin/test_refs.py build/lib.linux-i686-3.1/IPython/testing/plugin/simple.py build/lib.linux-i686-3.1/IPython/testing/plugin/dtexample.py build/lib.linux-i686-3.1/IPython/testing/plugin/iptest.py build/lib.linux-i686-3.1/IPython/frontend/consoleapp.py build/lib.linux-i686-3.1/IPython/frontend/__init__.py build/lib.linux-i686-3.1/IPython/frontend/qt/svg.py build/lib.linux-i686-3.1/IPython/frontend/qt/util.py build/lib.linux-i686-3.1/IPython/frontend/qt/kernelmanager.py build/lib.linux-i686-3.1/IPython/frontend/qt/__init__.py build/lib.linux-i686-3.1/IPython/frontend/qt/base_frontend_mixin.py build/lib.linux-i686-3.1/IPython/frontend/qt/rich_text.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/completion_lexer.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/console_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/ansi_code_processor.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/qtconsoleapp.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/__init__.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/kill_ring.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/history_console_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/pygments_highlighter.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/completion_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/frontend_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/call_tip_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/mainwindow.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/ipython_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/styles.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/rich_ipython_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/bracket_matcher.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/tests/test_ansi_code_processor.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/tests/test_kill_ring.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/tests/test_completion_lexer.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/tests/__init__.py build/lib.linux-i686-3.1/IPython/frontend/terminal/interactiveshell.py build/lib.linux-i686-3.1/IPython/frontend/terminal/__init__.py build/lib.linux-i686-3.1/IPython/frontend/terminal/ipapp.py build/lib.linux-i686-3.1/IPython/frontend/terminal/embed.py build/lib.linux-i686-3.1/IPython/frontend/terminal/console/app.py build/lib.linux-i686-3.1/IPython/frontend/terminal/console/interactiveshell.py build/lib.linux-i686-3.1/IPython/frontend/terminal/console/__init__.py build/lib.linux-i686-3.1/IPython/frontend/terminal/console/completer.py build/lib.linux-i686-3.1/IPython/frontend/terminal/console/tests/__init__.py build/lib.linux-i686-3.1/IPython/frontend/terminal/console/tests/test_console.py build/lib.linux-i686-3.1/IPython/frontend/terminal/tests/test_interactivshell.py build/lib.linux-i686-3.1/IPython/frontend/terminal/tests/__init__.py build/lib.linux-i686-3.1/IPython/frontend/html/__init__.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/zmqhttp.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/notebookapp.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/kernelmanager.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/notebookmanager.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/__init__.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/handlers.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/tests/__init__.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/tests/test_kernelsession.py build/lib.linux-i686-3.1/IPython/scripts/__init__.py build/lib.linux-i686-3.1/IPython/core/excolors.py build/lib.linux-i686-3.1/IPython/core/fakemodule.py build/lib.linux-i686-3.1/IPython/core/plugin.py build/lib.linux-i686-3.1/IPython/core/usage.py build/lib.linux-i686-3.1/IPython/core/shellapp.py build/lib.linux-i686-3.1/IPython/core/interactiveshell.py build/lib.linux-i686-3.1/IPython/core/error.py build/lib.linux-i686-3.1/IPython/core/prompts.py build/lib.linux-i686-3.1/IPython/core/application.py build/lib.linux-i686-3.1/IPython/core/shadowns.py build/lib.linux-i686-3.1/IPython/core/payloadpage.py build/lib.linux-i686-3.1/IPython/core/macro.py build/lib.linux-i686-3.1/IPython/core/display.py build/lib.linux-i686-3.1/IPython/core/autocall.py build/lib.linux-i686-3.1/IPython/core/ipapi.py build/lib.linux-i686-3.1/IPython/core/display_trap.py build/lib.linux-i686-3.1/IPython/core/compilerop.py build/lib.linux-i686-3.1/IPython/core/__init__.py build/lib.linux-i686-3.1/IPython/core/crashhandler.py build/lib.linux-i686-3.1/IPython/core/prefilter.py build/lib.linux-i686-3.1/IPython/core/pylabtools.py build/lib.linux-i686-3.1/IPython/core/splitinput.py build/lib.linux-i686-3.1/IPython/core/magic.py build/lib.linux-i686-3.1/IPython/core/displayhook.py build/lib.linux-i686-3.1/IPython/core/payload.py build/lib.linux-i686-3.1/IPython/core/completer.py build/lib.linux-i686-3.1/IPython/core/extensions.py build/lib.linux-i686-3.1/IPython/core/hooks.py build/lib.linux-i686-3.1/IPython/core/displaypub.py build/lib.linux-i686-3.1/IPython/core/history.py build/lib.linux-i686-3.1/IPython/core/magic_arguments.py build/lib.linux-i686-3.1/IPython/core/builtin_trap.py build/lib.linux-i686-3.1/IPython/core/oinspect.py build/lib.linux-i686-3.1/IPython/core/release.py build/lib.linux-i686-3.1/IPython/core/ultratb.py build/lib.linux-i686-3.1/IPython/core/inputsplitter.py build/lib.linux-i686-3.1/IPython/core/page.py build/lib.linux-i686-3.1/IPython/core/alias.py build/lib.linux-i686-3.1/IPython/core/formatters.py build/lib.linux-i686-3.1/IPython/core/profiledir.py build/lib.linux-i686-3.1/IPython/core/profileapp.py build/lib.linux-i686-3.1/IPython/core/debugger.py build/lib.linux-i686-3.1/IPython/core/completerlib.py build/lib.linux-i686-3.1/IPython/core/logger.py build/lib.linux-i686-3.1/IPython/core/tests/test_inputsplitter.py build/lib.linux-i686-3.1/IPython/core/tests/refbug.py build/lib.linux-i686-3.1/IPython/core/tests/test_completer.py build/lib.linux-i686-3.1/IPython/core/tests/test_autocall.py build/lib.linux-i686-3.1/IPython/core/tests/test_completerlib.py build/lib.linux-i686-3.1/IPython/core/tests/simpleerr.py build/lib.linux-i686-3.1/IPython/core/tests/__init__.py build/lib.linux-i686-3.1/IPython/core/tests/test_plugin.py build/lib.linux-i686-3.1/IPython/core/tests/test_interactiveshell.py build/lib.linux-i686-3.1/IPython/core/tests/test_profile.py build/lib.linux-i686-3.1/IPython/core/tests/test_fakemodule.py build/lib.linux-i686-3.1/IPython/core/tests/test_pylabtools.py build/lib.linux-i686-3.1/IPython/core/tests/test_oinspect.py build/lib.linux-i686-3.1/IPython/core/tests/test_page.py build/lib.linux-i686-3.1/IPython/core/tests/test_imports.py build/lib.linux-i686-3.1/IPython/core/tests/test_handlers.py build/lib.linux-i686-3.1/IPython/core/tests/test_prompts.py build/lib.linux-i686-3.1/IPython/core/tests/test_application.py build/lib.linux-i686-3.1/IPython/core/tests/test_run.py build/lib.linux-i686-3.1/IPython/core/tests/test_magic_arguments.py build/lib.linux-i686-3.1/IPython/core/tests/test_logger.py build/lib.linux-i686-3.1/IPython/core/tests/test_compilerop.py build/lib.linux-i686-3.1/IPython/core/tests/test_prefilter.py build/lib.linux-i686-3.1/IPython/core/tests/tclass.py build/lib.linux-i686-3.1/IPython/core/tests/test_iplib.py build/lib.linux-i686-3.1/IPython/core/tests/test_magic.py build/lib.linux-i686-3.1/IPython/core/tests/test_history.py build/lib.linux-i686-3.1/IPython/core/tests/test_formatters.py build/lib.linux-i686-3.1/IPython/core/tests/test_splitinput.py build/lib.linux-i686-3.1/IPython/core/tests/test_magic_terminal.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_pydb.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_extutil.py build/lib.linux-i686-3.1/IPython/quarantine/InterpreterExec.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_profile_doctest.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_system_conf.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_exportdb.py build/lib.linux-i686-3.1/IPython/quarantine/envpersist.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_synchronize_with.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_fsops.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_jot.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_which.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_gnuglobal.py build/lib.linux-i686-3.1/IPython/quarantine/__init__.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_app_completers.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_lookfor.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_rehashdir.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_completers.py build/lib.linux-i686-3.1/IPython/quarantine/ledit.py build/lib.linux-i686-3.1/IPython/quarantine/jobctrl.py build/lib.linux-i686-3.1/IPython/quarantine/clearcmd.py build/lib.linux-i686-3.1/IPython/quarantine/win32clip.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_workdir.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_winpdb.py build/lib.linux-i686-3.1/IPython/quarantine/ext_rescapture.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_editors.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_server.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_render.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_signals.py build/lib.linux-i686-3.1/IPython/quarantine/tests/__init__.py build/lib.linux-i686-3.1/IPython/parallel/util.py build/lib.linux-i686-3.1/IPython/parallel/error.py build/lib.linux-i686-3.1/IPython/parallel/factory.py build/lib.linux-i686-3.1/IPython/parallel/__init__.py build/lib.linux-i686-3.1/IPython/parallel/scripts/__init__.py build/lib.linux-i686-3.1/IPython/parallel/controller/sqlitedb.py build/lib.linux-i686-3.1/IPython/parallel/controller/__init__.py build/lib.linux-i686-3.1/IPython/parallel/controller/heartmonitor.py build/lib.linux-i686-3.1/IPython/parallel/controller/scheduler.py build/lib.linux-i686-3.1/IPython/parallel/controller/dependency.py build/lib.linux-i686-3.1/IPython/parallel/controller/hub.py build/lib.linux-i686-3.1/IPython/parallel/controller/dictdb.py build/lib.linux-i686-3.1/IPython/parallel/controller/mongodb.py build/lib.linux-i686-3.1/IPython/parallel/apps/iploggerapp.py build/lib.linux-i686-3.1/IPython/parallel/apps/launcher.py build/lib.linux-i686-3.1/IPython/parallel/apps/winhpcjob.py build/lib.linux-i686-3.1/IPython/parallel/apps/baseapp.py build/lib.linux-i686-3.1/IPython/parallel/apps/ipclusterapp.py build/lib.linux-i686-3.1/IPython/parallel/apps/__init__.py build/lib.linux-i686-3.1/IPython/parallel/apps/ipengineapp.py build/lib.linux-i686-3.1/IPython/parallel/apps/ipcontrollerapp.py build/lib.linux-i686-3.1/IPython/parallel/apps/win32support.py build/lib.linux-i686-3.1/IPython/parallel/apps/logwatcher.py build/lib.linux-i686-3.1/IPython/parallel/client/view.py build/lib.linux-i686-3.1/IPython/parallel/client/map.py build/lib.linux-i686-3.1/IPython/parallel/client/__init__.py build/lib.linux-i686-3.1/IPython/parallel/client/remotefunction.py build/lib.linux-i686-3.1/IPython/parallel/client/asyncresult.py build/lib.linux-i686-3.1/IPython/parallel/client/client.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_lbview.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_view.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_asyncresult.py build/lib.linux-i686-3.1/IPython/parallel/tests/__init__.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_newserialized.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_db.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_client.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_mongodb.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_dependency.py build/lib.linux-i686-3.1/IPython/parallel/tests/clienttest.py build/lib.linux-i686-3.1/IPython/parallel/engine/streamkernel.py build/lib.linux-i686-3.1/IPython/parallel/engine/kernelstarter.py build/lib.linux-i686-3.1/IPython/parallel/engine/__init__.py build/lib.linux-i686-3.1/IPython/parallel/engine/engine.py build/lib.linux-i686-3.1/IPython/external/qt.py build/lib.linux-i686-3.1/IPython/external/__init__.py build/lib.linux-i686-3.1/IPython/external/mathjax.py build/lib.linux-i686-3.1/IPython/external/qt_for_kernel.py build/lib.linux-i686-3.1/IPython/external/path/__init__.py build/lib.linux-i686-3.1/IPython/external/path/_path.py build/lib.linux-i686-3.1/IPython/external/pexpect/_pexpect.py build/lib.linux-i686-3.1/IPython/external/pexpect/__init__.py build/lib.linux-i686-3.1/IPython/external/Itpl/_Itpl.py build/lib.linux-i686-3.1/IPython/external/Itpl/__init__.py build/lib.linux-i686-3.1/IPython/external/mglob/__init__.py build/lib.linux-i686-3.1/IPython/external/mglob/_mglob.py build/lib.linux-i686-3.1/IPython/external/argparse/__init__.py build/lib.linux-i686-3.1/IPython/external/argparse/_argparse.py build/lib.linux-i686-3.1/IPython/external/ssh/forward.py build/lib.linux-i686-3.1/IPython/external/ssh/tunnel.py build/lib.linux-i686-3.1/IPython/external/ssh/__init__.py build/lib.linux-i686-3.1/IPython/external/simplegeneric/_simplegeneric.py build/lib.linux-i686-3.1/IPython/external/simplegeneric/__init__.py build/lib.linux-i686-3.1/IPython/external/decorator/__init__.py build/lib.linux-i686-3.1/IPython/external/decorator/_decorator.py build/lib.linux-i686-3.1/IPython/external/decorators/_numpy_testing_noseclasses.py build/lib.linux-i686-3.1/IPython/external/decorators/_numpy_testing_utils.py build/lib.linux-i686-3.1/IPython/external/decorators/__init__.py build/lib.linux-i686-3.1/IPython/external/decorators/_decorators.py build/lib.linux-i686-3.1/IPython/external/pyparsing/__init__.py build/lib.linux-i686-3.1/IPython/external/pyparsing/_pyparsing.py build/lib.linux-i686-3.1/IPython/external/guid/_guid.py build/lib.linux-i686-3.1/IPython/external/guid/__init__.py build/lib.linux-i686-3.1/IPython/extensions/sympyprinting.py build/lib.linux-i686-3.1/IPython/extensions/parallelmagic.py build/lib.linux-i686-3.1/IPython/extensions/__init__.py build/lib.linux-i686-3.1/IPython/extensions/storemagic.py build/lib.linux-i686-3.1/IPython/extensions/autoreload.py build/lib.linux-i686-3.1/IPython/extensions/tests/__init__.py build/lib.linux-i686-3.1/IPython/extensions/tests/test_autoreload.py build/lib.linux-i686-3.1/IPython/nbformat/current.py build/lib.linux-i686-3.1/IPython/nbformat/__init__.py build/lib.linux-i686-3.1/IPython/nbformat/v1/nbbase.py build/lib.linux-i686-3.1/IPython/nbformat/v1/rwbase.py build/lib.linux-i686-3.1/IPython/nbformat/v1/__init__.py build/lib.linux-i686-3.1/IPython/nbformat/v1/nbjson.py build/lib.linux-i686-3.1/IPython/nbformat/v1/convert.py build/lib.linux-i686-3.1/IPython/nbformat/v1/tests/test_nbbase.py build/lib.linux-i686-3.1/IPython/nbformat/v1/tests/__init__.py build/lib.linux-i686-3.1/IPython/nbformat/v1/tests/nbexamples.py build/lib.linux-i686-3.1/IPython/nbformat/v1/tests/test_json.py build/lib.linux-i686-3.1/IPython/nbformat/v2/nbbase.py build/lib.linux-i686-3.1/IPython/nbformat/v2/rwbase.py build/lib.linux-i686-3.1/IPython/nbformat/v2/__init__.py build/lib.linux-i686-3.1/IPython/nbformat/v2/nbpy.py build/lib.linux-i686-3.1/IPython/nbformat/v2/nbjson.py build/lib.linux-i686-3.1/IPython/nbformat/v2/nbxml.py build/lib.linux-i686-3.1/IPython/nbformat/v2/convert.py build/lib.linux-i686-3.1/IPython/nbformat/v2/tests/test_nbbase.py build/lib.linux-i686-3.1/IPython/nbformat/v2/tests/__init__.py build/lib.linux-i686-3.1/IPython/nbformat/v2/tests/test_nbpy.py build/lib.linux-i686-3.1/IPython/nbformat/v2/tests/nbexamples.py build/lib.linux-i686-3.1/IPython/nbformat/v2/tests/test_json.py build/lib.linux-i686-3.1/IPython/nbformat/tests/__init__.py

    Skipping implicit fixer: buffer

    Skipping implicit fixer: idioms

    Skipping implicit fixer: set_literal

    Skipping implicit fixer: ws_comma

    Fixing build/lib.linux-i686-3.1/IPython/__init__.py build/lib.linux-i686-3.1/IPython/kernel/__init__.py build/lib.linux-i686-3.1/IPython/utils/cursesimport.py build/lib.linux-i686-3.1/IPython/utils/nested_context.py build/lib.linux-i686-3.1/IPython/utils/coloransi.py build/lib.linux-i686-3.1/IPython/utils/pickleutil.py build/lib.linux-i686-3.1/IPython/utils/PyColorize.py build/lib.linux-i686-3.1/IPython/utils/doctestreload.py build/lib.linux-i686-3.1/IPython/utils/module_paths.py build/lib.linux-i686-3.1/IPython/utils/growl.py build/lib.linux-i686-3.1/IPython/utils/dir2.py build/lib.linux-i686-3.1/IPython/utils/terminal.py build/lib.linux-i686-3.1/IPython/utils/traitlets.py build/lib.linux-i686-3.1/IPython/utils/ipstruct.py build/lib.linux-i686-3.1/IPython/utils/path.py build/lib.linux-i686-3.1/IPython/utils/newserialized.py build/lib.linux-i686-3.1/IPython/utils/wildcard.py build/lib.linux-i686-3.1/IPython/utils/frame.py build/lib.linux-i686-3.1/IPython/utils/_process_win32.py build/lib.linux-i686-3.1/IPython/utils/__init__.py build/lib.linux-i686-3.1/IPython/utils/sysinfo.py build/lib.linux-i686-3.1/IPython/utils/codeutil.py build/lib.linux-i686-3.1/IPython/utils/text.py build/lib.linux-i686-3.1/IPython/utils/decorators.py build/lib.linux-i686-3.1/IPython/utils/_process_posix.py build/lib.linux-i686-3.1/IPython/utils/py3compat.py build/lib.linux-i686-3.1/IPython/utils/_process_common.py build/lib.linux-i686-3.1/IPython/utils/data.py build/lib.linux-i686-3.1/IPython/utils/rlineimpl.py build/lib.linux-i686-3.1/IPython/utils/localinterfaces.py build/lib.linux-i686-3.1/IPython/utils/jsonutil.py build/lib.linux-i686-3.1/IPython/utils/pickleshare.py build/lib.linux-i686-3.1/IPython/utils/daemonize.py build/lib.linux-i686-3.1/IPython/utils/tempdir.py build/lib.linux-i686-3.1/IPython/utils/strdispatch.py build/lib.linux-i686-3.1/IPython/utils/warn.py build/lib.linux-i686-3.1/IPython/utils/generics.py build/lib.linux-i686-3.1/IPython/utils/autoattr.py build/lib.linux-i686-3.1/IPython/utils/upgradedir.py build/lib.linux-i686-3.1/IPython/utils/importstring.py build/lib.linux-i686-3.1/IPython/utils/timing.py build/lib.linux-i686-3.1/IPython/utils/io.py build/lib.linux-i686-3.1/IPython/utils/process.py build/lib.linux-i686-3.1/IPython/utils/syspathcontext.py build/lib.linux-i686-3.1/IPython/utils/notification.py build/lib.linux-i686-3.1/IPython/utils/attic.py build/lib.linux-i686-3.1/IPython/utils/tests/test_path.py build/lib.linux-i686-3.1/IPython/utils/tests/test_text.py build/lib.linux-i686-3.1/IPython/utils/tests/test_traitlets.py build/lib.linux-i686-3.1/IPython/utils/tests/__init__.py build/lib.linux-i686-3.1/IPython/utils/tests/test_wildcard.py build/lib.linux-i686-3.1/IPython/utils/tests/test_jsonutil.py build/lib.linux-i686-3.1/IPython/utils/tests/test_module_paths.py build/lib.linux-i686-3.1/IPython/utils/tests/test_process.py build/lib.linux-i686-3.1/IPython/utils/tests/test_imports.py build/lib.linux-i686-3.1/IPython/utils/tests/test_pycolorize.py build/lib.linux-i686-3.1/IPython/utils/tests/test_notification.py build/lib.linux-i686-3.1/IPython/utils/tests/test_io.py build/lib.linux-i686-3.1/IPython/config/application.py build/lib.linux-i686-3.1/IPython/config/__init__.py build/lib.linux-i686-3.1/IPython/config/configurable.py build/lib.linux-i686-3.1/IPython/config/loader.py build/lib.linux-i686-3.1/IPython/config/tests/__init__.py build/lib.linux-i686-3.1/IPython/config/tests/test_configurable.py build/lib.linux-i686-3.1/IPython/config/tests/test_application.py build/lib.linux-i686-3.1/IPython/config/tests/test_loader.py build/lib.linux-i686-3.1/IPython/config/profile/__init__.py build/lib.linux-i686-3.1/IPython/zmq/frontend.py build/lib.linux-i686-3.1/IPython/zmq/log.py build/lib.linux-i686-3.1/IPython/zmq/ipkernel.py build/lib.linux-i686-3.1/IPython/zmq/eventloops.py build/lib.linux-i686-3.1/IPython/zmq/zmqshell.py build/lib.linux-i686-3.1/IPython/zmq/kernelmanager.py build/lib.linux-i686-3.1/IPython/zmq/__init__.py build/lib.linux-i686-3.1/IPython/zmq/iostream.py build/lib.linux-i686-3.1/IPython/zmq/kernelapp.py build/lib.linux-i686-3.1/IPython/zmq/entry_point.py build/lib.linux-i686-3.1/IPython/zmq/blockingkernelmanager.py build/lib.linux-i686-3.1/IPython/zmq/displayhook.py build/lib.linux-i686-3.1/IPython/zmq/completer.py build/lib.linux-i686-3.1/IPython/zmq/pykernel.py build/lib.linux-i686-3.1/IPython/zmq/parentpoller.py build/lib.linux-i686-3.1/IPython/zmq/heartbeat.py build/lib.linux-i686-3.1/IPython/zmq/session.py build/lib.linux-i686-3.1/IPython/zmq/gui/gtkembed.py build/lib.linux-i686-3.1/IPython/zmq/gui/__init__.py build/lib.linux-i686-3.1/IPython/zmq/pylab/__init__.py build/lib.linux-i686-3.1/IPython/zmq/pylab/backend_inline.py build/lib.linux-i686-3.1/IPython/zmq/tests/test_session.py build/lib.linux-i686-3.1/IPython/zmq/tests/__init__.py build/lib.linux-i686-3.1/IPython/zmq/tests/test_message_spec.py build/lib.linux-i686-3.1/IPython/lib/inputhookwx.py build/lib.linux-i686-3.1/IPython/lib/clipboard.py build/lib.linux-i686-3.1/IPython/lib/demo.py build/lib.linux-i686-3.1/IPython/lib/deepreload.py build/lib.linux-i686-3.1/IPython/lib/inputhookgtk.py build/lib.linux-i686-3.1/IPython/lib/security.py build/lib.linux-i686-3.1/IPython/lib/backgroundjobs.py build/lib.linux-i686-3.1/IPython/lib/display.py build/lib.linux-i686-3.1/IPython/lib/__init__.py build/lib.linux-i686-3.1/IPython/lib/inputhookqt4.py build/lib.linux-i686-3.1/IPython/lib/latextools.py build/lib.linux-i686-3.1/IPython/lib/pretty.py build/lib.linux-i686-3.1/IPython/lib/inputhook.py build/lib.linux-i686-3.1/IPython/lib/inputhookglut.py build/lib.linux-i686-3.1/IPython/lib/guisupport.py build/lib.linux-i686-3.1/IPython/lib/kernel.py build/lib.linux-i686-3.1/IPython/lib/irunner.py build/lib.linux-i686-3.1/IPython/lib/inputhookpyglet.py build/lib.linux-i686-3.1/IPython/lib/tests/test_irunner_pylab_magic.py build/lib.linux-i686-3.1/IPython/lib/tests/test_irunner.py build/lib.linux-i686-3.1/IPython/lib/tests/__init__.py build/lib.linux-i686-3.1/IPython/lib/tests/test_backgroundjobs.py build/lib.linux-i686-3.1/IPython/lib/tests/test_kernel.py build/lib.linux-i686-3.1/IPython/lib/tests/test_imports.py build/lib.linux-i686-3.1/IPython/lib/tests/test_security.py build/lib.linux-i686-3.1/IPython/testing/_paramtestpy3.py build/lib.linux-i686-3.1/IPython/testing/_paramtestpy2.py build/lib.linux-i686-3.1/IPython/testing/nosepatch.py build/lib.linux-i686-3.1/IPython/testing/__init__.py build/lib.linux-i686-3.1/IPython/testing/decorators.py build/lib.linux-i686-3.1/IPython/testing/skipdoctest.py build/lib.linux-i686-3.1/IPython/testing/globalipapp.py build/lib.linux-i686-3.1/IPython/testing/tools.py build/lib.linux-i686-3.1/IPython/testing/ipunittest.py build/lib.linux-i686-3.1/IPython/testing/iptest.py build/lib.linux-i686-3.1/IPython/testing/mkdoctests.py build/lib.linux-i686-3.1/IPython/testing/tests/test_tools.py build/lib.linux-i686-3.1/IPython/testing/tests/test_ipunittest.py build/lib.linux-i686-3.1/IPython/testing/tests/__init__.py build/lib.linux-i686-3.1/IPython/testing/tests/test_decorators.py build/lib.linux-i686-3.1/IPython/testing/plugin/test_ipdoctest.py build/lib.linux-i686-3.1/IPython/testing/plugin/ipdoctest.py build/lib.linux-i686-3.1/IPython/testing/plugin/setup.py build/lib.linux-i686-3.1/IPython/testing/plugin/__init__.py build/lib.linux-i686-3.1/IPython/testing/plugin/simplevars.py build/lib.linux-i686-3.1/IPython/testing/plugin/show_refs.py build/lib.linux-i686-3.1/IPython/testing/plugin/test_refs.py build/lib.linux-i686-3.1/IPython/testing/plugin/simple.py build/lib.linux-i686-3.1/IPython/testing/plugin/dtexample.py build/lib.linux-i686-3.1/IPython/testing/plugin/iptest.py build/lib.linux-i686-3.1/IPython/frontend/consoleapp.py build/lib.linux-i686-3.1/IPython/frontend/__init__.py build/lib.linux-i686-3.1/IPython/frontend/qt/svg.py build/lib.linux-i686-3.1/IPython/frontend/qt/util.py build/lib.linux-i686-3.1/IPython/frontend/qt/kernelmanager.py build/lib.linux-i686-3.1/IPython/frontend/qt/__init__.py build/lib.linux-i686-3.1/IPython/frontend/qt/base_frontend_mixin.py build/lib.linux-i686-3.1/IPython/frontend/qt/rich_text.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/completion_lexer.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/console_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/ansi_code_processor.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/qtconsoleapp.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/__init__.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/kill_ring.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/history_console_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/pygments_highlighter.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/completion_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/frontend_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/call_tip_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/mainwindow.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/ipython_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/styles.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/rich_ipython_widget.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/bracket_matcher.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/tests/test_ansi_code_processor.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/tests/test_kill_ring.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/tests/test_completion_lexer.py build/lib.linux-i686-3.1/IPython/frontend/qt/console/tests/__init__.py build/lib.linux-i686-3.1/IPython/frontend/terminal/interactiveshell.py build/lib.linux-i686-3.1/IPython/frontend/terminal/__init__.py build/lib.linux-i686-3.1/IPython/frontend/terminal/ipapp.py build/lib.linux-i686-3.1/IPython/frontend/terminal/embed.py build/lib.linux-i686-3.1/IPython/frontend/terminal/console/app.py build/lib.linux-i686-3.1/IPython/frontend/terminal/console/interactiveshell.py build/lib.linux-i686-3.1/IPython/frontend/terminal/console/__init__.py build/lib.linux-i686-3.1/IPython/frontend/terminal/console/completer.py build/lib.linux-i686-3.1/IPython/frontend/terminal/console/tests/__init__.py build/lib.linux-i686-3.1/IPython/frontend/terminal/console/tests/test_console.py build/lib.linux-i686-3.1/IPython/frontend/terminal/tests/test_interactivshell.py build/lib.linux-i686-3.1/IPython/frontend/terminal/tests/__init__.py build/lib.linux-i686-3.1/IPython/frontend/html/__init__.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/zmqhttp.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/notebookapp.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/kernelmanager.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/notebookmanager.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/__init__.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/handlers.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/tests/__init__.py build/lib.linux-i686-3.1/IPython/frontend/html/notebook/tests/test_kernelsession.py build/lib.linux-i686-3.1/IPython/scripts/__init__.py build/lib.linux-i686-3.1/IPython/core/excolors.py build/lib.linux-i686-3.1/IPython/core/fakemodule.py build/lib.linux-i686-3.1/IPython/core/plugin.py build/lib.linux-i686-3.1/IPython/core/usage.py build/lib.linux-i686-3.1/IPython/core/shellapp.py build/lib.linux-i686-3.1/IPython/core/interactiveshell.py build/lib.linux-i686-3.1/IPython/core/error.py build/lib.linux-i686-3.1/IPython/core/prompts.py build/lib.linux-i686-3.1/IPython/core/application.py build/lib.linux-i686-3.1/IPython/core/shadowns.py build/lib.linux-i686-3.1/IPython/core/payloadpage.py build/lib.linux-i686-3.1/IPython/core/macro.py build/lib.linux-i686-3.1/IPython/core/display.py build/lib.linux-i686-3.1/IPython/core/autocall.py build/lib.linux-i686-3.1/IPython/core/ipapi.py build/lib.linux-i686-3.1/IPython/core/display_trap.py build/lib.linux-i686-3.1/IPython/core/compilerop.py build/lib.linux-i686-3.1/IPython/core/__init__.py build/lib.linux-i686-3.1/IPython/core/crashhandler.py build/lib.linux-i686-3.1/IPython/core/prefilter.py build/lib.linux-i686-3.1/IPython/core/pylabtools.py build/lib.linux-i686-3.1/IPython/core/splitinput.py build/lib.linux-i686-3.1/IPython/core/magic.py build/lib.linux-i686-3.1/IPython/core/displayhook.py build/lib.linux-i686-3.1/IPython/core/payload.py build/lib.linux-i686-3.1/IPython/core/completer.py build/lib.linux-i686-3.1/IPython/core/extensions.py build/lib.linux-i686-3.1/IPython/core/hooks.py build/lib.linux-i686-3.1/IPython/core/displaypub.py build/lib.linux-i686-3.1/IPython/core/history.py build/lib.linux-i686-3.1/IPython/core/magic_arguments.py build/lib.linux-i686-3.1/IPython/core/builtin_trap.py build/lib.linux-i686-3.1/IPython/core/oinspect.py build/lib.linux-i686-3.1/IPython/core/release.py build/lib.linux-i686-3.1/IPython/core/ultratb.py build/lib.linux-i686-3.1/IPython/core/inputsplitter.py build/lib.linux-i686-3.1/IPython/core/page.py build/lib.linux-i686-3.1/IPython/core/alias.py build/lib.linux-i686-3.1/IPython/core/formatters.py build/lib.linux-i686-3.1/IPython/core/profiledir.py build/lib.linux-i686-3.1/IPython/core/profileapp.py build/lib.linux-i686-3.1/IPython/core/debugger.py build/lib.linux-i686-3.1/IPython/core/completerlib.py build/lib.linux-i686-3.1/IPython/core/logger.py build/lib.linux-i686-3.1/IPython/core/tests/test_inputsplitter.py build/lib.linux-i686-3.1/IPython/core/tests/refbug.py build/lib.linux-i686-3.1/IPython/core/tests/test_completer.py build/lib.linux-i686-3.1/IPython/core/tests/test_autocall.py build/lib.linux-i686-3.1/IPython/core/tests/test_completerlib.py build/lib.linux-i686-3.1/IPython/core/tests/simpleerr.py build/lib.linux-i686-3.1/IPython/core/tests/__init__.py build/lib.linux-i686-3.1/IPython/core/tests/test_plugin.py build/lib.linux-i686-3.1/IPython/core/tests/test_interactiveshell.py build/lib.linux-i686-3.1/IPython/core/tests/test_profile.py build/lib.linux-i686-3.1/IPython/core/tests/test_fakemodule.py build/lib.linux-i686-3.1/IPython/core/tests/test_pylabtools.py build/lib.linux-i686-3.1/IPython/core/tests/test_oinspect.py build/lib.linux-i686-3.1/IPython/core/tests/test_page.py build/lib.linux-i686-3.1/IPython/core/tests/test_imports.py build/lib.linux-i686-3.1/IPython/core/tests/test_handlers.py build/lib.linux-i686-3.1/IPython/core/tests/test_prompts.py build/lib.linux-i686-3.1/IPython/core/tests/test_application.py build/lib.linux-i686-3.1/IPython/core/tests/test_run.py build/lib.linux-i686-3.1/IPython/core/tests/test_magic_arguments.py build/lib.linux-i686-3.1/IPython/core/tests/test_logger.py build/lib.linux-i686-3.1/IPython/core/tests/test_compilerop.py build/lib.linux-i686-3.1/IPython/core/tests/test_prefilter.py build/lib.linux-i686-3.1/IPython/core/tests/tclass.py build/lib.linux-i686-3.1/IPython/core/tests/test_iplib.py build/lib.linux-i686-3.1/IPython/core/tests/test_magic.py build/lib.linux-i686-3.1/IPython/core/tests/test_history.py build/lib.linux-i686-3.1/IPython/core/tests/test_formatters.py build/lib.linux-i686-3.1/IPython/core/tests/test_splitinput.py build/lib.linux-i686-3.1/IPython/core/tests/test_magic_terminal.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_pydb.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_extutil.py build/lib.linux-i686-3.1/IPython/quarantine/InterpreterExec.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_profile_doctest.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_system_conf.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_exportdb.py build/lib.linux-i686-3.1/IPython/quarantine/envpersist.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_synchronize_with.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_fsops.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_jot.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_which.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_gnuglobal.py build/lib.linux-i686-3.1/IPython/quarantine/__init__.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_app_completers.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_lookfor.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_rehashdir.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_completers.py build/lib.linux-i686-3.1/IPython/quarantine/ledit.py build/lib.linux-i686-3.1/IPython/quarantine/jobctrl.py build/lib.linux-i686-3.1/IPython/quarantine/clearcmd.py build/lib.linux-i686-3.1/IPython/quarantine/win32clip.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_workdir.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_winpdb.py build/lib.linux-i686-3.1/IPython/quarantine/ext_rescapture.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_editors.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_server.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_render.py build/lib.linux-i686-3.1/IPython/quarantine/ipy_signals.py build/lib.linux-i686-3.1/IPython/quarantine/tests/__init__.py build/lib.linux-i686-3.1/IPython/parallel/util.py build/lib.linux-i686-3.1/IPython/parallel/error.py build/lib.linux-i686-3.1/IPython/parallel/factory.py build/lib.linux-i686-3.1/IPython/parallel/__init__.py build/lib.linux-i686-3.1/IPython/parallel/scripts/__init__.py build/lib.linux-i686-3.1/IPython/parallel/controller/sqlitedb.py build/lib.linux-i686-3.1/IPython/parallel/controller/__init__.py build/lib.linux-i686-3.1/IPython/parallel/controller/heartmonitor.py build/lib.linux-i686-3.1/IPython/parallel/controller/scheduler.py build/lib.linux-i686-3.1/IPython/parallel/controller/dependency.py build/lib.linux-i686-3.1/IPython/parallel/controller/hub.py build/lib.linux-i686-3.1/IPython/parallel/controller/dictdb.py build/lib.linux-i686-3.1/IPython/parallel/controller/mongodb.py build/lib.linux-i686-3.1/IPython/parallel/apps/iploggerapp.py build/lib.linux-i686-3.1/IPython/parallel/apps/launcher.py build/lib.linux-i686-3.1/IPython/parallel/apps/winhpcjob.py build/lib.linux-i686-3.1/IPython/parallel/apps/baseapp.py build/lib.linux-i686-3.1/IPython/parallel/apps/ipclusterapp.py build/lib.linux-i686-3.1/IPython/parallel/apps/__init__.py build/lib.linux-i686-3.1/IPython/parallel/apps/ipengineapp.py build/lib.linux-i686-3.1/IPython/parallel/apps/ipcontrollerapp.py build/lib.linux-i686-3.1/IPython/parallel/apps/win32support.py build/lib.linux-i686-3.1/IPython/parallel/apps/logwatcher.py build/lib.linux-i686-3.1/IPython/parallel/client/view.py build/lib.linux-i686-3.1/IPython/parallel/client/map.py build/lib.linux-i686-3.1/IPython/parallel/client/__init__.py build/lib.linux-i686-3.1/IPython/parallel/client/remotefunction.py build/lib.linux-i686-3.1/IPython/parallel/client/asyncresult.py build/lib.linux-i686-3.1/IPython/parallel/client/client.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_lbview.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_view.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_asyncresult.py build/lib.linux-i686-3.1/IPython/parallel/tests/__init__.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_newserialized.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_db.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_client.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_mongodb.py build/lib.linux-i686-3.1/IPython/parallel/tests/test_dependency.py build/lib.linux-i686-3.1/IPython/parallel/tests/clienttest.py build/lib.linux-i686-3.1/IPython/parallel/engine/streamkernel.py build/lib.linux-i686-3.1/IPython/parallel/engine/kernelstarter.py build/lib.linux-i686-3.1/IPython/parallel/engine/__init__.py build/lib.linux-i686-3.1/IPython/parallel/engine/engine.py build/lib.linux-i686-3.1/IPython/external/qt.py build/lib.linux-i686-3.1/IPython/external/__init__.py build/lib.linux-i686-3.1/IPython/external/mathjax.py build/lib.linux-i686-3.1/IPython/external/qt_for_kernel.py build/lib.linux-i686-3.1/IPython/external/path/__init__.py build/lib.linux-i686-3.1/IPython/external/path/_path.py build/lib.linux-i686-3.1/IPython/external/pexpect/_pexpect.py build/lib.linux-i686-3.1/IPython/external/pexpect/__init__.py build/lib.linux-i686-3.1/IPython/external/Itpl/_Itpl.py build/lib.linux-i686-3.1/IPython/external/Itpl/__init__.py build/lib.linux-i686-3.1/IPython/external/mglob/__init__.py build/lib.linux-i686-3.1/IPython/external/mglob/_mglob.py build/lib.linux-i686-3.1/IPython/external/argparse/__init__.py build/lib.linux-i686-3.1/IPython/external/argparse/_argparse.py build/lib.linux-i686-3.1/IPython/external/ssh/forward.py build/lib.linux-i686-3.1/IPython/external/ssh/tunnel.py build/lib.linux-i686-3.1/IPython/external/ssh/__init__.py build/lib.linux-i686-3.1/IPython/external/simplegeneric/_simplegeneric.py build/lib.linux-i686-3.1/IPython/external/simplegeneric/__init__.py build/lib.linux-i686-3.1/IPython/external/decorator/__init__.py build/lib.linux-i686-3.1/IPython/external/decorator/_decorator.py build/lib.linux-i686-3.1/IPython/external/decorators/_numpy_testing_noseclasses.py build/lib.linux-i686-3.1/IPython/external/decorators/_numpy_testing_utils.py build/lib.linux-i686-3.1/IPython/external/decorators/__init__.py build/lib.linux-i686-3.1/IPython/external/decorators/_decorators.py build/lib.linux-i686-3.1/IPython/external/pyparsing/__init__.py build/lib.linux-i686-3.1/IPython/external/pyparsing/_pyparsing.py build/lib.linux-i686-3.1/IPython/external/guid/_guid.py build/lib.linux-i686-3.1/IPython/external/guid/__init__.py build/lib.linux-i686-3.1/IPython/extensions/sympyprinting.py build/lib.linux-i686-3.1/IPython/extensions/parallelmagic.py build/lib.linux-i686-3.1/IPython/extensions/__init__.py build/lib.linux-i686-3.1/IPython/extensions/storemagic.py build/lib.linux-i686-3.1/IPython/extensions/autoreload.py build/lib.linux-i686-3.1/IPython/extensions/tests/__init__.py build/lib.linux-i686-3.1/IPython/extensions/tests/test_autoreload.py build/lib.linux-i686-3.1/IPython/nbformat/current.py build/lib.linux-i686-3.1/IPython/nbformat/__init__.py build/lib.linux-i686-3.1/IPython/nbformat/v1/nbbase.py build/lib.linux-i686-3.1/IPython/nbformat/v1/rwbase.py build/lib.linux-i686-3.1/IPython/nbformat/v1/__init__.py build/lib.linux-i686-3.1/IPython/nbformat/v1/nbjson.py build/lib.linux-i686-3.1/IPython/nbformat/v1/convert.py build/lib.linux-i686-3.1/IPython/nbformat/v1/tests/test_nbbase.py build/lib.linux-i686-3.1/IPython/nbformat/v1/tests/__init__.py build/lib.linux-i686-3.1/IPython/nbformat/v1/tests/nbexamples.py build/lib.linux-i686-3.1/IPython/nbformat/v1/tests/test_json.py build/lib.linux-i686-3.1/IPython/nbformat/v2/nbbase.py build/lib.linux-i686-3.1/IPython/nbformat/v2/rwbase.py build/lib.linux-i686-3.1/IPython/nbformat/v2/__init__.py build/lib.linux-i686-3.1/IPython/nbformat/v2/nbpy.py build/lib.linux-i686-3.1/IPython/nbformat/v2/nbjson.py build/lib.linux-i686-3.1/IPython/nbformat/v2/nbxml.py build/lib.linux-i686-3.1/IPython/nbformat/v2/convert.py build/lib.linux-i686-3.1/IPython/nbformat/v2/tests/test_nbbase.py build/lib.linux-i686-3.1/IPython/nbformat/v2/tests/__init__.py build/lib.linux-i686-3.1/IPython/nbformat/v2/tests/test_nbpy.py build/lib.linux-i686-3.1/IPython/nbformat/v2/tests/nbexamples.py build/lib.linux-i686-3.1/IPython/nbformat/v2/tests/test_json.py build/lib.linux-i686-3.1/IPython/nbformat/tests/__init__.py

    Skipping implicit fixer: buffer

    Skipping implicit fixer: idioms

    Skipping implicit fixer: set_literal

    Skipping implicit fixer: ws_comma

    deleting ipython.egg-info/requires.txt



    no previously-included directories found matching 'IPython/deathrow'

    no previously-included directories found matching 'IPython/frontend/html/notebook/static/mathjax'

    warning: no previously-included files found matching 'docs/#*'

    warning: no previously-included files found matching 'docs/man/*.1'

    no previously-included directories found matching 'docs/attic'

    no previously-included directories found matching 'docs/build'

    no previously-included directories found matching 'docs/gh-pages'

    warning: no previously-included files matching '*~' found anywhere in distribution

    warning: no previously-included files matching '*.flc' found anywhere in distribution

    warning: no previously-included files matching '*.pyo' found anywhere in distribution

    warning: no previously-included files matching '.dircopy.log' found anywhere in distribution

    Installing pycolor3 script to /home/hh/.virtualenvs/three-dots/bin

    Installing iplogger3 script to /home/hh/.virtualenvs/three-dots/bin

    Installing ipengine3 script to /home/hh/.virtualenvs/three-dots/bin

    Installing ipython3 script to /home/hh/.virtualenvs/three-dots/bin

    Installing ipcluster3 script to /home/hh/.virtualenvs/three-dots/bin

    Installing irunner3 script to /home/hh/.virtualenvs/three-dots/bin

    Installing ipcontroller3 script to /home/hh/.virtualenvs/three-dots/bin

    Installing iptest3 script to /home/hh/.virtualenvs/three-dots/bin

    Installing ipython3-qtconsole script to /home/hh/.virtualenvs/three-dots/bin

Successfully installed ipython

Cleaning up...

(three-dots)�]0;hh@wink: ~�hh@wink:~$ python --vesion��[K��[K��[K��[Krsion

Python 3.1.2

(three-dots)�]0;hh@wink: ~�hh@wink:~$ ipython3

Traceback (most recent call last):

  File "/home/hh/.virtualenvs/three-dots/bin/ipython3", line 9, in <module>

    load_entry_point('ipython==0.12', 'console_scripts', 'ipython3')()

  File "/home/hh/.virtualenvs/three-dots/lib/python3.1/site-packages/IPython/frontend/terminal/ipapp.py", line 402, in launch_new_instance

    app.initialize()

  File "<string>", line 2, in initialize

  File "/home/hh/.virtualenvs/three-dots/lib/python3.1/site-packages/IPython/config/application.py", line 84, in catch_config_error

    return method(app, *args, **kwargs)

  File "/home/hh/.virtualenvs/three-dots/lib/python3.1/site-packages/IPython/frontend/terminal/ipapp.py", line 312, in initialize

    self.init_shell()

  File "/home/hh/.virtualenvs/three-dots/lib/python3.1/site-packages/IPython/frontend/terminal/ipapp.py", line 332, in init_shell

    ipython_dir=self.ipython_dir)

  File "/home/hh/.virtualenvs/three-dots/lib/python3.1/site-packages/IPython/config/configurable.py", line 318, in instance

    inst = cls(*args, **kwargs)

  File "/home/hh/.virtualenvs/three-dots/lib/python3.1/site-packages/IPython/frontend/terminal/interactiveshell.py", line 183, in __init__

    user_module=user_module, custom_exceptions=custom_exceptions

  File "/home/hh/.virtualenvs/three-dots/lib/python3.1/site-packages/IPython/core/interactiveshell.py", line 480, in __init__

    self.init_magics()

  File "/home/hh/.virtualenvs/three-dots/lib/python3.1/site-packages/IPython/core/interactiveshell.py", line 1957, in init_magics

    from ... import history

ValueError: Attempted relative import beyond toplevel package



If you suspect this is an IPython bug, please report it at:

    https://github.com/ipython/ipython/issues

or send an email to the mailing list at ipython-dev@scipy.org



You can print a more detailed traceback right now with "%tb", or use "%debug"

to interactively debug it.



Extra-detailed tracebacks for bug-reporting purposes can be enabled via:

    c.Application.verbose_crash=True



(three-dots)�]0;hh@wink: ~�hh@wink:~$ rmvirtualenv three-dots������������������������[1@d�[1@e�[1@a�[1@c�[1@t�[1@i�[1@v�[1@a�[1@t�[1@e�[1@;�[1@ 

�]0;hh@wink: ~�hh@wink:~$ exit


Script done on Fri 23 Dec 2011 11:20:19 PM CET
@takluyver
IPython member

I'll try to get round to testing on Python 3.1. Is it simple for you to upgrade to 3.2? I expect we'll drop 3.1 support when 3.3 is out, anyway.

@holmboe
holmboe commented Dec 24, 2011

I run that specific version because it is the version (of Python 3.x) that is shipped in Ubuntu 8.04 LTS (Long Term Support). When Ubuntu 12.04 LTS is released I will upgrade to whatever version is shipped with that release.

This is the only problem I'm having at the moment with this specific version, so I'll stick to it for a while.

Do you want me to upgrade in order to test this bug out some more? I probably could do that but it will take me some time during the holidays.

@holmboe
holmboe commented Dec 24, 2011

Another test could be to run the latest 2to3 from http://hg.python.org/2to3/ as part of the ipython installation? I haven't looked into how I would go about doing that though. What do you think?

tip of 2to3:

changeset: 637:8c5b845c14fc
date: Wed Feb 24 02:21:34 2010 +0000

@takluyver
IPython member

OK, fair enough. I'll have a go at testing with Python 3.1, and if it works, I'll make a bdist that you should be able to install.

I'm not too worried about automatically testing against 2to3 trunk, but we should probably do some manual tests when 3.3 is getting near to release. I think that's in 2013, though, so no rush just yet.

@takluyver
IPython member

(Python 3.1 isn't available in the repos any more, so it might be a bit longer before I get round to testing with it).

@holmboe
holmboe commented Dec 24, 2011

I tested again with the same procedure but I ran it with Python 3.2.2 (make altinstall:ed) and it does not show the same bug as with Python 3.1.2. The line 1957 in the file lib/python3.2/site-packages/IPython/core/interactiveshell.py is the same as the line from https://github.com/ipython/ipython/blob/master/IPython/core/interactiveshell.py#L1956.

@takluyver
IPython member

OK, so it looks like a bug with Python 3.1 2to3. We'll hopefully work round it for the next version. Let us know if you see any other bugs after you've corrected that.

@takluyver takluyver closed this in 010073c Dec 28, 2011
@takluyver
IPython member

Reproduced the issue and pushed the fix to the development branch. I'll try to remember to copy it across if we have a 0.12.1 release.

@holmboe
holmboe commented Jan 1, 2012

Bug reported to 2to3 issue tracker. http://bugs.python.org/issue13692

@yarikoptic yarikoptic pushed a commit to yarikoptic/ipython that referenced this issue May 2, 2014
@takluyver takluyver Tweak import statement so 2to3 from Python 3.1 doesn't mangle it.
Closes gh-1197
e4a44a1
@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
@takluyver takluyver Tweak import statement so 2to3 from Python 3.1 doesn't mangle it.
Closes gh-1197
8765f9c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.