[issue32911] Doc strings omitted from AST

Mark Shannon report at bugs.python.org
Thu Feb 22 07:47:02 EST 2018


Mark Shannon <mark at hotpy.org> added the comment:

That issue has to do with bytecode generation, not the AST.

The AST should be an accurate representation of the Python source code.
Making a better representation of the source would be fine, but this makes it worse.

Doc-strings may be semantically distinct from other expressions, but they are syntactically the same.

----------

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


More information about the Python-bugs-list mailing list