Ticket #298 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

recursive tuple unpacking is broken in 0.11 due to old-style temps

Reported by: scoder Owned by: dagss
Priority: major Milestone: 0.11.2
Component: Code Generation Keywords:
Cc:

Description

Hugues Salamin wrote:

The following code will crash with a segfault when compiled using cython (v0.11):

def func():
    for (a, b) ,c ,d in zip(zip(range(3), range(3)), range(3), range(3)):
        print a, b
        print c
        print d # This line segfault

If the module is imported in python and func is called, I got a segmentation fault at the line "print d".

Change History

Changed 4 years ago by scoder

  • status changed from new to closed
  • resolution set to fixed

This was fixed in cython-unstable already, but here's Dag's quick fix for 0.11:

 http://hg.cython.org/cython-devel/rev/4179f49ac82d

Note: See TracTickets for help on using tickets.