On Sep 26, 10:57 pm, "Peter Bulychev" <
peter.bulyc...@gmail.com>
wrote:
> Clone Digger tried to highlight the differences on the Abstract Syntax Tree
> level. For some reason it failed (later I'll take a look why), and finally
> it highlighted differences using string-based diff algorithm.
I saw the code. I saw that the diff algorithm was used as a fallback.
I also saw that the traceback was printed by the script, on purpose.
If the fallback method is the normal thing that can happen in such
situations, I'm fine with it. Perhaps it would be better to not show
the traceback to the user then. But since the traceback was printed
manually, I've considered that it plays the role of a trace in the
code (to help identify potential problems that could occur during
highlighting). That's why I took some time to provide a reasonably
small code snippet that you could use to reproduce the traceback and
look into the problem.