Skip to content
Snippets Groups Projects
Commit 6600ba31 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Introduce LOOPY_NO_CACHE environment variable

parent f5c28612
No related branches found
No related tags found
No related merge requests found
...@@ -1459,7 +1459,8 @@ def register_function_manglers(kernel, manglers): ...@@ -1459,7 +1459,8 @@ def register_function_manglers(kernel, manglers):
# {{{ cache control # {{{ cache control
CACHING_ENABLED = True import os
CACHING_ENABLED = "LOOPY_NO_CACHE" not in os.environ
def set_caching_enabled(flag): def set_caching_enabled(flag):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment