[issue42925] Error trace of else inside class

2021-01-21 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42925] Error trace of else inside class

2021-01-15 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +23047 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24222 ___ Python tracker ___ ___

[issue42925] Error trace of else inside class

2021-01-14 Thread Mark Shannon
Mark Shannon added the comment: It's a bug. -- assignee: -> Mark.Shannon ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42925] Error trace of else inside class

2021-01-13 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: +Mark.Shannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue42925] Error trace of else inside class

2021-01-13 Thread ChenXuan
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 bug or feature? -- _

[issue42925] Error trace of else inside class

2021-01-13 Thread ChenXuan
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 trace --count