[Python-Dev] switch statement (original) (raw)

Guido van Rossum guido at python.org
Fri Sep 21 17:10:00 EDT 2018


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>



More information about the Python-Dev mailing list