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

Revert "bpo-38135: Fix depth-first-search computation in compile.c" #16050

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

Yhg1s
Copy link
Member

@Yhg1s Yhg1s commented Sep 12, 2019

Reverts #16042. As Mark just elaborated in person, this code doesn't do the right thing in the case where "D" and "E" are both branches from "C" (but not direct links from the chain), but "D" is also a branch off of "E". Since it doesn't matter for the current compiler, and this requires more work to get exactly right, better to fold that into the bigger compiler changes.

https://bugs.python.org/issue38135

@gpshead gpshead merged commit 99b54d6 into master Sep 12, 2019
@gpshead gpshead deleted the revert-16042-fix-cfg-dfs branch September 12, 2019 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants