[Python-ideas] switch statement as context manager?

Skip Montanaro skip at pobox.com
Tue Feb 11 19:27:52 CET 2014


On Tue, Feb 11, 2014 at 10:58 AM, Philipp A. <flying-sheep at web.de> wrote:
> the problem of a real switch statement is apparently that there’s no good
> syntax

Probably worth mentioning the now 5+yo rejected PEP:

http://www.python.org/dev/peps/pep-3103/

Skip


More information about the Python-ideas mailing list