[Python-3000] Empty set and empty dictionary

Eoghan Murray eoghan at qatano.com
Tue Apr 17 02:31:56 CEST 2007


I had another idea on this theme.. going by unicode and raw string literals,
how about
s[1, 2, 3, 4]
for a set?

Eoghan

On 17/04/07, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
>
> DillonCo wrote:
>
> > Why not use "<>" for sets?
>
> Some possible reasons:
>
> * It would look ugly
>
> * There could be visual confusion with comparison operators
>
> * There could be parsing difficulties distinguishing
>    nested set bracketing from << and >> operators
>
> --
> Greg
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe:
> http://mail.python.org/mailman/options/python-3000/eoghan%40qatano.com
>



-- 
http://qatano.com/
http://eoghan.qatano.org/
+353 86 236 1190
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20070417/472d19b9/attachment-0001.html 


More information about the Python-3000 mailing list