Mediatimestamp

Latest version: v5.0.0

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

Scan your dependencies

Page 2 of 4

1.5.2

Fixed bug in taking unions with empty ranges

1.5.1

Fixed bug in TimeOffset.to_count (both versions) that caused incorrect results when rounding down when the denominator of the rate properly divided neither the seconds part nor the nanoseconds part of the timestamp, nor the number of nanoseconds in a second, but did properly divide the whole timestamp expressed in nanoseconds. This bug has been present for some time but had not previously been seen because there was no test coverage for non-nearest rounding and none of our tests used rates with prime denominators other than 2.
Switched test runner in tox from nose2 to unittest

1.5.0

Added normalisation function for immutable.TimeRange

1.4.0

Added richer comparison functions for immutable.TimeRange

1.3.0

Added at_rate method to immutable.TimeRange which returns an iterable of Timestamps

1.2.0

Added new immutable timestamps, offsets, and ranges in their own namespace
New style immutable timestamps can be negative
New style immutable timestamps have a more useful repr

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.