STINNER Victor added the comment:

"Would adding proper storage of syntax information in the AST cause performance 
issues?"

Exactly. And storing syntax information is useless for 90% of usages of AST. So 
Python is optimized for the most common cases.

Again, use a different project (like RedBaron) if you need *all* information in 
the AST.

----------

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

Reply via email to