ipdb icon indicating copy to clipboard operation
ipdb copied to clipboard

ipdb unresponsive with eventlet's monkey_patch enabled

Open bbbco opened this issue 6 years ago • 1 comments

I have a script where I am using eventlet's patcher to monkey patch, and this seems to cause ipdb to be unresponsive. Here's a simple script:

from eventlet import patcher
import ipdb
patcher.monkey_patch(all=True)

ipdb.set_trace()

Run this script, and notice that the ipdb console is completely unresponsive. I have to use a new terminal to kill the process manually.

I'm using the following environment:

  • Linux Mint 19
╰─ python --version
Python 2.7.15rc1
╰─ ipython --version
5.7.0
╰─ pip show ipdb
Name: ipdb
Version: 0.10.3
Summary: IPython-enabled pdb
Home-page: https://github.com/gotcha/ipdb
Author: Godefroid Chapelle
Author-email: [email protected]
License: BSD
Location: /usr/local/lib/python2.7/dist-packages
Requires: setuptools, ipython
Required-by: 

bbbco avatar Aug 17 '18 14:08 bbbco

Hmmm ... doing a bit more online searching and I came across https://github.com/eventlet/eventlet/issues/361

bbbco avatar Aug 17 '18 15:08 bbbco