You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/rhettinger'closed_at=<Date2010-01-31.04:36:30.573>created_at=<Date2010-01-30.06:05:53.911>labels= ['docs']
title='Documentation for random module should indicate that a call to seed() is not required'updated_at=<Date2010-01-31.04:36:30.571>user='https://bugs.python.org/JustinLebar'
Many programmers are used to languages where the RNG is deterministic unless it's explicitly seeded. This does not appear to be the case in Python.
The documentation for random should indicate that Random objects are seeded on construction, and that the global random object is seeded when the random package is first imported.
It's already indicated in the documentation for random.seed([x]):
"If x is omitted or None, current system time is used; current system time is also used to initialize the generator when the module is first imported."
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: