-
Notifications
You must be signed in to change notification settings - Fork 95
SyntaxError of global declaration don't stop program #72
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
If this issue is valid, can I take it? |
Interesting, that behaviour has changed from python3.4 to python3.7 Gpython is following python3.4 for the moment so it should be generating a SyntaxWarning
Happy to have help, so yes! |
@ncw There are also some people(4-5) who want to contribute gpython project for the first time. And I am going to assign issues to them with |
cc @sbinet |
Fantastic news @corona10 - what a great project! Ping me on an issue if you need help :-) |
and welcome in the wonderful world of mentoring :) |
Generate SyntaxError instead of SyntaxWarning if global declaration is for priviously used variable Fixes go-python#72
* Generate SyntaxError of global declaration Generate SyntaxError instead of SyntaxWarning if global declaration is for priviously used variable Fixes #72 * Modify symtable test
This code generate syntax error, but gpython doesn't stop program
Expected Result
Actual Result
2019/09/09 00:08:36 name 'a' is assigned to before global declaration 3 7
SyntaxError in python3 is Error, not warning. So I think it should be modified.
The text was updated successfully, but these errors were encountered: