bytes vs. characters
bytes vs. characters
Posted Apr 23, 2015 22:07 UTC (Thu) by dlang (guest, #313)In reply to: bytes vs. characters by marcH
Parent article: Report from the Python Language Summit
they are only invalid if you decide ahead of time that they are supposed to be UTF8 strings.
the spec allows them to be a string of bytes (excluding null and /), no encoding is required.
