[issue21992] New AST node Else() should be introduced

Mark Shannon report at bugs.python.org
Sat Mar 7 19:19:29 CET 2015


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 <report at bugs.python.org>
<http://bugs.python.org/issue21992>
_______________________________________


More information about the Python-bugs-list mailing list