ipdb
ipdb copied to clipboard
ipdb unresponsive with eventlet's monkey_patch enabled
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:
Hmmm ... doing a bit more online searching and I came across https://github.com/eventlet/eventlet/issues/361