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/2001-November/018523.html below:

[Python-Dev] switch-based programming in Python

[Python-Dev] switch-based programming in PythonTim Peters tim.one@home.com
Fri, 9 Nov 2001 18:51:44 -0500
[unattributed]
> One new keyword would be easier than two for Guido to swallow...

[Martin v. Loewis]
> You'd introduce it through a __future__ import, so it wouldn't matter
> if it is one or two.

No, __future__ is a mechanism for barely tolerating incompatible change, not
for inviting it.  The only keyword added since "assert" is "yield", and it's
the only one planned; every new keyword is going to break someone's code,
and new keywords are still resisted mightily.

However, I'm looking forward to seeing how Guido manages to add nice syntax
for classmethods, staticmethods, properties, metatype selection, super, and
__slots__ in 2.3 without any other new keywords <wink>.




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