[Python-Dev] switch statement (original) (raw)
Guido van Rossum guido at python.org
Fri Sep 21 17:10:00 EDT 2018
- Previous message (by thread): [Python-Dev] switch statement
- Next message (by thread): [Python-Dev] switch statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
There's already a rejected PEP about a switch statement: https://www.python.org/dev/peps/pep-3103/. There's no point bringing this up again unless you have a new use case.
There have been several promising posts to python-ideas about the much more powerful idea of a "match" statement. Please search for those before re-posting on python-ideas.
-- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20180921/9d14cedf/attachment.html>
- Previous message (by thread): [Python-Dev] switch statement
- Next message (by thread): [Python-Dev] switch statement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]