bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.#5071
bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter to compiler.#5071markshannon wants to merge 12 commits into
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
January 2, 2018 14:08
|
It looks like the build core dumped on Travis-CI. There's also a build issue on AppVeyor (perhaps related to |
Sorry, something went wrong.
|
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: |
Sorry, something went wrong.
Sorry, something went wrong.
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