Message 195488 - Python tracker

Message195488

Author christian.heimes
Recipients christian.heimes, neologix, pitrou, sbt, vstinner
Date 2013-08-17.16:07:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376755639.21.0.821775534503.issue18747@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch that is based on Apache's mod_ssl code. mod_ssl perturbs the PRNG state more often but I think that's overkill for Python.

The new patch only affects the PRNG state of the child process. In my opinion it is the better way to solve this issue. The RAND API does some internal locking. Bad things might happen if one thread of a process calls fork() while another is in the middle of a locked RAND operation.
History
Date User Action Args
2013-08-17 16:07:19christian.heimessetrecipients: + christian.heimes, pitrou, vstinner, neologix, sbt
2013-08-17 16:07:19christian.heimessetmessageid: <1376755639.21.0.821775534503.issue18747@psf.upfronthosting.co.za>
2013-08-17 16:07:19christian.heimeslinkissue18747 messages
2013-08-17 16:07:19christian.heimescreate