bpo-31784: Use time.time_ns() in uuid.uuid1() (GH-11189)
uuid.uuid1() now calls time.time_ns() rather than int(time.time() * 1e9). Replace also int(nanoseconds/100) with nanoseconds // 100. Add an unit test.
V
Victor Stinner committed
62a68b762a479a72c3defba9ace5f72a0063c5c6
Parent: 1dd0359
Committed by GitHub <noreply@github.com>
on 12/18/2018, 10:45:13 AM