Ticket #725 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Changed 3 years ago by vitja

  • status changed from new to closed
  • resolution set to fixed

Changed 3 years ago by vitja

  • milestone changed from wishlist to 0.15.1

Changed 3 years ago by scoder

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 3 years ago by scoder

  • owner changed from somebody to vitja
  • status changed from reopened to new

Changed 3 years ago by scoder

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