Ticket #768 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
