[Python-Dev] Re: PEP270 (list.uniq()) (original) (raw)

Padraig Brady padraig.brady@corvil.com
Mon, 04 Nov 2002 09:26:28 +0000


jason petrone wrote:

On Fri, Nov 01, 2002 at 05:29:20PM +0000, Padraig Brady wrote: =20

So uniq really is a set operation and if Python had a set builtin type then I'm not sure a uniq method would be required?=20 could do: =20 Yes, sets are a much better solution to this problem. For that reason, my PEP wasn't accepted. =20

Well can it be removed from the list of Open PEPs?

In the meantime, I just use dictionaries with None for values to achiev= e=20 the same goal.

Or sets.py (in 2.3)

thanks, P=E1draig.