On 6/26/06, Michael Urman <murman at gmail.com> wrote: > I also would like to see a way to use 'is' instead of (or inaddition > to) '==' for the comparison, but I don't have any use cases behind > this. I've thought about this a bit, and I think it's a red herring. I've seen some places where 'is' is used to compare constants (e.g. sre_compare.py). But I'm pretty sure that this is a speed hack that can safely be forgotten once (if ever) we have a switch statement. -- --Guido van Rossum (home page: http://www.python.org/~guido/)
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