-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
compile_command exec not raising syntax error with new PGEN Parser #84765
Comments
compile_command used to produce syntax error in exec mode:
This happens to not be the case anymore in master, where it simply return
or many other:
It is problematic as this is used in many places to decide whether code is valid, and for example in IPython to know wether we should insert a new line, or try to execute the code. It seem to be due to the new PGEN parser as setting PYTHONOLDPARSER solve the issue:
|
Let's analyze this here rather than in bpo-40334 (which is getting top-heavy :-). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: