We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6611889 commit 10ae4c0Copy full SHA for 10ae4c0
1 file changed
Lib/uuid.py
@@ -881,6 +881,7 @@ def uuid7():
881
882
if _last_timestamp_v7 is None or timestamp_ms > _last_timestamp_v7:
883
counter, tail = _uuid7_get_counter_and_tail()
884
+ # Clear the overflow state every new millisecond.
885
_last_counter_v7_overflow = False
886
else:
887
if timestamp_ms < _last_timestamp_v7:
0 commit comments