[Python-ideas] PEP 504: Using the system RNG by default

Tim Peters tim.peters at gmail.com
Wed Sep 16 20:45:13 CEST 2015


[Guido, on "saferandom"]
> So if you or someone else (Chris?) wrote that up in PEP form I'd accept it.

I like Steven D'Aprano's "secrets" idea better, so it won't be me ;-)
Indeed, if PHP had a secure "token generator" function built in, the
paper in question would have found almost nothing of practical
interest to write about.


> I'd even accept adding a warning on calling seed() (but not setstate()).

Yield the width of an electron, and the universe itself will be too
small to contain the eventual consequences ;-)


More information about the Python-ideas mailing list