Skip to content

Good old times has an incorrect line #30

@milesmajefski

Description

@milesmajefski

del data[:]

As far as I know, this line would not have the desired effect of clearing the data memory. The slice notation Python makes a copy of the data. So that's not what we want. To fit in with the rest of the code and allow old data to be garbage collected, just assign an empty list to the data variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions