Ticket #644 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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:


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

Changed 4 years ago by scoder

  • owner changed from somebody to scoder
  • status changed from new to assigned
  • milestone changed from wishlist to 0.14.1

Changed 4 years ago by scoder

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