On Thu, Nov 4, 2021 at 12:01 AM Ethan Furman <ethan@stoneleaf.us> wrote:
     >>> bytearray.fromsize(5, fill=b'\x0a')
     bytearray(b'\x0a\x0a\x0a\x0a\x0a')

What happens if you supply more than one byte for the fill argument?  Silent truncation, raise ValueError('too long') or ???