[issue7826] support caching for 2to3

Brian Harring report at bugs.python.org
Mon Feb 1 04:22:53 CET 2010


Brian Harring <ferringb at gmail.com> added the comment:

@martin:

Yeah... that's probably the better approach, although seperation of processes (in terms of setup.py triggering conversion) has some benefits.

The reason I used process seperation and invocation of main was to protect my distutils extensions against having to know the innards of lib2to3- either it could invoke the normal 2to3 or invoke the caching version for the buildslaves.  Essentially I wanted the caching version to behave the same as normal 2to3 invocations.

Not great I'll admit, but so it goes.  I'd still like to see the caching integrated in some form w/in stdlib since it has definite benefits- and folk are more likely to use something from stdlib than go raiding from a backwater pkg like snakeoil.  That said, we'll see what folks think ;)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7826>
_______________________________________


More information about the Python-bugs-list mailing list