-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Better reporting for non-keyword arg syntax error #356
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
Comments
Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt): can reproduce on python3.2, seems like a bug in ast |
Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt): i identified it as a bug in python, there seems to be no reasonable workaround |
Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt): according to http://bugs.python.org/issue11441 it is no longer a issue |
Originally reported by: Wayne Werner (BitBucket: waynew, GitHub: waynew)
When running pytest I got this error:
E SystemError: ../Objects/tupleobject.c:143: bad argument to internal function
Which was quite confusing. After searching, I found issue #154, which led me to find the actual issue - that I was getting this error:
SyntaxError: non-keyword arg after keyword arg
It seems that there might be an issue in general with SyntaxError handling within pytest - though I haven't looked through the source to see if there's a better way to handle that.
The text was updated successfully, but these errors were encountered: