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
Fix findall
usage in KeyboardTransform
#10504
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your quick work. LGTM with nits.
Requested in order to fix Linux docs builds. git-svn-id: file:///srv/repos/svn-community/svn@1218374 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Requested in order to fix Linux docs builds. git-svn-id: file:///srv/repos/svn-community/svn@1218374 9fca08f4-af9d-4005-b8df-a31f2cc04f65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a different opinion with you about testing. But it must not be a blocker of the release. So I'm going to merge this and continue discussion in another PR.
Fixes #10495.
The bug was introduced to to using
.findall
which is a generator -- as the transform adds new nodes which match the condition in NodeMatcher, these are erroneously iterated over.Feature or Bugfix
A
cc: @cyring @aaime please could you test this patch to see if it solves your issues?