A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-February/051446.html below:

[Python-Dev] list of constants -> tuple of constants

[Python-Dev] list of constants -> tuple of constants [Python-Dev] list of constants -> tuple of constantsRaymond Hettinger python at rcn.com
Sun Feb 6 19:15:30 CET 2005
[Neal]
> I think I implemented this once.  I'll try to see if I can find a
> patch.  It wasn't too difficult, but I'm not sure if the patch was
> clean.

If the opportunity arises, another worthwhile peepholer buildout would
be to recognize if-elif chains that can be transformed to a single
lookup and dispatch (see MAL's note in pep 275).


Raymond 

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4