bpo-37500: Make sure dead code does not generate bytecode but also detect syntax errors by pablogsal · Pull Request #14612 · python/cpython
pablogsal
changed the title
bpo-37500: Revert commit 85ed1712e428f93408f56fc684816f9a85b0ebc0
bpo-37500: Make sure bytecode for always false conditional is not emmited
…tted 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. Add a specific tests for dead blocks being optimized.
pablogsal
changed the title
bpo-37500: Make sure bytecode for always false conditional is not emmited
bpo-37500: Make sure dead code does not generate bytecode
pablogsal
changed the title
bpo-37500: Make sure dead code does not generate bytecode
bpo-37500: Make sure dead code does not generate bytecode but also detect syntax errors
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Jul 15, 2019miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Jul 29, 2019This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters