Withdraw PEP 504 in favour of 506

This commit is contained in:
Nick Coghlan 2015-09-20 21:53:54 +10:00
parent 56ef8a5943
commit 1b6ff2b4f6
1 changed files with 16 additions and 1 deletions

View File

@ -3,7 +3,7 @@ Title: Using the System RNG by default
Version: $Revision$
Last-Modified: $Date$
Author: Nick Coghlan <ncoghlan@gmail.com>
Status: Draft
Status: Withdrawn
Type: Standards Track
Content-Type: text/x-rst
Created: 15-Sep-2015
@ -38,6 +38,21 @@ deterministic random number generator process wide either by using a new
To minimise the impact on existing code, module level APIs that require
determinism will implicitly switch to the deterministic PRNG.
PEP Withdrawal
==============
During discussion of this PEP, Steven D'Aprano proposed the simpler alternative
of offering a standardised ``secrets`` module that provides "one obvious way"
to handle security sensitive tasks like generating default passwords and other
tokens.
Steven's proposal has the desired effect of aligning the easy way to generate
such tokens and the right way to generate them, without introducing any
compatibility risks for the existing ``random`` module API, so this PEP has
been deferred in favour of further work on refining Steven's proposal as
PEP 506.
Proposal
========