Phillip J. Eby wrote: > Hear, hear! We already have if/elif, we don't need another way to spell > it. The whole point of switch is that it asserts that exactly *one* case > is supposed to match
that's not true for all programming languages that has a switch construct, though; the common trait is that you're dispatching on a single value, not necessarily that there cannot be potentially overlapping case conditions. </F> _______________________________________________ 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