Portion

Latest version: v2.4.2

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

Scan your dependencies

Page 6 of 6

1.2.0

Added
- `Interval` supports indexing to retrieve the underlying `AtomicInterval` objects.

1.1.0

Added
- Both `AtomicInterval` and `Interval` are fully comparable.
- `singleton(x)` to create a singleton interval [x].
- `empty()` to create an empty interval.
- `Interval.enclosure()` that returns the smallest interval that includes the current one.

Changed
- Interval simplification is in O(n) instead of O(n*m).
- `AtomicInterval` objects in an `Interval` are sorted by lower and upper bounds.

1.0.4

Fixed
- All operations of `AtomicInterval` (except overlaps) accept `Interval`.
- Raise `TypeError` instead of `ValueError` if type is not supported (coherent with `NotImplemented`).

1.0.3

- Initial release on PyPP.

1.0.0

- Initial release.

Page 6 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.