Ticket #768 (closed defect: fixed)

Opened 13 months ago

Last modified 13 months ago

type inference can break 'del' statement

Reported by: scoder Owned by: vitja
Priority: major Milestone: 0.17
Component: Type Analysis Keywords:
Cc:

Description

This fails to compile:

def test():
    x = 1    # inferred as int
    del x    # error: Deletion of non-Python, non-C++ object

Change History

Changed 13 months ago by scoder

  • owner changed from somebody to vitja

Changed 13 months ago by scoder

  • milestone changed from wishlist to 0.17

Changed 13 months ago by vitja

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