Skip to content

[BUG] dbzero.list pop method changes the order of element #700

@sigsegvdev

Description

@sigsegvdev

When called with index argument, the list swaps removed element with last to pop from the back. This is an optimization, but it makes the list behave not in a way one would expect. For consistency with Python list, the pop method shouldn't change the order of elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions