[Python-Dev] Switch statement (original) (raw)

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 execution?

Skip



More information about the Python-Dev mailing list