[Python-ideas] format specifier for "not bytes"
dholth at gmail.com
Fri Aug 24 21:21:15 CEST 2012
On Fri, Aug 24, 2012 at 3:07 PM, Steven D'Aprano <steve at pearwood.info> wrote:
> On 25/08/12 04:57, Daniel Holth wrote:
> I'm not entirely sure what you are responding to here -- the context is
> lost when you top post like that. I'm *guessing* that you are responding
> to Antoine's advice to use concatenation.
I am only trying to say that I like using the string formatting
operations and I think I am justified in using them instead of
concatenation. I was merely surprised by the implicit bytes to
"b'string'" conversion, and would like to be able to turn it off.
do not have a .format() method.
> If so, why do you think that concatenation is "pretending" to be using
More information about the Python-ideas