◐ Shell
clean mode source ↗

Message 162914 - Python tracker

> Secondly, it seems to me that the proposed lower level feature may
> make more sense as a bytes method rather than as a function in the
> operator module.

If it's a function, though, it can compare all kinds of buffer-like
objects (bytearrays, memoryviews, etc.).