Message314906
| Author | emma_smith |
|---|---|
| Recipients | emma_smith, gforcada, serhiy.storchaka |
| Date | 2018-04-03.22:35:18 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1522794918.15.0.467229070634.issue33211@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
There is also a relevant mypy bug report https://github.com/python/mypy/issues/3871. This seems like a common problem for tools working on the AST. The relevant code seems to be https://github.com/python/cpython/blob/master/Python/ast.c#L1695. Would a possible solution be adding a decorated_lineno attribute to decorated ast nodes? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-04-03 22:35:18 | emma_smith | set | recipients: + emma_smith, serhiy.storchaka, gforcada |
| 2018-04-03 22:35:18 | emma_smith | set | messageid: <1522794918.15.0.467229070634.issue33211@psf.upfronthosting.co.za> |
| 2018-04-03 22:35:18 | emma_smith | link | issue33211 messages |
| 2018-04-03 22:35:18 | emma_smith | create | |