A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-March/087860.html below:

[Python-Dev] Partial 2to3?

[Python-Dev] Partial 2to3? [Python-Dev] Partial 2to3?Benjamin Peterson benjamin at python.org
Sat Mar 28 02:09:44 CET 2009
2009/3/27 Collin Winter <collinw at gmail.com>:
> 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.

In addition you can use the -x option to not run a set of fixers.



-- 
Regards,
Benjamin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4