3 ms·
> Using NotImplemented in a boolean context has been deprecated I've always wonder why NotImplemented is used in a boolean context in the first place, iirc whe
by guram11 6y ago
> Using NotImplemented in a boolean context has been deprecated
I've always wonder why NotImplemented is used in a boolean context in the first place, iirc when it evaluates to True the overrided comparison now becomes a source of hard to spot bug