simpleeval
simpleeval copied to clipboard
Simple Safe Sandboxed Extensible Expression Evaluator for Python
Since DoS attacks are a concern, I wonder if a timeout statement would help here. if there are better ways to tackle it, a thread would definitely help for this.
See discussion from #81 This would be a breaking change for anyone sending custom objects to the library. We'd need a way to specify which things can or cannot be...
```python x = 100000 ** 100000 ``` takes about 2 seconds on a 2.6ghz mac i7, and then doing maths on `x` is practically instant. However: ```python print(x) ``` then...
# Description See #94 Makes `KeyError` and stuff a bit more friendly for users using a custom `names` lookup. If their `names` function throws a `KeyError` unexpectedly, it was getting...
# Description This PR introduces the following changes: * Drop support and testing for Python 2.7 and 3.7, both of which are EOL * Add a Python version requirement to...
# Description It prevents to raise warnings when using simpleeval correctly. This is useful when you want to run code that uses simepleeval with `-Werror` . # Pre-approval checklist (for...