##// 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:

r18596:2d590459
r20836:0b3b28de
Show More
python.tpl
17 lines | 370 B | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'null.tpl' -%}
{% block header %}
# coding: utf-8
{% endblock header %}
{% block in_prompt %}
# In[{{ cell.execution_count if cell.execution_count else ' ' }}]:
{% endblock in_prompt %}
{% block input %}
{{ cell.source | ipython2python }}
{% endblock input %}
{% block markdowncell scoped %}
{{ cell.source | comment_lines }}
{% endblock markdowncell %}