##// END OF EJS Templates
Simplify caching of modules from %run-ing scripts....
Simplify caching of modules from %run-ing scripts. Previously, we cleared and re-used a single FakeModule instance in which to run cells, and cached copies of the modules' namespaces to prevent them from being cleared. Now, we cache one FakeModule instance per script file, clearing it and re-using it if the same script is re-run. This seems more robust. Closes gh-3547

File last commit:

r11086:c137395d
r11207:279211b6
Show More
python_armor.tpl
31 lines | 732 B | application/vnd.groove-tool-template | SmartyLexer
Matthias BUSSONNIER
inheritance example and doc
r9583 {%- extends 'python.tpl' -%}
Matthias BUSSONNIER
deal with worksheets
r9585 {#% block any_cell %}
Matthias BUSSONNIER
inheritance example and doc
r9583 ==============================
Matthias BUSSONNIER
add any-cell block
r9584 =======start {{cell.type}}=========
Matthias BUSSONNIER
inheritance example and doc
r9583 {{ super() }}
Matthias BUSSONNIER
add any-cell block
r9584 ======= end {{cell.type}} =========
Matthias BUSSONNIER
deal with worksheets
r9585 =============================={% endblock any_cell %#}
{% block markdowncell %}---- Start MD ----{{ super() }}
---- End MD ----
{% endblock markdowncell %}
{% block codecell %}---- Start Code ----{{ super() }}
---- End Code ----
{% endblock codecell %}
{% block headingcell scoped %}---- Start heading ----{{ super() }}
---- End heading ----
{% endblock headingcell %}
{% block rawcell scoped %}---- Start Raw ----
{{ super() }}
---- End Raw ----{% endblock rawcell %}
{% block unknowncell scoped %}
unknown type {{cell.type}}
{% endblock unknowncell %}
Matthias BUSSONNIER
inheritance example and doc
r9583