|
601342ab20
|
can't use getattr to get method
|
2022-08-20 11:21:05 +02:00 |
|
|
056088f035
|
deepcopy have been moved to safe_function.py and can no longer copy a function / method
|
2022-08-20 11:10:23 +02:00 |
|
|
ec94ddece8
|
the code is now fully translatable
|
2022-08-15 23:06:23 +02:00 |
|
|
8afd7e7926
|
safe_eval and multiple_safe_eval are now 20x faster (~2.5s -> ~0.13s)
|
2022-08-15 10:58:36 +02:00 |
|
|
506ee740f5
|
added TemplateSafeEval, TemplateMultipleSafeEval and Env type hint
|
2022-08-14 12:47:35 +02:00 |
|
|
42fef0b2e3
|
replaced the old safe_eval by the new safe_eval (from test, normal mode allow for ~26s -> ~13s, and with lambda mode ~26s -> ~0.03s)
|
2022-08-06 18:51:48 +02:00 |
|
|
998d1274ef
|
started the rewrote of safe_eval to use AST (making it way easier to read and edit) and could fix some security issue.
Also allow for lambda expression to avoid recompiling and checking the expression at every call
|
2022-08-06 00:12:02 +02:00 |
|