[Python-Dev] Switch statement (original) (raw)
skip at pobox.com skip at pobox.com
Mon Jun 12 12:35:20 CEST 2006
- Previous message: [Python-Dev] Switch statement
- Next message: [Python-Dev] Switch statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Switch statement
- Next message: [Python-Dev] Switch statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]