##// END OF EJS Templates
Catch interrupted poll() in terminal console...
Catch interrupted poll() in terminal console Alternative to my own PR #8108 - catch ZMQError in run_cell, and if it's caused by an interrupt, ignore it. more complex, especially if we want to handle the timeout nicely as proposed in the comments, but it's possibly also more convenient for other users of that API. Or perhaps not - I'm not sure what makes sense for other API consumers in this case. Fixes gh-8105

File last commit:

r13347:54891794
r20836:0b3b28de
Show More
__init__.py
5 lines | 98 B | text/x-python | PythonLexer
Thomas Spura
Also unbundle pexpect...
r3410 try:
import pexpect
from pexpect import *
except ImportError:
Thomas Kluyver
Use explicit relative imports...
r13347 from ._pexpect import *