Ralf Schmitt wrote: > > On Thu, Mar 20, 2008 at 1:30 PM, Lennart Regebro <[EMAIL PROTECTED]> wrote: > > > > On Thu, Mar 20, 2008 at 1:16 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> > wrote: > > > However, it *is* common to install Python code before running it. > > > > Not every time you make a change in the code. > > > > I also happen to have test code that will not be installed with python > setup.py install, so I would have to manually convert that.
What about using sys.path_hooks to run 2to3 on the fly at import time? It would cache its results, of course. -- Amaury Forgeot d'Arc _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com