Opened 5 years ago

Closed 5 years ago

#532 closed defect (fixed)

Constant folding can lead to incorrect results in conditions

Reported by: scoder Owned by: scoder
Priority: major Milestone: 0.13
Component: Code Generation Keywords:
Cc:

Description

if 1 != 2:
    print True
else:
    print False

could print "False".

Change History (1)

comment:1 Changed 5 years ago by scoder

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.