Carl Friedrich Bolz-Tereick pushed to branch branch/py3.9 at PyPy / pypy


Commits:
68230991 by Carl Friedrich Bolz-Tereick at 2021-10-28T21:27:46+02:00
start working on the new 3.9 bytecode for finally, which works by duplicating
every finally block twice

--HG--
branch : py3.9-bytecode-changes

- - - - -
9ae19547 by Carl Friedrich Bolz-Tereick at 2021-10-28T21:49:43+02:00
fix continue, fix lineno of try: statements

--HG--
branch : py3.9-bytecode-changes

- - - - -
61f9aced by Carl Friedrich Bolz-Tereick at 2021-10-28T22:13:20+02:00
setting the lineno on frames is broken again

--HG--
branch : py3.9-bytecode-changes

- - - - -
19edd49c by Carl Friedrich Bolz-Tereick at 2021-10-29T11:59:03+02:00
kill dead stuff, fix translation

--HG--
branch : py3.9-bytecode-changes

- - - - -
b1bdd344 by Carl Friedrich Bolz-Tereick at 2021-10-30T13:53:19+02:00
fix dict |=

--HG--
branch : py3.9-bytecode-changes

- - - - -
387a718a by Carl Friedrich Bolz-Tereick at 2021-10-30T13:55:54+02:00
be more precise in stacksize computation:

account for the effect of finally blocks more, this makes it possible to check
the stack depth being 0 on *all* returns, not just auto-generated ones

--HG--
branch : py3.9-bytecode-changes

- - - - -
719f6e1c by Carl Friedrich Bolz-Tereick at 2021-10-30T15:33:14+02:00
try to unbreak forking (not completely correct)

--HG--
branch : py3.9-bytecode-changes

- - - - -
846aed81 by Carl Friedrich Bolz-Tereick at 2021-10-30T16:32:53+02:00
new classmethod feature

--HG--
branch : py3.9-bytecode-changes

- - - - -
87ebe273 by Carl Friedrich Bolz-Tereick at 2021-10-30T17:25:27+02:00
fix line numbers of code *after* the copy of the finally block

--HG--
branch : py3.9-bytecode-changes

- - - - -
be542efe by Carl Friedrich Bolz-Tereick at 2021-10-30T20:50:53+02:00
also record negative line deltas, the format supports it and CPython does that
too

--HG--
branch : py3.9-bytecode-changes

- - - - -
b7873e90 by Carl Friedrich Bolz-Tereick at 2021-10-30T21:11:38+02:00
more cleverness in the cycle detection of exception chaining

--HG--
branch : py3.9-bytecode-changes

- - - - -
088ca640 by Carl Friedrich Bolz-Tereick at 2021-10-30T21:12:37+02:00
merge py3.9-bytecode-changes:

switch to the new approach to implementing finally by duplicating the code for
the finally: block

(merge the branch, I've started doing unrelated things there anyway and it
seems quite stable)

--HG--
branch : py3.9

- - - - -


18 changed files:

- lib-python/3/opcode.py
- pypy/interpreter/astcompiler/assemble.py
- pypy/interpreter/astcompiler/codegen.py
- pypy/interpreter/astcompiler/test/test_compiler.py
- pypy/interpreter/error.py
- pypy/interpreter/function.py
- pypy/interpreter/pyframe.py
- pypy/interpreter/pyopcode.py
- pypy/interpreter/test/apptest_function.py
- pypy/interpreter/test/apptest_pyframe.py
- pypy/interpreter/test/test_compiler.py
- pypy/interpreter/test/test_pyframe.py
- pypy/interpreter/test/test_raise.py
- pypy/module/thread/os_lock.py
- pypy/module/thread/test/test_lock.py
- pypy/objspace/std/dictmultiobject.py
- pypy/objspace/std/test/test_dictmultiobject.py
- pypy/tool/opcode3.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/8730d5c733c882b2cc7426ef8ca3468824b0e279...088ca640298ec627abe43f62d20455df06fc2f0a

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/8730d5c733c882b2cc7426ef8ca3468824b0e279...088ca640298ec627abe43f62d20455df06fc2f0a
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to