On 8/8/06, Collin Winter <[EMAIL PROTECTED]> wrote: > I thought one of the main arguments in favor of set literals is that a > literal form would allow the compiler to perform optimisations that > the set(...) spelling doesn't allow.
Let me clear up this misunderstanding. Optimizations have nothing to do with it (they would be invalid anyway since sets are mutable). It's a matter of writing more readable code. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
