[Python-Dev] 2to3 and timestamps

Antoine Pitrou solipsis at pitrou.net
Fri Dec 9 17:46:31 CET 2011

On Fri, 09 Dec 2011 17:38:56 +0100
Éric Araujo <merwok at netwok.org> wrote:
> Hi,
> When running 2to3 from a setup.py script, does it run on the whole
> codebase or only files that are found newer by the make-like
> timestamp-based dependency system?  If it’s the former, as some messages
> seem to show (sorry no time to test right now), ISTM we can fix
> distutils to do the latter (unless there are bugs due to import
> rewriting to use explicit relative imports when there are extension
> modules—blergh).

It would be better to teach 2to3 to do it by itself. Not everybody runs
2to3 through a setup.py script.



More information about the Python-Dev mailing list