[Python-Dev] Re: anonymous blocks (off topic: match)
Shannon -jj Behrens
jjinux at gmail.com
Wed Apr 20 10:01:55 CEST 2005
> PS. a side effect of the for-in pattern is that I'm beginning to feel that Python
> might need a nice "switch" statement based on dictionary lookups, so I can
> replace multiple callbacks with a single loop body, without writing too many
> if/elif clauses.
That's funny. I keep wondering if "match" from the ML world would
make sense in Python. I keep thinking it'd be a really nice thing to
have.
-jj
--
I have decided to switch to Gmail, but messages to my Yahoo account will
still get through.
More information about the Python-Dev
mailing list