Ticket #513 (new enhancement)
Infer return types of cdef functions
| Reported by: | scoder | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | wishlist |
| Component: | Type Analysis | Keywords: | |
| Cc: |
Description
For example, it would be nice if Cython could figure out that a function like this always returns a tuple:
cdef test(x):
return x*2, x**2
# this shouldn't generate all the generic unpacking code:
a,b = test(5)
Change History
Note: See
TracTickets for help on using
tickets.
