Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

The main problem was with the frame.f_lineno setter. I have finally solved it 
in PR 5006. It solves also the regression in the with statement mentioned in 
msg307577 (by just restoring the original SETUP_WITH), and some other minor 
issues which I forgot.

Tests for the frame.f_lineno setter are provided in issue32416. I want to 
backport these changes and add new tests in PR 5006 (which allows to catch more 
illegal jumps than the current code), thus a separate issue. PR 2827 and PR 
4682 crash with these tests.

Additionally PR 5006 may fix several issues with stack size calculation. I'll 
add tests later if there are reproducers.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue17611>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to