Are dicts supposed to raise comparison errors

Steven D'Aprano steve+comp.lang.python at pearwood.info
Thu Aug 2 03:16:49 EDT 2018


On Wed, 01 Aug 2018 19:00:27 +0100, Paul Moore wrote:

[...]
> My point was that it's a *warning*, and as such it's perfectly possible
> for a warning to *not* need addressing (other than to suppress or ignore
> it once you're happy that doing so is the right approach).

And my point was that ignoring warnings is not the right approach.

Suppressing them on a case-by-case basis (if possible) is one thing, but 
a blanket suppression goes to far, for the reasons I gave earlier.




-- 
Steven D'Aprano
"Ever since I learned about confirmation bias, I've been seeing
it everywhere." -- Jon Ronson




More information about the Python-list mailing list