This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steven.daprano
Recipients peeble111, steven.daprano
Date 2021-07-20.23:26:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626823587.04.0.289237428758.issue44691@roundup.psfhosted.org>
In-reply-to
Content
args.seed if args.seed else SEED is not doing what you think it is doing.

SEED is an *int* but args.seed is a *str*:

>>> random.seed(6385845682483836956)
>>> random.randint(10, 500)
92
>>> random.seed('6385845682483836956')
>>> random.randint(10, 500)
347
History
Date User Action Args
2021-07-20 23:26:27steven.dapranosetrecipients: + steven.daprano, peeble111
2021-07-20 23:26:27steven.dapranosetmessageid: <1626823587.04.0.289237428758.issue44691@roundup.psfhosted.org>
2021-07-20 23:26:27steven.dapranolinkissue44691 messages
2021-07-20 23:26:27steven.dapranocreate