Ticket #720 (closed defect: fixed)
generator expression function does not follow signature changes
| Reported by: | scoder | Owned by: | vitja |
|---|---|---|---|
| Priority: | major | Milestone: | 0.15.1 |
| Component: | Code Generation | Keywords: | |
| Cc: |
Description
When the always_allow_keywords option is enabled, the call to the generator expression function still thinks it has a NOARGS signature. This leads to invalid C code as the call and the function signature are out of sync.
Example from pyregr test_bytes.py in Py2.7:
static PyObject *__pyx_pf_10test_bytes_14test_from_list_genexpr(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ ... * b = self.type2test(i for i in ints) # <<<<<<<<<<<<<< __pyx_t_2 = __pyx_pf_10test_bytes_14test_from_list_genexpr(((PyObject*)__pyx_cur_scope), NULL); if /*...*/
Change History
Note: See
TracTickets for help on using
tickets.
