[Python-Dev] PEP 461 - Adding % and {} formatting to bytes

Glenn Linderman v+python at g.nevcal.com
Fri Jan 17 20:04:56 CET 2014


On 1/17/2014 7:15 AM, Mark Lawrence wrote:
> For both options 1 and 2 surely you cannot be suggesting that after 
> people have written 2.x code to use format() as %f formatting is to be 
> deprecated, they now have to change the code back to the way they may 
> well have written it in the first place?

If they are committed to format(), another option is to operate in the 
Unicode domain, and encode at the end.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140117/4822a1ce/attachment-0001.html>


More information about the Python-Dev mailing list