10000 Bug in statemachine.ViewList.__iadd__ · Issue #653 · chrisjsewell/docutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Bug in statemachine.ViewList.__iadd__ #653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
st-pasha opened this issue Aug 26, 2020 · 0 comments
Open

Bug in statemachine.ViewList.__iadd__ #653

st-pasha opened this issue Aug 26, 2020 · 0 comments

Comments

@st-pasha
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0