[Python-3000] Switch/Case statement PEP (original) (raw)
Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Mon Dec 11 23:55:21 CET 2006
- Previous message: [Python-3000] Switch/Case statement PEP
- Next message: [Python-3000] Switch/Case statement PEP
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Josiah Carlson <jcarlson at uci.edu> writes:
After reading Thomas' post and Talin's response, I'm going to have to agree with Talin; syntax options are moot until we can decide what is acceptable in the case EXPR.
IMHO any expression should be acceptable, it should be evaluated when being compared, and there should be other means (independent from switch/case) to make named constants which may be expanded at compile time.
-- _("< Marcin Kowalczyk _/ qrczak at knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/
- Previous message: [Python-3000] Switch/Case statement PEP
- Next message: [Python-3000] Switch/Case statement PEP
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]