##// END OF EJS Templates
Backport PR #8129: Catch interrupted poll() in terminal console...
Backport PR #8129: 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. #8108 catches the exception in the blocking kernel client API, which is 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:

r19918:b7ba30ad
r20883:0d9a347c
Show More
display_priority.tpl
40 lines | 1.3 KiB | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'null.tpl' -%}
{#display data priority#}
{%- block data_priority scoped -%}
{%- for type in output.data | filter_data_type -%}
{%- if type == 'application/pdf' -%}
{%- block data_pdf -%}
{%- endblock -%}
{%- elif type == 'image/svg+xml' -%}
{%- block data_svg -%}
{%- endblock -%}
{%- elif type == 'image/png' -%}
{%- block data_png -%}
{%- endblock -%}
{%- elif type == 'text/html' -%}
{%- block data_html -%}
{%- endblock -%}
{%- elif type == 'text/markdown' -%}
{%- block data_markdown -%}
{%- endblock -%}
{%- elif type == 'image/jpeg' -%}
{%- block data_jpg -%}
{%- endblock -%}
{%- elif type == 'text/plain' -%}
{%- block data_text -%}
{%- endblock -%}
{%- elif type == 'text/latex' -%}
{%- block data_latex -%}
{%- endblock -%}
{%- elif type == 'application/javascript' -%}
{%- block data_javascript -%}
{%- endblock -%}
{%- else -%}
{%- block data_other -%}
{%- endblock -%}
{%- endif -%}
{%- endfor -%}
{%- endblock data_priority -%}