From 26511b4f25d7e354156674c968776b42c793d446 Mon Sep 17 00:00:00 2001 From: David Goodger Date: Wed, 6 Nov 2002 05:41:32 +0000 Subject: [PATCH] Withdrawn by author; marked rejected. --- pep-0270.txt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pep-0270.txt b/pep-0270.txt index 9b9c3f252..e1af1e0f2 100644 --- a/pep-0270.txt +++ b/pep-0270.txt @@ -3,13 +3,30 @@ Title: uniq method for list objects Version: $Revision$ Last-Modified: $Date$ Author: jp@demonseed.net (Jason Petrone) -Status: Draft +Status: Rejected Type: Standards Track Created: 21-Aug-2001 Python-Version: 2.2 Post-History: +Notice + + This PEP is withdrawn by the author. He writes: + + Removing duplicate elements from a list is a common task, but + there are only two reasons I can see for making it a built-in. + The first is if it could be done much faster, which isn't the + case. The second is if it makes it significantly easier to + write code. The introduction of sets.py eliminates this + situation since creating a sequence without duplicates is just + a matter of choosing a different data structure: a set instead + of a list. + + As described in PEP 218, sets are being added to the standard + library for Python 2.3. + + Abstract This PEP proposes adding a method for removing duplicate elements to