[Python-Dev] PEP 460: allowing %d and %f and mojibake
v+python at g.nevcal.com
Mon Jan 13 00:04:56 CET 2014
On 1/12/2014 2:57 PM, Stephen J. Turnbull wrote:
> > But bytes already acknowledges an ASCII bias.
> True, but that bias is implemented without use of encoding or
> decoding. b'%d' % (123,) -> b'123' does require encoding, at the
> very least in the sense of type change and serialization.
b'%d' all by itself, even before using the % operator, does require
encoding, at the very list in the sense of type change and serialization.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev