PEP 467: Minor API improvements for binary sequences

This discussion is about behaviour explicitly triggered by method calls such as getbyte and iterbytes. The existence of the method tobytes sets a precedent, and I don’t think anyone has complained about it (note that this method is itself modelled on Numpy’s ndarray.tobytes method, which works on any datatype).

Whether or not arbitrary memoryviews should be implicitly accepted as raw bytes is a different discussion.