Mark Shannon added the comment: I would say yes, it is too late. Any change to the AST is a breaking change.
The current AST is full of missing line numbers, incorrect column offsets and other inconsistencies. To fix them all would be a major undertaking with no obvious benefit to the core interpreter. If you are interested in implementing a parser with proper location information, I would suggest discussing it on the code-quality mailing list: https://mail.python.org/mailman/listinfo/code-quality ---------- nosy: +Mark.Shannon _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21992> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com