[Python-Dev] readd u'' literal support in 3.3? (original) (raw)

Lennart Regebro regebro at gmail.com
Wed Dec 14 22:57:37 CET 2011


On Wed, Dec 14, 2011 at 17:33, Tres Seaver <tseaver at palladion.com> wrote:

Not in the experience of the folks who are actually doing that task:  the overhead of running 2to3 every time 'setup.py develop' etc. runs dooms the effort.  For instance, we have a report that the 2to3 step takes more than half an hour (on at least one user's development machine) when installing / refreshing zope.interface in a Python 3.2 virtualenv.

If that is true, then there has to be a bug somewhere... I might not have tried on 3.2 with virtualenv, but it doesn't take anywhere near that time normally, and this is not a normal runtime at all. When we are talking about 2to3 being slow here we are talking about it taking 10 seconds to install a software that would have taken under a second to install on Python 2. (Yes, I'm thinking of Distribute, I just checked. ;-) ).

//Lennart



More information about the Python-Dev mailing list