chiprook
← Software
SoftwareOctober 24, 2026, 06:36

Test: Python's UUIDv7 is monotonic only within a single process

A DEV Community analysis of uuid.uuid7() in CPython 3.15.1 found zero inversions across 1 million IDs in one process, but 46.6% of causally ordered cross-process pairs sorted backwards. After a one-hour clock rollback, the embedded timestamp advances 1 ms per generated ID.

Test: Python's UUIDv7 is monotonic only within a single process
#Python
Read next
Policy

Bangladesh plans single digital ID within 18–24 months

Hardware

Single transistor combines memory and signal processing for brain-inspired computing

Software

Python 3.15: test shows lazy import defers the delay, not removes it

Science

Lightest known neutron star pair tests Einstein's relativity to within 1%