Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

ISTM the whole point of an Abstract Syntax Tree is to express semantics while 
throwing away the syntax details.  The only reason any position information is 
kept is to support tracebacks and debugging.  

Perhaps the OP's request should changed to "add function to concrete parse 
trees to show structure while preserving all the input detail returned by 
tokenize."

----------
nosy: +rhettinger

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

Reply via email to