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

Ethan Smith report at bugs.python.org
Thu Apr 5 19:41:50 EDT 2018


Ethan Smith <ethan at ethanhs.me> added the comment:

I have a branch with an implementation of my suggestion here: https://github.com/ethanhs/cpython/tree/decorlineno

I was hoping to see if this was seen as a reasonable patch that might be accepted.


Also, while I think it would be nice, I take it a patch for this would be unlikely to be backported, right?

----------

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


More information about the Python-bugs-list mailing list