-
Notifications
You must be signed in to change notification settings - Fork 0
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
Syntax error in printers when python 3 is used #1
Comments
On Fri, Apr 17, 2015 at 2:46 PM, gberginc [email protected] wrote:
Hi Gregor, I'm replying also to the OSv mailing list, because I don't think And now to the point: printers.py is part of gcc, not OSv. I think the mistake here (and this is I'll prepare a patch. Nadav Har'El |
While trying to use GDB to debug an OSv instance that hangs with an undefined syscall, I got a strange syntax error:
Although my default python is 2.7, GDB seems to be linked with python 3.4 causing a problem: python 3 does not support tuples when raising exceptions anymore.
Patch is rather trivial and requires changing this pattern on several places inside printers.py, like in this gist. Not sure how to submit the patch (either as a pull request or to the mailing list).
The text was updated successfully, but these errors were encountered: