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/131323.html below:

[Python-Dev] PEP 460: allowing %d and %f and mojibake

[Python-Dev] PEP 460: allowing %d and %f and mojibake [Python-Dev] PEP 460: allowing %d and %f and mojibakeGreg Ewing greg.ewing at canterbury.ac.nz
Sun Jan 12 23:12:35 CET 2014
Ethan Furman wrote:
> Your asciistr, which sometimes returns bytes and sometimes returns text, 
> is absolutely *not* what we want.

The kind of third-party thing that *might* fill the bill
would be a *function*:

    bytesformat(b"Content-Length: %d", length)

that implements all the %-specifiers we're asking for.

-- 
Greg
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