New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>: Proposed PR refactors existing tests for the f_lineno setter and adds few new tests. This will help to avoid regressions in issue17611.
I have found that some illegal jumps are not prohibited. They can lead to crashes or weird behavior. For example jumps to or from the bare except block. This will be fixed in a separate issue. ---------- components: Tests messages: 308959 nosy: serhiy.storchaka priority: normal severity: normal status: open title: Refactor and add new tests for the f_lineno setter type: enhancement versions: Python 2.7, Python 3.6, Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32416> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com