[Python-ideas] Stop displaying elements of bytes objects as printable ASCII characters in CPython 3
Cory Benfield
cory at lukasa.co.uk
Wed Sep 10 17:05:17 CEST 2014
On 10 September 2014 15:48, Barry Warsaw <barry at python.org> wrote:
> That's the nature of wire protocols - they're like quantum particles,
> exhibiting both bytes-like and string-like behavior. You can't look too
> closely, and they have spooky action at a distance too. For the email
> protocols at least, you also have mind-crushing singularities.
>
Well, it's the nature of *many* wire protocols. Binary protocols are
increasing in popularity at the moment, because it turns out that
"kinda-text-like" wire protocols are a nightmare to parse correctly.
Thus, the Python decision is great for SMTP and HTTP/1.1, and
infuriating for things like HTTP/2.
More information about the Python-ideas
mailing list