but, at least, a bytearray is stored internally (in CPython) as bytes. of course another implementation could store a bytearray in a different way so long as it behaves the same way (so a script written in valid Python could not determine the way bytearray is stored without using any of the engine probes).
i do know how bytes and bytearray behave, for the most part. i just need to fill in any gaps and make sure i apply that knowledge in all uses. for example, when i have scripts copy and manipulate file data, i have them work with bytes and/or bytearray, not str.
i do know how bytes and bytearray behave, for the most part. i just need to fill in any gaps and make sure i apply that knowledge in all uses. for example, when i have scripts copy and manipulate file data, i have them work with bytes and/or bytearray, not str.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.