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

2019-12-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___

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

2019-12-01 Thread Batuhan
Batuhan added the comment: IMHO there are no need to keep this issue open according to opinions of core developers, so can this be closed or it needs more discussion (which i prefer to do on mailing lists)? -- nosy: +BTaskaya ___ Python tracker

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

2019-07-28 Thread Giovanni Cappellotto
Change by Giovanni Cappellotto : -- nosy: +potomak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-07-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In general case the AST does not preserve detailed information about all syntactic elements. For example in the AST for `a + b` does not include lineno and col_offset for "+". >>> ast.dump(ast.parse('a + b'), include_attributes=True)

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

2019-07-14 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-07-14 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +inada.naoki, pablogsal, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing

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

2019-07-13 Thread Milan Oberkirch
Milan Oberkirch added the comment: Is there a reason for this still being open? /me trying to find issues to work on using [random issue] -- nosy: +zvyn ___ Python tracker

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

2019-03-15 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2015-03-07 Thread Mark Shannon
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

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

2015-03-07 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21992 ___ ___ Python-bugs-list

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

2015-03-07 Thread Mark Lawrence
Mark Lawrence added the comment: The referenced issue1659410 has been closed as too late. Does that also apply here or is this still considered to be a valid enhancement request? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 2.7 ___ Python

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

2014-07-16 Thread Igor Bronshteyn
New submission from Igor Bronshteyn: Quoting Collin Winter: I'd like there to be an Else() node for If.orelse, While.orelse, etc. My motivation is that I need the lineno and col_offset values of the else statement for a code-coverage utility; as it is, I have to find the last lineno of the

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

2014-07-16 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- nosy: +haypo, nedbat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21992 ___ ___

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

2014-07-16 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21992 ___ ___

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

2014-07-16 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- nosy: +Claudiu.Popa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21992 ___ ___ Python-bugs-list