10000 Revert "bpo-38135: Fix depth-first-search computation in compile.c" by Yhg1s · Pull Request #16050 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

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.

5 participants

0