A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-November/029838.html below:

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

[Python-Dev] Re: PEP270 (list.uniq()) [Python-Dev] Re: PEP270 (list.uniq())jason petrone jp@demonseed.net
Fri, 1 Nov 2002 12:39:37 -0500
On Fri, Nov 01, 2002 at 05:29:20PM +0000, Padraig Brady wrote:
> 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? 
> could do:

Yes, sets are a much better solution to this problem.  For that reason,
my PEP wasn't accepted.  

In the meantime, I just use dictionaries with None for values to achieve 
the same goal.

Jason



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4