Some modules are unlike others. Try setting `sys.stdout` in one extremely local function, observe ripples everywhere. It's not common, fortunately; hacking `sys.path` is more common, and is sometimes done at import time.
With all its upsides, Python has a problematic global state story; it's easy to shoot yourself in the foot.