3 ms·
He's got a point. I'd probably use something like to_bytes and to_str to disambiguate.
by crdoconnor 10y ago
He's got a point. I'd probably use something like to_bytes and to_str to disambiguate.
- dom0 10y agoencode/decode were likely not changed from Py2 to make porting easier. Otherwise it would likely have been to_bytes and str.from_bytes - much like "int" in Py3 with to_bytes and int.from_bytes.