GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • [ date ]
  • [ thread ]
  • [ subject ]
  • [ author ]

This view

  • Original page
  • New address

GeezerVison is showing mail.python.org — [Python-Dev] Tool for converting %-formatting to .format()ing ?

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

Bill Janssen janssen at parc.com
Fri May 9 19:06:07 CEST 2008

  • Previous message: [Python-Dev] Tool for converting %-formatting to .format()ing ?
  • Next message: [Python-Dev] Tool for converting %-formatting to .format()ing ?
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

> On 2008-05-09 15:29, skip at pobox.com wrote:
> >     mal> Is there a tool available that can convert 2.x code automagically
> >     mal> to the .format() method syntax ?
> > 
> >     mal> Just did a quick grep of our code base and it has some 2000 lines
> >     mal> of code that would need to be changed.
> > 
> > I suggested a 2to3 fixer for this but was shot down.
> 
> Well, ideally such a tool should address 2to2 :-)

The curse of back-porting...  I, too, would find such a tool helpful;
I've got a thousand lines of %-formatting use just in UpLib alone.

Bill

  • Previous message: [Python-Dev] Tool for converting %-formatting to .format()ing ?
  • Next message: [Python-Dev] Tool for converting %-formatting to .format()ing ?
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the Python-Dev mailing list
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.