[New-bugs-announce] [issue32416] Refactor and add new tests for the f_lineno setter

Serhiy Storchaka report at bugs.python.org
Sat Dec 23 12:14:03 EST 2017


New submission from Serhiy Storchaka <storchaka+cpython at 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 <report at bugs.python.org>
<https://bugs.python.org/issue32416>
_______________________________________


More information about the New-bugs-announce mailing list