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 brett.cannon
Recipients benjamin.peterson, brett.cannon, georg.brandl, myronww, ncoghlan
Date 2015-12-16.21:18:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450300733.99.0.894431464804.issue25885@psf.upfronthosting.co.za>
In-reply-to
Content
Two things. One, this won't change in Python 2.7 due to compatibility, so this only applies to Python 3.6. Two, the AST has not been designed to support round-trip syntax transpiling, e.g. there is no way to get back comments in the source code.

Because the AST is not meant to round-trip on source code I'm going to close this as "not a bug" since I don't see any benefit in supporting this even if we gain comment nodes in the AST.
History
Date User Action Args
2015-12-16 21:18:54brett.cannonsetrecipients: + brett.cannon, georg.brandl, ncoghlan, benjamin.peterson, myronww
2015-12-16 21:18:53brett.cannonsetmessageid: <1450300733.99.0.894431464804.issue25885@psf.upfronthosting.co.za>
2015-12-16 21:18:53brett.cannonlinkissue25885 messages
2015-12-16 21:18:53brett.cannoncreate