[New-bugs-announce] [issue24119] Carry comments with the AST
report at bugs.python.org
Sun May 3 17:21:10 CEST 2015
New submission from Brett Cannon:
One thing about https://www.python.org/dev/peps/pep-0484/ is that it makes comments potentially semantically meaningful. Unfortunately the AST doesn't carry comments with it in any way, making it difficult to build a tool to implement a linter for PEP 484 using purely the ast module. Even if comments were carried along side-band and could do correlation by line number would be useful in this scenario.
I thought an issue had previously existed for this topic but I could find it.
components: Library (Lib)
stage: test needed
title: Carry comments with the AST
versions: Python 3.5
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce