[Python-Dev] PEP 461 Final?
Mark Lawrence
breamoreboy at yahoo.co.uk
Fri Jan 17 19:19:57 CET 2014
On 17/01/2014 17:46, Neil Schemenauer wrote:
>
> I think we should use %b instead of %s. In that case, I'm fine with
> %b not accepting numbers. Using %b clearly indicates we are
> inserting arbitrary bytes. It also proves a useful code review step
> when translating from Python 2.x.
>
Using %b could cause problems in the future as b is used in new style
formatting to mean output numbers in binary, so %B seems to me the
obvious choice as it's also unused.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Python-Dev
mailing list