[Python-Dev] PEP 461 - Adding % and {} formatting to bytes
Eric V. Smith
eric at trueblade.com
Fri Jan 17 20:11:26 CET 2014
More information about the Python-Dev mailing list
Fri Jan 17 20:11:26 CET 2014
- Previous message: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes
- Next message: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 01/17/2014 02:04 PM, Glenn Linderman wrote: > 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. Maybe that's the best advice to give. It's better than my earlier example of field-at-a-time encoding. Eric.
- Previous message: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes
- Next message: [Python-Dev] PEP 461 - Adding % and {} formatting to bytes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list