[issue24119] Carry comments with the AST

Raymond Hettinger report at bugs.python.org
Sat Jan 12 23:18:40 EST 2019


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Since the AST carries the module/lineno attributes isn't there already a way trace back into the token stream to recover comments?

----------

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


More information about the Python-bugs-list mailing list