bpo-41100: deploy to an earlier version of macOS by ronaldoussoren · Pull Request #21583 · python/cpython
These are most of the C changes needed to build on macOS 11.0 and deploy to macOS 10.9 (and technically even earlier, this should even work back to macOS 10.6).
This patch is currently in a very rough state and is incomplete.
TODO:
- The code that exports availability status from posixmodule.c to os.py needs to be updated
- Testing, possibly adding more tests
NOTE: This should be merged with PR21577, which does something similar but only back to macOS 10.10.