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

Ivan Levkivskyi report at bugs.python.org
Fri Apr 6 20:18:20 EDT 2018


Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:

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

I didn't look carefully but superficially it looks reasonable, so it is worth trying.

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

I think this is unlikely because it affects some public APIs.

----------

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


More information about the Python-bugs-list mailing list