Larry Hastings added the comment:

Oh, and, for 3.6 I would definitely support adding a mention of "Instead of 
using this function directly, we recommend you use the token_bytes() function 
in the secrets module", blah blah best practices etc.

That goes for os.getrandom() too, if we add it to 3.6 (which I rather suspect 
we will).

----------

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

Reply via email to