[issue42925] Error trace of else inside class
ChenXuan <522169...@qq.com> added the comment: another example: if 1 < 10: b = 1 if 0: a = 1 else: a = 1 output: 1: if 1 < 10: 1: b = 1 1: if 0: 1: a = 1 else: a = 1 Is this a bu
[issue42925] Error trace of else inside class
New submission from ChenXuan <522169...@qq.com>: Hi, python3.10 seems to give wrong trace here: class A: if 3 < 9: a = 1 else: a = 2 result: 2: class A: 1:if 3 < 9: 1: a = 1 else: 1: a = 2 command: python3.10 -m t