Ticket #1333 (closed bug: fixed)

Opened 10 months ago

Last modified 10 months ago

Pickling an empty Orange.data.Table causes a segfault

Reported by: ales Owned by: ales
Milestone: Component: library
Severity: minor Keywords:
Cc: Blocking:
Blocked By:

Description

if the table was cleared with del operator

import pickle
import Orange

iris = Orange.data.Table("iris")

for i in range(len(iris)):
    del iris[-1]

pickle.dumps(iris)

Change History

comment:1 Changed 10 months ago by Ales Erjavec <ales.erjavec@…>

  • Status changed from new to closed
  • Resolution set to fixed

In [78a05eef3f202384f5f548f410dba4df76d4b434/orange]:

Fixed a bug in Table iteration after deleting all elements.

(fixes #1333)

Note: See TracTickets for help on using tickets.