bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.#5071
Closed
markshannon wants to merge 12 commits intopython:masterfrom
Closed
bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.#5071markshannon wants to merge 12 commits intopython:masterfrom
markshannon wants to merge 12 commits intopython:masterfrom
Conversation
…nally blocks. Potential bug pointed out by Neil Schemenauer.
… for correct compiliation of with statement.
…ode as it is now fully synonymous with SETUP_EXCEPT.
…ocks. Fixes bpo-24340.
bb69075 to
400d574
Compare
Member
|
It looks like the build core dumped on Travis-CI. There's also a build issue on AppVeyor (perhaps related to |
Member
|
The build error can be fixed by moving wordcode_helpers.h into Include. Then change "Python/wordcode_helpers.h" in frameobject.c to "wordcode_helpers.h". The current code doesn't compile if your build directory is not in the top-level source directory. The following code causes a weird error in traceback.py: |
Member
Author
This 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See bpo-17611 for detailed discussion.
This PR:
PyTryBlockreducing the size of a frame by 80 bytes.This PR is not yet ready for merging as it does not include a misc.news entry, updates to Docs/library/dis.rst and the
dismodule tests fail.If it is agreed that this is to be merged, then I will fill in the missing parts.
There are also a couple of further improvements that I would like to make, but have intentionally omitted. I intend to add them in separate PRs:
LOAD_ADDRwithLOAD_CONSTin the peephole optimiser.https://bugs.python.org/issue17611