2009/3/27 <s...@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 _______________________________________________ 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