Skip to content
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

Correctly process nested definitions in astmerge #14104

Merged
merged 3 commits into from
Nov 15, 2022

Conversation

ilevkivskyi
Copy link
Member

Fixes #12744

The fix is straightforward. Current logic can produce a random mix of old and new nodes if there are functions/methods nested in other statements.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@ilevkivskyi ilevkivskyi merged commit 0d2a954 into python:master Nov 15, 2022
@ilevkivskyi ilevkivskyi deleted the fix-daemon-crash branch November 15, 2022 22:55
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

Successfully merging this pull request may close these issues.

dmypy: ValueError: value is not in list when running a second time
2 participants