Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 98135d0

Browse files
committed
Mention that people going the source compatibility route should run 2to3 to find pain points.
1 parent 45aa7cc commit 98135d0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Doc/howto/pyporting.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,9 @@ to creating a Python 2/3 codebase. This includes trying only support Python 2.6
596596
or newer (the :mod:`__future__` statements work in Python 3 without issue),
597597
eliminating warnings that are triggered by ``-3``, etc.
598598

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

601603

602604
Use six_

0 commit comments

Comments
 (0)