Ipython 5 hangs with eventlet monkey patching #10675

Open
marco-lavagnino opened this Issue Jun 25, 2017 · 1 comment

Comments

Projects
None yet
2 participants

marco-lavagnino commented Jun 25, 2017 edited

To reproduce, inside ipython do:

import eventlet
eventlet.monkey_patch()

It happens for all Ipython 5 releases (from 5.0.0b1 to 5.4.1), and only when using python 2 (I tested only 2.7.13, 2.7.12 and 3.5.2). Eventlet version does not seem to matter. It happens at least on Linux and osX.

This issue was already posted at eventlet/eventlet#395, but since it only affects a version of ipython, maybe the fix should be on ipython's side.

Owner

takluyver commented Jun 25, 2017

Might be similar to #10251.

IPython is running the interface in the same Python process as your code runs, so code you run can break what IPython needs. Libraries taking a 'monkey patch the world' approach change the ground we're standing on, so I tend to feel that you should expect stuff to break when you do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment