[Python-3000] Set literal

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Jan 29 00:45:26 CET 2008


Guido van Rossum wrote:
> On Jan 28, 2008 2:46 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> 
>>Is there a PEP we can refer to for confirmation of
>>said non-craziness?
> 
> Have a look at PEP 218.

That PEP proposes that there be no set literal or comprehension
syntax, and doesn't contain any discussion on whether such
syntax should produce sets or frozensets if it were to exist.

Maybe there was discussion about that at the time, but it would
be good to have it summarised in a PEP somewhere.

--
Greg




More information about the Python-3000 mailing list