[Python-Dev] Switch statement
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Jun 13 02:22:13 CEST 2006
More information about the Python-Dev mailing list
Tue Jun 13 02:22:13 CEST 2006
- Previous message: [Python-Dev] Switch statement
- Next message: [Python-Dev] Switch statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
skip at pobox.com wrote: > 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? Then you deserve what you get for not reading the docs. -- Greg
- Previous message: [Python-Dev] Switch statement
- Next message: [Python-Dev] Switch statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list