This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients Ilya Kamenshchikov, eric.smith
Date 2019-06-06.20:42:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559853740.64.0.688688930272.issue37182@roundup.psfhosted.org>
In-reply-to
Content
There was a recent discussion about this on the bug tracker, but of course now I can't find it. But for an earlier discussion, see issue 25885.

The decision was that your expectation that the nodes be distinguishable isn't a design goal of the ast. There's no expectation that code can round-trip through the ast and produce the original text, even for a string.
History
Date User Action Args
2019-06-06 20:42:20eric.smithsetrecipients: + eric.smith, Ilya Kamenshchikov
2019-06-06 20:42:20eric.smithsetmessageid: <1559853740.64.0.688688930272.issue37182@roundup.psfhosted.org>
2019-06-06 20:42:20eric.smithlinkissue37182 messages
2019-06-06 20:42:20eric.smithcreate