> On 2008-05-09 15:29, [EMAIL PROTECTED] 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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com