Opened 4 years ago

Closed 4 years ago

#644 closed defect (fixed)

full type inference incorrectly infers known method types of builtins

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

Description

In the following code, the type of 'append' is inferred as C function because 'flags.append' has been replaced by PyList_Append.

#cython: infer_types=True

cdef get_field_flags():
     flags = []
     append = flags.append

Also see #643.

Change History (2)

comment:1 Changed 4 years ago by scoder

  • Milestone changed from wishlist to 0.14.1
  • Owner changed from somebody to scoder
  • Status changed from new to assigned

comment:2 Changed 4 years ago by scoder

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