A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-June/066304.html below:

[Python-Dev] Switch statement

[Python-Dev] Switch statement [Python-Dev] Switch statementGuido van Rossum guido at python.org
Wed Jun 21 06:56:33 CEST 2006
On 6/20/06, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> 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.

Right. I wasn't defending the use case. That's why I called it "hypothetical".

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4