]> granicus.if.org Git - python/commit
Fix a regression in uuid added in bpo-32107. (#4677)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 4 Dec 2017 09:51:55 +0000 (11:51 +0200)
committerGitHub <noreply@github.com>
Mon, 4 Dec 2017 09:51:55 +0000 (11:51 +0200)
commite69fbb6a560a02d0587b9075afd338a1e9073af0
treeebd63b48c91ad576730b0cd1dcbeb070f37ea28d
parent85d5c18c9d83a1d54eecc4c2ad4dce63194107c6
Fix a regression in uuid added in bpo-32107. (#4677)

uuid.get_node() always must return a stable result.
Also added a test for non-reproducibility of _random_getnode().
Original patch by Xavier de Gaye.
Lib/test/test_uuid.py
Lib/uuid.py