Ticket #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
Note: See
TracTickets for help on using
tickets.
