A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-October/092542.html below:

[Python-Dev] transitioning from % to {} formatting

[Python-Dev] transitioning from % to {} formatting [Python-Dev] transitioning from % to {} formattingBrett Cannon brett at python.org
Sun Oct 4 00:32:48 CEST 2009
On Sat, Oct 3, 2009 at 15:27, Vinay Sajip <vinay_sajip at yahoo.co.uk> wrote:
> Brett Cannon <brett <at> python.org> writes:
>
>> Why don't we start something in the sandbox and see how far we can
>> get. If no one beats me to it I will add the directory some time today
>> and we can start hashing out the solution there.
>>
>
> I've done a first cut of a converter from %-format to {}-format strings. I'm not
> sure where you want to put it in the sandbox, I've created a gist on GitHub:
>
> http://gist.github.com/200936
>
> Not thoroughly tested, but runs in interactive mode so you can try things out.
> All feedback appreciated!

I mentioned it in the README. We now have two separate attempts at
converting from % to {}. If people are serious about this we should
start to work on a single implementation.

-Brett
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4