Simpleeval

Latest version: v1.0.3

Safety actively analyzes 691168 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.3

- Spelling fixes in documentation, docstrings & tests (thanks kurtmckee !)
- Fix support for 3.14 (deprecated features actually being removed, so `getattr` use was incorrect).

1.0.2

No functional changes - but release with the `pip` version removed from requirements.

1.0.1

Update the packaging / build after the 1.0.0 release.

1.0.0

What's new in this release?

- Fix a sandbox escape via generators and `_frame` methods.
- Supporting dictionary comprehensions
- A custom exception rather than `KeyError` when `names` not found
- Dropping support for old python versions - if you need pre 3.9, then you can use an older version
- Various cleanups & tidying warnings, deprecation warnings etc.

---

So 1.0 as a 'this is the way it works'. It's been basically stable for years now, I've just never called it that - hopefully now this draws a line in what's possible without breaking changes.

---

There's lots of ideas to make it better - but that's better as a new 2.x branch with allowing a few breaking changes (mostly for security).

0.9.13

Description

- Better handling of empty strings passed as input.
- Fix the shift safe number issue from 0.9.12
- More minor pylint / etc fixes / cleanups (general code quality)
- separate `.parse` from 115
- Allow setting up completely empty `{}` operators / functions ( 75 via 123 )
- Add extra bit-ops from 87
- Add daxamin to contributors ?
- Version bump stuff.
- other readme tweaks
- star expressions, eg `x = {"a": 1, "b": 2, **c}`

0.9.12

KInd of hoping this is the last 0.9 release, and I find time to stablize as 1.0, and start the 2.0 work some time soon...

Changelog:

- Remove Cyclic references (memory leak)
- Add left & right shift operations (<< and >>)
- Switch to GH actions & CodeCov.io for CI tests
- Add extra contributors details
- Reformat w/ Black + isort, and have linting of those in CI

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.