##// 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
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- extends 'null.tpl' -%}
{#display data priority#}
{%- block data_priority scoped -%}
MinRK
move mime-bundle data to rich output.data...
r18589 {%- for type in output.data | filter_data_type -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- if type == 'application/pdf' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_pdf -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'image/svg+xml' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_svg -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'image/png' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_png -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'text/html' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_html -%}
{%- endblock -%}
Min RK
support markdown output in nbconvert
r19918 {%- elif type == 'text/markdown' -%}
{%- block data_markdown -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'image/jpeg' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_jpg -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'text/plain' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_text -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'text/latex' -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- block data_latex -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- elif type == 'application/javascript' -%}
MinRK
add missing data_javascript...
r12446 {%- block data_javascript -%}
{%- endblock -%}
MinRK
update nbconvert to nbformat 4
r18580 {%- else -%}
{%- block data_other -%}
{%- endblock -%}
MinRK
add missing data_javascript...
r12446 {%- endif -%}
Matthias BUSSONNIER
try to play with data display priority
r9599 {%- endfor -%}
{%- endblock data_priority -%}