A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-January/131330.html below:

Add bytes % args and bytes.format(args) to Python 3.5

[Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5 [Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5Ethan Furman 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.

--
~Ethan~
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4