Add a max_dynamic_params_depth setting to limit recusive searching for those params. It shouldn't be too crazy.

This commit is contained in:
Dave Halter
2016-07-17 13:59:19 +02:00
parent 218278af8d
commit 75c1ebc2fe
5 changed files with 35 additions and 11 deletions

View File

@@ -89,6 +89,7 @@ class Evaluator(object):
self.mixed_cache = {} # see `evaluate.compiled.mixed.create()`
self.analysis = []
self.predefined_if_name_dict_dict = {}
self.dynamic_params_depth = 0
self.is_analysis = False
if sys_path is None: