Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Turn PythonInterpreterCache into a subsystem #6765
It effectively depended on other subsystems (expecting instances to be passed into it), so it's a natural fit.
Switches it to use a local
Also simplifies the interface of
This is the first step in simplifying the path-selection logic to be entirely option-based, instead of the current chain of
So the next change (the one that this change is intended to pave the way for) is to fix this logic:
Right now it's opaque and rigid - you can have exactly one of these three possibilities, and it's not obvious how to even get the one you want.
Instead, I want all paths to be set via the
Then a third change will add the ability to easily use pyenv's interpreters (presumably via some other special symbol).