Message256538
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. |
|
Date |
User |
Action |
Args |
2015-12-16 21:50:51 | myronww | set | recipients:
+ myronww, brett.cannon, georg.brandl, ncoghlan, benjamin.peterson, r.david.murray |
2015-12-16 21:50:51 | myronww | set | messageid: <1450302651.48.0.407355898738.issue25885@psf.upfronthosting.co.za> |
2015-12-16 21:50:51 | myronww | link | issue25885 messages |
2015-12-16 21:50:51 | myronww | create | |
|