[Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5
ethan at stoneleaf.us
Sun Jan 12 23:40:52 CET 2014
On 01/12/2014 02:31 PM, Stephen J. Turnbull wrote:
> This corrupts binary_image_data. Each byte > 127 will be replaced by
> two bytes. In the second case, you can use latin1 to encode, it it
> gives you what you want.
> This kind of subtlety is precisely why MAL warned about use of latin1
> to smuggle bytes.
And why I've been fighting Steven D'Aprano on it.
More information about the Python-Dev