|
443d16b28c
|
MKWColor is now a dataclass to improve readability
|
2022-08-19 20:16:48 +02:00 |
|
|
b035dcb6b7
|
added a todo
|
2022-08-19 19:29:59 +02:00 |
|
|
265f327302
|
safe_eval now allow method and function
|
2022-08-19 19:08:50 +02:00 |
|
|
ec94ddece8
|
the code is now fully translatable
|
2022-08-15 23:06:23 +02:00 |
|
|
917f491ad1
|
security: safe_eval now cache depending on the env to avoid any potential issue and calling a method from an args or trying to modify it is disabled
|
2022-08-15 12:00:18 +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 |
|
|
89de19c723
|
safe_eval now cache return_lambda=True callable
|
2022-08-15 00:03:55 +02:00 |
|
|
506ee740f5
|
added TemplateSafeEval, TemplateMultipleSafeEval and Env type hint
|
2022-08-14 12:47:35 +02:00 |
|
|
7d15d98999
|
error in safe_eval now raise SafeEvalException instead of Exception
|
2022-08-08 18:37:12 +02:00 |
|
|
e4ea183c7f
|
changed compile filename from <string> to <safe_eval> for the errors
|
2022-08-08 18:06:25 +02:00 |
|
|
cd13753960
|
lambda was already disabled in the la case
|
2022-08-08 18:03:53 +02:00 |
|
|
b9873a6c49
|
adapted safe_eval call and optimised them. MKWF safe_eval are now easier to read
|
2022-08-06 23:28:52 +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 |
|