Opened 3 years ago

Closed 3 years ago

#725 closed defect (fixed)

Invalid control flow analysis for multiple except clauses.

Reported by: robertwb Owned by: vitja
Priority: major Milestone: 0.15.1
Component: Code Generation Keywords:
Cc:

Description

Consider

def unused_except_capture():
    """
    unused_except_capture()
    """
    try:
        raise ValueError
    except TypeError, s:
        raise TypeError
    except ValueError, s:
        raise TypeError

which tries to decref s (=NULL) in the second control block.

Change History (6)

comment:2 Changed 3 years ago by vitja

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 3 years ago by vitja

  • Milestone changed from wishlist to 0.15.1

comment:4 Changed 3 years ago by scoder

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:5 Changed 3 years ago by scoder

  • Owner changed from somebody to vitja
  • Status changed from reopened to new

comment:6 Changed 3 years ago by scoder

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