[Python-Dev] PEP 460 reboot

Eric V. Smith eric at trueblade.com
Mon Jan 13 21:24:12 CET 2014
On 01/13/2014 03:09 PM, Guido van Rossum wrote:
> If we have %b for strictly interpolating bytes, I'm fine with adding
> %a for calling ascii() on the argument and then interpolating the
> result after ASCII-encoding it.
> 
> If somehow (unlikely though it seems) we end up keeping %s (e.g.
> strictly to ease porting), we could also keep %r as an alias for %a.

Wouldn't %s as an alias for %b simplify porting from Python 2?




More information about the Python-Dev mailing list