Steven D'Aprano added the comment:

I don't want to start another huge thread on python-dev unless really 
necessary. What should happen to random.SystemRandom?

(1) nothing, it stays as it is, and if ``secrets`` needs better, it can 
subclass it;

(2) it changes to use ``os.getrandom``, and then ``secrets`` can continue to 
expose ``SystemRandom``.

If it comes to a vote, I'm +1 on option 2.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27288>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to