Intervaltree

Latest version: v3.1.0

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

Scan your dependencies

Page 3 of 4

1.0.2

-Bug fixes:
- `Node.depth_score_helper()` raised `AttributeError`
- README formatting

1.0.1

- Fix: pip install failure because of failure to generate README.rst

1.0.0

- Renamed from PyIntervalTree to intervaltree
- Speed improvements for adding and removing Intervals (~70% faster than 0.4)
- Bug fixes:
- BACKWARD INCOMPATIBLE: `len()` of an `Interval` is always 3, reverting to default behavior for `namedtuples`. In Python 3, `len` returning a non-integer raises an exception. Instead, use `Interval.length()`, which returns 0 for null intervals and `end - begin` otherwise. Also, if the `len() === 0`, then `not iv` is `True`.
- When inserting an `Interval` via `__setitem__` and improper parameters given, all errors were transformed to `IndexError`
- `split_overlaps` did not update the `boundary_table` counts
- Internal improvements:
- More robust local testing tools
- Long series of interdependent tests have been separated into sections

0.5

-------------

- Fixed issue 5. This is the last version of this project.

0.4

- Faster balancing (~80% faster)
- Bug fixes:
- Double rotations were performed in place of a single rotation when presented an unbalanced Node with a balanced child.
- During single rotation, kept referencing an unrotated Node instead of the new, rotated one

0.3.3

- Made IntervalTree crash if inited with a null Interval (end <= begin)
- IntervalTree raises ValueError instead of AssertionError when a null Interval is inserted

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.