[Python-Dev] PEP 3103: A Switch/Case Statement

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Jun 29 01:34:58 CEST 2006


Talin wrote:

> The case -> sub mapping doesn't need to be defined every time - that's 
> the point, you as the programmer decide when and how to construct the 
> dictionary,

Then you seem to be proposing a variation on the constant-only
case option, with a more convoluted control flow.

--
Greg


More information about the Python-Dev mailing list