[Python-Dev] Switch statement

skip at pobox.com skip at pobox.com
Mon Jun 12 12:35:20 CEST 2006

    Greg> A way out of this would be to define the semantics so that the
    Greg> expression values are allowed to be cached, and the order of
    Greg> evaluation and testing is undefined. So the first time through,
    Greg> the values could all be put in a dict, to be looked up thereafter.

And if those expressions' values would change if evaluated after further


More information about the Python-Dev mailing list