[issue3358] 2to3 Iterative Wildcard Matching

Benjamin Peterson report at bugs.python.org
Mon Jul 28 02:13:04 CEST 2008


Benjamin Peterson <musiccomposition at gmail.com> added the comment:

On Sun, Jul 27, 2008 at 6:07 PM, Collin Winter <report at bugs.python.org> wrote:
>
> Collin Winter <collinw at gmail.com> added the comment:
>
> One option would be to use the faster recursive version, falling back to
> the iterative version if you hit a "RuntimeError: maximum recursion
> depth exceeded" error. This would keep the speed for most files, but
> would allow 2to3 to parse files like the one in issue 2532.

Sounds fine to me. I think we should provide a command line switch, too

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

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


More information about the Python-bugs-list mailing list