A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-May/079292.html below:

[Python-Dev] Tool for converting %-formatting to .format()ing ?

[Python-Dev] Tool for converting %-formatting to .format()ing ? [Python-Dev] Tool for converting %-formatting to .format()ing ?"Martin v. Löwis" martin at v.loewis.de
Sat May 10 01:18:23 CEST 2008
> Is there a tool available that can convert 2.x code automagically
> to the .format() method syntax ?
> 
> Just did a quick grep of our code base and it has some 2000 lines of code
> that would need to be changed.

Why do you think this code needs to change?

I'd leave all the code as-is, and might not start using .format before
Python 3.2, unless some coding convention says I have to.

Regards,
Martin

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