Message268152
It was a primary purpose of `secrets` to be a place where security best practices could be implemented, and changed over time, with no concern about backward compatibility for people who don't use it.
So if `secrets` needs to supply a class with all the methods of random.Random, it should derive its own subclass (or derive from random.SystemRandom, and override the only two methods that explicitly invoke _urandom() - everything else ends up using .random() or .getrandbits()). |
|
Date |
User |
Action |
Args |
2016-06-10 20:15:50 | tim.peters | set | recipients:
+ tim.peters, brett.cannon, ned.deily, dstufft |
2016-06-10 20:15:49 | tim.peters | set | messageid: <1465589749.97.0.565468550496.issue27288@psf.upfronthosting.co.za> |
2016-06-10 20:15:49 | tim.peters | link | issue27288 messages |
2016-06-10 20:15:49 | tim.peters | create | |
|