Skip to content

[3.8] bpo-37500: Make sure dead code does not generate bytecode but also detect syntax errors (GH-14612) #14780

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

Closed

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 15, 2019

https://bugs.python.org/issue37500

Add a new field to the compiler structure that allows to be configured
so no bytecode is emitted. In this way is possible to detect errors by
walking the nodes while preserving optimizations.

https://bugs.python.org/issue37500
(cherry picked from commit 18c5f9d)

Co-authored-by: Pablo Galindo [email protected]

https://bugs.python.org/issue37500

…tect syntax errors (pythonGH-14612)

https://bugs.python.org/issue37500

Add a new field to the compiler structure that allows to be configured
so no bytecode is emitted. In this way is possible to detect errors by
walking the nodes while preserving optimizations.

https://bugs.python.org/issue37500
(cherry picked from commit 18c5f9d)

Co-authored-by: Pablo Galindo <[email protected]>
@vstinner
Copy link
Member

#14612 (comment)

@vstinner vstinner closed this Jul 15, 2019
@miss-islington miss-islington deleted the backport-18c5f9d-3.8 branch July 15, 2019 09:16
@miss-islington
Copy link
Contributor Author

@pablogsal: Status check is done, and it's a failure ❌ .

2 similar comments
@miss-islington
Copy link
Contributor Author

@pablogsal: Status check is done, and it's a failure ❌ .

@miss-islington
Copy link
Contributor Author

@pablogsal: Status check is done, and it's a failure ❌ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants