Rich Comparisons Gotcha
steven at REMOVE.THIS.cybersource.com.au
Tue Dec 9 03:41:47 CET 2008
On Mon, 08 Dec 2008 14:24:59 +0000, Rasmus Fogh wrote:
> For my personal problem I could indeed wrap all objects in a wrapper
> with whatever 'correct' behaviour I want (thanks, TJR). It does seem a
> bit much, though, just to get code like this to work as intended:
> print ('x is present: ', x in alist)
> So, I would much prefer a language change. I am not competent to even
> propose one properly, but I'll try.
You think changing the language is easier than applying a wrapper to your
own data??? Oh my, that's too funny for words.
More information about the Python-list