2009/11/9 Benjamin Peterson <benja...@python.org>: > Not to my knowledge. I would prefer to not add a fixer for this > directly to 2to3 because it is not correct for most programs. However, > I think 2to3 should grow some sort of plugin system, so custom fixers > can easily be written and used.
Well, 2to3 is only plugins, so. :) The difficulty in writing fixers is understanding the abstract parse tree or whatever it's called and how to use it. Documentation on that for people who don't have a doctorate in computer linguistics would probably be a good idea. ;) -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64 _______________________________________________ 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