"M.-A. Lemburg" <mal at egenix.com> writes: > The point here is that a typical user won't expect any comparisons > to be made when dealing with dictionaries, simply because the fact > that you do need to make comparisons is an implementation detail. Of course looking things up in a dictionary involves comparisons! How could it not? > So in this particular case silencing the exception might be the > more user friendly way of dealing with the problem. Please, no. > That said, the problem still lingers in that dictionary, so it may > bite you in some other context, e.g. when iterating over the list > of keys. For this reason, and others. Cheers, mwh -- <dash> web in my head get it out get it out -- from Twisted.Quotes
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