[Python-checkins] peps: Withdraw PEP 504 in favour of 506
nick.coghlan
python-checkins at python.org
Sun Sep 20 13:54:01 CEST 2015
https://hg.python.org/peps/rev/e3dabf1d9fc1
changeset: 6075:e3dabf1d9fc1
user: Nick Coghlan <ncoghlan at gmail.com>
date: Sun Sep 20 21:53:54 2015 +1000
summary:
Withdraw PEP 504 in favour of 506
files:
pep-0504.txt | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/pep-0504.txt b/pep-0504.txt
--- a/pep-0504.txt
+++ b/pep-0504.txt
@@ -3,7 +3,7 @@
Version: $Revision$
Last-Modified: $Date$
Author: Nick Coghlan <ncoghlan at gmail.com>
-Status: Draft
+Status: Withdrawn
Type: Standards Track
Content-Type: text/x-rst
Created: 15-Sep-2015
@@ -38,6 +38,21 @@
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
========
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list