[issue41538] Allow customizing python interpreter in venv.EnvBuilder

2020-08-13 Thread Albert Cervin
Change by Albert Cervin : -- keywords: +patch pull_requests: +20981 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21854 ___ Python tracker <https://bugs.python.org/issu

[issue41538] Allow customizing python interpreter in venv.EnvBuilder

2020-08-13 Thread Albert Cervin
New submission from Albert Cervin : When creating a virtualenv using venv.EnvBuilder, it always uses sys._base_executable. However, in some embedded cases (Blender being one example), it is not set to a valid Python executable. The proposal is to add a keyword parameter to the EnvBuilder