Why I wrote PEP 832 -- virtual environment discovery
Summary
This post explains the motivation behind PEP 832 for virtual environment discovery and how editors like VS Code must determine which Python environment to run. It outlines the challenges of identifying which tool created an environment, where environments live, and proposes concrete ideas (a .python-envs file, a pyproject.toml workflow table, and a workflow server protocol) to improve cross-editor support.