[Python-3000] set literals

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Jul 11 02:45:15 CEST 2006


Guido van Rossum wrote:
> On 7/10/06, Diogo Kollross <diogoko at gmail.com> wrote:
> 
>>While we're at it... what happens to frozenset?
> 
> I say nuke it. Who needs it?

There are algorithms which effectively involve a
mapping keyed by a set. E.g. converting an NFA
to a DFA requires building up sets of states from
the NFA and associating each one with a state in
the DFA.

You can kludge around it, but it would be nice
to be able to express this kind of thing directly
using the builtin support for sets.

--
Greg


More information about the Python-3000 mailing list