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 christian.heimes
Recipients christian.heimes, dwoodjunkmail, eric.smith
Date 2021-03-09.16:07:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615306073.28.0.117397431002.issue43435@roundup.psfhosted.org>
In-reply-to
Content
A sleep(1) call affects exactly one aspect of the program: the state of the PRNG rand(). You re-initialize the process globale RNG in every function call with srand((unsigned) time(&t)). time() has a granularity of one second.
History
Date User Action Args
2021-03-09 16:07:53christian.heimessetrecipients: + christian.heimes, eric.smith, dwoodjunkmail
2021-03-09 16:07:53christian.heimessetmessageid: <1615306073.28.0.117397431002.issue43435@roundup.psfhosted.org>
2021-03-09 16:07:53christian.heimeslinkissue43435 messages
2021-03-09 16:07:53christian.heimescreate