gh-139871: Add bytearray.take_bytes([n]) to efficiently extract bytes
#140128
+406
−95
bytearray.take_bytes([n]) to efficiently extract bytes
#140128