Ticket #124 (closed defect: fixed)
Misplaced decref due to PyDict_Next optimization
|Reported by:||jasone||Owned by:||scoder|
The PyDict?_Next optimization looks like it might be conflicting with another optimization that collects local temp variables of the same type into a single variable... or something. Cython generates C code for the attached program that has a bogus Py_DECREF call, as indicated in the comments of the program. This can cause a crash (though that's only happening for me in the program that I first noticed the problem for).