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 -C . a1.py environment: Linux 5.8.0-36-generic #40~20.04.1-Ubuntu SMP version: python3.10.0a4 ---------- files: a1.py messages: 385023 nosy: ChenXuan priority: normal severity: normal status: open title: Error trace of else inside class versions: Python 3.10 Added file: https://bugs.python.org/file49740/a1.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42925> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com