A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-November/130614.html below:

[Python-Dev] test_uuid.py on HP NonStop Python-2.7.5 fails (test case: testIssue8621)

[Python-Dev] test_uuid.py on HP NonStop Python-2.7.5 fails (test case: testIssue8621) [Python-Dev] test_uuid.py on HP NonStop Python-2.7.5 fails (test case: testIssue8621)Armin Rigo arigo at tunes.org
Thu Nov 28 10:53:51 CET 2013
Hi,

On Thu, Nov 28, 2013 at 7:14 AM, V S, Nagendra (Nonstop Filesystems Team)
> on NonStop "uuid.py" falls throw to  random.range() call to generate the random number

And indeed, the random module gets identical results in both parent
and child after a fork().  This seems to mean that the random module
is not safe to use in uuid without taking special care of this fact
(e.g. feeding back os.getpid() into the seed).


A bientôt,

Armin.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4