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 vstinner
Recipients christian.heimes, vstinner
Date 2016-06-08.22:13:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
PHP uses GENERATE_SEED() to initialize mt_rand():

This macro uses: time() (resolution of 1 second), process identifier, php_combined_lcg()

php_combined_lcg() is seeded using: gettimeofday(), and getpid() or thread id in ZTS mode, gettimeofday() (called again after getpid()):

Date User Action Args
2016-06-08 22:13:09vstinnersetrecipients: + vstinner, christian.heimes
2016-06-08 22:13:09vstinnersetmessageid: <>
2016-06-08 22:13:09vstinnerlinkissue27272 messages
2016-06-08 22:13:09vstinnercreate