[issue32911] Doc strings no longer stored in body of AST

2018-04-12 Thread Francis Herne
Francis Herne <m...@flherne.uk> added the comment: Note: Because this also applies to module-level docstrings, a rather strange effect that, for example, `ast.parse("'foo'")` is now an empty module. While the root node is always an instance of `ast.Module`, in practice `ast.p

[issue39579] Attribute node in a decorator has wrong end_col_offset

2020-07-01 Thread Francis Herne
Francis Herne added the comment: Sorry, on further inspection it was the other AST range change https://bugs.python.org/issue39474 , not this one. -- ___ Python tracker <https://bugs.python.org/issue39

[issue39579] Attribute node in a decorator has wrong end_col_offset

2020-07-01 Thread Francis Herne
Francis Herne added the comment: Note: this change causes a regression in kdev-python because our code was based on (and worked around) the long-standing previous behaviour; it produces broken results given the 'fixed' offset. I shall have to write a patch with a version-check before our