[issue33211] lineno and col_offset are wrong on function definitions with decorators

Serhiy Storchaka report at bugs.python.org
Tue Apr 3 03:50:28 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

See how similar issue was solved in Pyflakes: https://github.com/PyCQA/pyflakes/pull/273.

Python tests also needed special workaround, see Lib/test/test_sys_settrace.py and issue17288.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33211>
_______________________________________


More information about the Python-bugs-list mailing list