[issue3182] 2to3 Slight Patch

Collin Winter report at bugs.python.org
Mon Jul 14 02:20:31 CEST 2008


Collin Winter <collinw at gmail.com> added the comment:

So, revisiting this...

On the face of it, I'm not convinced that the isinstance(x, Leaf) ->
type(x) is Leaf changes are correct: certain fixers have in the past
utilized their own subclasses of Node, and I can foresee this being done
again in the future. Reverting those changes seems to remove the speedup
you observed.

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


More information about the Python-bugs-list mailing list