Revert os.py 1.75, and directly implement update.
Fixes #1110478 and #1100235.
3 files changed