-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comparing python sources doesn't work on Windows #151
Comments
ok thanks for the BR. Just for info you can use the docker image of Gumtree on windows that will resolve this problem. Also, the python parser is not very good and have not been really tested, unfortunately. |
I am tagging this help wanted since I do not have a Windows machine ;) |
And well there might be a good parser here : https://github.com/davidhalter/parso (posting this here to remember the link) |
No, I cannot.
It may be. But I don't understand why do you think that just |
For instance this : gristlabs/asttokens#27 |
Is there a version of gumtree using the parso parser? The current python parser cannot handle a few python files in my current project. |
Maybe the reason of failures is that ASTs on python2 and pyton3 are different. I changed the pythonparser module to python3, it can fix some failures, but it fails on some other python files. |
@lavenzg I have updated pythonparser a bit to simplify the code and to have it produce a XML directly compatible with gumtree. Could you show me how I can change asttokens to parso? A pull-request would be great :) |
ok all, we have now parso backed python parser, therefore I will close all python related issues, post new issues for the matter of python integration in GumTree. |
I have tried to overcome that with a cmd script put into various dirs without any success.
The text was updated successfully, but these errors were encountered: