This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 'switch'/'case'/'else' statement
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: lemburg Nosy List: lemburg, twouters
Priority: low Keywords: patch

Created on 2001-11-13 00:04 by twouters, last changed 2022-04-10 16:04 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
switch.diff twouters, 2001-11-13 00:04
Messages (3)
msg38170 - (view) Author: Thomas Wouters (twouters) * (Python committer) Date: 2001-11-13 00:04
This is a quick hack that adds the 'switch' statement
to Python. This is by no means production code, it is
*hack* that probably leaks stackentries all over the
place. It's simply a proof of concept. I probably won't
have time to solidify this anytime soon, so if anyone
feels a strong desire for rejection, feel free to grab
this and fix it up :)

Assigned to MAL because he owns the PEP that mentions
something like this.

msg38171 - (view) Author: Thomas Wouters (twouters) * (Python committer) Date: 2002-09-09 13:58
Logged In: YES 
user_id=34209

Can't we put this poor thing out of its misery by now ? :)
msg38172 - (view) Author: Thomas Wouters (twouters) * (Python committer) Date: 2002-12-09 20:38
Logged In: YES 
user_id=34209

Putting it to sleep now.
History
Date User Action Args
2022-04-10 16:04:38adminsetgithub: 35514
2001-11-13 00:04:30twouterscreate