The Python formula sets sys.executable in a generated sitecustomize.py module, to ensure that the opt prefix is always used and you don't accidentally end up with a formula version-specific Cellar ...