[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 ___ ___ Pytho

[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: https://ma

[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) "Module(body=[Expr(val

[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: https://mail.

[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 li

[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: https://mail

[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 int

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

2015-03-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[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 t

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

2014-07-16 Thread Claudiu Popa
Changes by Claudiu Popa : -- nosy: +Claudiu.Popa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

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

2014-07-16 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

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

2014-07-16 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo, nedbat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[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