[Python-Dev] Set options

M.-A. Lemburg mal@lemburg.com
Tue, 21 Mar 2000 10:27:56 +0100


Moshe Zadka wrote:
> 
> On Mon, 20 Mar 2000, Ka-Ping Yee wrote:
> 
> > I think that at this point the possibilities for doing sets
> > come down to four options:
> >
> >
> > 1. use lists
> > 2. use dicts
> > 3. new type
> > 4. do nothing
> 
> 5. new Python module with a class "Set"
> (The issues are similar to #3, but this has the advantage of not changing
> the interpreter)

Perhaps someone could take Aaron's kjbuckets and write
a Python emulation for it (I think he's even already done something
like this for gadfly). Then the emulation could go into the
core and if people want speed they can install his extension
(the emulation would have to detect this and use the real thing
then).

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/