[Python-Dev] Switch statement
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Jun 21 02:23:12 CEST 2006
More information about the Python-Dev mailing list
Wed Jun 21 02:23:12 CEST 2006
- Previous message: [Python-Dev] Switch statement
- Next message: [Python-Dev] Switch statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote: > Well, the hypothetical use case is one where we have an arbitrary > object of unknown origin or type, and we want to special-case > treatment for a few known values. I'd need convincing that this use case is anything more than hypothetical. Also, you can always put your own test for hashability around it if you want. -- 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