Ticket #466 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

cascaded list unpacking into typed targets crashes

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

Description

See extended_unpacking_T409 test:

  long __pyx_t_2;
  long __pyx_t_3;
  /*
 *     a, *b, c = d = e = [1,2]             # <<<<<<<<<<<<<<
 */
  __pyx_t_1 = PyList_New(2); if /* ... */
  __Pyx_GOTREF(((PyObject *)__pyx_t_1));
  __Pyx_INCREF(((PyObject *)1));
  PyList_SET_ITEM(__pyx_t_1, 0, ((PyObject *)1));
  __Pyx_GIVEREF(((PyObject *)1));
  __Pyx_INCREF(((PyObject *)2));
  PyList_SET_ITEM(__pyx_t_1, 1, ((PyObject *)2));
  __Pyx_GIVEREF(((PyObject *)2));
  __pyx_t_2 = 1;
  __pyx_t_3 = 2;

Change History

Changed 4 years ago by scoder

  • component changed from Type Analysis to Code Generation
  • summary changed from full type inference breaks cascaded list unpacking to cascaded list unpacking into typed targets crashes

Changed 4 years ago by scoder

  • owner changed from somebody to scoder
  • status changed from new to assigned
  • milestone changed from wishlist to 0.12.1

Changed 4 years ago by scoder

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.