The Homebrew team has reverted their previous decision to force python to point to python3. What a confusing mess.
According to PEP 394, python should point to python2, for consistency across Unix-like systems, so this restores compatibility.