Message390807
> FYI, probably unavoidable, but this appears to have broken pytest https://github.com/pytest-dev/pytest/issues/8539
What's the problem? alias objects *have* lineno argument:
>>> print(ast.dump(ast.parse("from x import y"), include_attributes=True, indent=4))
Module(
body=[
ImportFrom(
module='x',
names=[
alias(
name='y',
lineno=1,
col_offset=14,
end_lineno=1,
end_col_offset=15)],
level=0,
lineno=1,
col_offset=0,
end_lineno=1,
end_col_offset=15)],
type_ignores=[]) |
|
Date |
User |
Action |
Args |
2021-04-11 23:01:03 | pablogsal | set | recipients:
+ pablogsal, gvanrossum, lys.nikolaou, BTaskaya, hauntsaninja, matthew.suozzo |
2021-04-11 23:01:03 | pablogsal | set | messageid: <1618182063.17.0.833808516816.issue43798@roundup.psfhosted.org> |
2021-04-11 23:01:03 | pablogsal | link | issue43798 messages |
2021-04-11 23:01:03 | pablogsal | create | |
|