[Python-ideas] Should our default random number generator be secure?

Steven D'Aprano steve at pearwood.info
Fri Sep 11 18:08:09 CEST 2015


On Wed, Sep 09, 2015 at 09:23:23PM -0500, Tim Peters wrote:

> [Steven D'Aprano]
> > The default MT is certainly deterministic, and although only the output
> > of random() itself is guaranteed to be reproducible, the other methods
> > are *usually* stable in practice.
> >
> > There's a jumpahead method too,
> 
> Not in Python.  

It is there, up to Python 2.7. I hadn't noticed it was gone in Python 3.


-- 
Steve


More information about the Python-ideas mailing list