Ticket #124 (closed defect: fixed)
Misplaced decref due to PyDict_Next optimization
| Reported by: | jasone | Owned by: | scoder |
|---|---|---|---|
| Priority: | critical | Milestone: | 0.11 |
| Component: | Code Generation | Keywords: | |
| Cc: |
Description
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).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

