case/switch statement?

Raymond Hettinger python at rcn.com
Sun Jun 12 22:05:30 EDT 2005


[Joe Stevenson]
> > I skimmed through the docs for Python, and I did not find anything like
> > a case or switch statement.  I assume there is one and that I just
> > missed it.

[deelan]
> topic already beated to death

It's not dead yet.  It has excellent use cases and an open PEP,
http://www.python.org/peps/pep-0275.html .

It needs advocacy, TLC, a clear proposal, an implementer, and a little
luck.


Raymond Hettinger




More information about the Python-list mailing list