This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ChenXuan
Recipients ChenXuan
Date 2021-01-13.12:57:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610542676.59.0.693705484765.issue42925@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2021-01-13 12:57:56ChenXuansetrecipients: + ChenXuan
2021-01-13 12:57:56ChenXuansetmessageid: <1610542676.59.0.693705484765.issue42925@roundup.psfhosted.org>
2021-01-13 12:57:56ChenXuanlinkissue42925 messages
2021-01-13 12:57:56ChenXuancreate