New submission from Myron Walker:

ast module is combining string literals that are concatenated with plus 
operator into a single string in the parsestrplus module rather than 
maintaining the true syntax tree of the original document.

The fact that ast combines strings and does not maintain the original syntax of 
the document means that original syntax information is lost and a writer 
walking the abstract syntax tree is unable to reproduce the original syntax
of the document.

----------
components: Interpreter Core
messages: 256533
nosy: Myron Walker
priority: normal
severity: normal
status: open
title: ast module is combining string literals that are concatenated with plus 
operator
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25886>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to