Are dicts supposed to raise comparison errors
Robin Becker
robin at reportlab.com
Wed Aug 1 06:34:01 EDT 2018
..........
> Nope, that would be the effect of "and", not "or".
>
>>>> "a" is b"b" and "fallback"
> False
>>>> "a" is b"b" or "fallback"
> 'fallback'
>
> You seem to be caught in your wrong mental model. I recommend that you let
> the matter rest for a day or so, and then look at it with a fresh eye.
>......
my bad; not worrying enough about real problems
--
Robin Becker
More information about the Python-list
mailing list