Jun-05-2019, 12:27 AM
i read in a couple places that bytearray is not available in Python 2. my Python 2.7.12 in Ubuntu 16.04.6 does have bytearray. was this added at some value of x in 2.x? also, the type bytes exists in 2.7.12 as an alias of str (
bytes == str and bytes is str
-> True). when was this alias added? i want to get the reference in some documentation to be correct.