Skip to content

Commit

Permalink
Mention that people going the source compatibility route should run 2…
Browse files Browse the repository at this point in the history
…to3 to find pain points.
  • Loading branch information
brettcannon committed Feb 5, 2011
1 parent 45aa7cc commit 98135d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Doc/howto/pyporting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,9 @@ to creating a Python 2/3 codebase. This includes trying only support Python 2.6
or newer (the :mod:`__future__` statements work in Python 3 without issue),
eliminating warnings that are triggered by ``-3``, etc.

Essentially you should cover all of the steps short of running 2to3 itself.
You should even consider running 2to3_ over your code (without committing the
changes). This will let you know where potential pain points are within your
code so that you can fix them properly before they become an issue.


Use six_
Expand Down

0 comments on commit 98135d0

Please sign in to comment.