On 6/18/06, Josiah Carlson <[EMAIL PROTECTED]> wrote: > [...] Offering arbitrary expressions whose > meaning can vary at runtime would kill any potential speedup (the > ultimate purpose for having a switch statement), [...]
Um, is this dogma? Wouldn't a switch statement also be a welcome addition to the readability? I haven't had the time to follow this thread (still catching up on my Google 50%) but I'm not sure I agree with the idea that a switch should only exist for speedup. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com