##// END OF EJS Templates
Merge pull request #3756 from minrk/wiredoc...
Merge pull request #3756 from minrk/wiredoc document the wire protocol in the messaging doc also update the digest scheme to use sha256 and make this configurable, since md5 is the previous default and has been shown to be bad. More messaging docs to update here: - [x] remove get/setattr on kernel - [x] remove crash messages - [x] completion requests do not behave as documented - [x] object_info is misdocumented (`name` is actually `oname` in object_info_request)

File last commit:

r11711:6070dcb3
r11721:42034aaf merge
Show More
python.tpl
56 lines | 1.2 KiB | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'null.tpl' -%}
{% block in_prompt %}
# In[{{cell.prompt_number if cell.prompt_number else ' '}}]:
{% endblock in_prompt %}
{% block output_prompt %}
# Out[{{cell.prompt_number}}]:{% endblock output_prompt %}
{% block input %}{{ cell.input | ipython2python }}
{% endblock input %}
{# Those Two are for error displaying
even if the first one seem to do nothing,
it introduces a new line
#}
{% block pyerr %}{{ super() }}
{% endblock pyerr %}
{% block traceback_line %}
{{ line |indent| strip_ansi }}{% endblock traceback_line %}
{# .... #}
{% block pyout %}
{{ output.text| indent | comment_lines }}
{% endblock pyout %}
{% block stream %}
{{ output.text| indent | comment_lines }}
{% endblock stream %}
{% block display_data scoped %}
# image file:
{% endblock display_data %}
{% block markdowncell scoped %}
{{ cell.source | comment_lines }}
{% endblock markdowncell %}
{% block headingcell scoped %}
{{ '#' * cell.level }}{{ cell.source | replace('\n', ' ') | comment_lines }}
{% endblock headingcell %}
{% block rawcell scoped %}
{{ cell.source | comment_lines }}
{% endblock rawcell %}
{% block unknowncell scoped %}
unknown type {{cell.type}}
{% endblock unknowncell %}