Skip to content

Bug in statemachine.ViewList.__iadd__ #653

@st-pasha

Description

@st-pasha

https://github.com/chrisjsewell/docutils/blob/develop/docutils/docutils/statemachine.py#L1202-L1207

The function updates self.data but forgets to update self.items, violating the class invariant that these 2 lists must always have the same length.

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