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 tim.peters
Recipients brett.cannon, dstufft, ned.deily, tim.peters
Date 2016-06-10.20:15:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465589749.97.0.565468550496.issue27288@psf.upfronthosting.co.za>
In-reply-to
Content
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()).
History
Date User Action Args
2016-06-10 20:15:50tim.peterssetrecipients: + tim.peters, brett.cannon, ned.deily, dstufft
2016-06-10 20:15:49tim.peterssetmessageid: <1465589749.97.0.565468550496.issue27288@psf.upfronthosting.co.za>
2016-06-10 20:15:49tim.peterslinkissue27288 messages
2016-06-10 20:15:49tim.peterscreate