[Python-Dev] Partial 2to3?
Collin Winter
collinw at gmail.com
Fri Mar 27 22:36:20 CET 2009
2009/3/27 <skip at pobox.com>:
> Following up on yesterday's conversation about 2to3 and 3to2, I wonder if
> it's easily possible to run 2to3 with a specific small subset of its fixers?
> For example, people not wanting to make the 2->3 leap yet might still be
> interersted in the exception handling changes ("except Foo as exc")?
Sure, that's easily possible: run 2to3 -f
some_fixer,other_fixer,this_fixer,that_fixer. You can get a full list
of fixers using the --list-fixes option.
Collin Winter
More information about the Python-Dev
mailing list