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 myronww
Recipients benjamin.peterson, brett.cannon, georg.brandl, myronww, ncoghlan, r.david.murray
Date 2015-12-16.21:50:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450302651.48.0.407355898738.issue25885@psf.upfronthosting.co.za>
In-reply-to
Content
The purpose of a syntax tree is to represent the syntax and not a final processed result of processing of syntax.  The current information stored for strings is losing syntax information which seems to defeat the purpose of offering the information in a syntax tree.  I filed a separate bug because it is also combining strings and losing operators for string literals.

   "Hello" + " World"

From the looks of the code, the above would result in one string type with "Hello World" and syntax information associated with the operator would be lost.

And as indicated, string type information is being lost as well.  The user of the AST then has no way of getting the lost syntax information back once it is lost.
History
Date User Action Args
2015-12-16 21:50:51myronwwsetrecipients: + myronww, brett.cannon, georg.brandl, ncoghlan, benjamin.peterson, r.david.murray
2015-12-16 21:50:51myronwwsetmessageid: <1450302651.48.0.407355898738.issue25885@psf.upfronthosting.co.za>
2015-12-16 21:50:51myronwwlinkissue25885 messages
2015-12-16 21:50:51myronwwcreate