◐ Shell
clean mode source ↗

gh-117891: handle undefined TARGET_OS_OSX by jmroot · Pull Request #117892 · python/cpython

Conversation

@jmroot

@jmroot jmroot commented

Apr 15, 2024

edited by bedevere-app Bot

Loading

This macro is not defined by older macOS SDKs, and the code previously
didn't distinguish between it being undefined and being defined to 0.

freakboy3742

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This functionally looks fine; however, as I mentioned on my review of #117887, there's another 2 related uses of TARGET_OS symbols that need to be cleaned up; I'm not sure it's better to tackle all of them in one PR, rather than multiple PRs fixing one each.

@ned-deily

@ned-deily

Thanks again for the issue and PR. The suggested change has been rolled up and merged in PR #118073.

@jmroot jmroot deleted the testexternalinspection-fix branch

April 19, 2024 20:20

Labels