[3.8] bpo-22490: Remove PYVENV_LAUNCHER from environment during launch (GH-9516) by miss-islington · Pull Request #19110 · python/cpython (original) (raw)

This changeset removes the environment varialbe "PYVENV_LAUNCHER"
during interpreter launch as it is only needed to communicate between
the stub executable in framework installs and the actual interpreter.

Leaving the environment variable present may lead to misbehaviour when
launching other scripts.

Co-Authored-By: Nicola Soranzo nicola.soranzo@gmail.com

Co-authored-by: Jason R. Coombs jaraco@jaraco.com
Co-authored-by: Nicola Soranzo nicola.soranzo@gmail.com
(cherry picked from commit 044cf94)

Co-authored-by: Ronald Oussoren ronaldoussoren@mac.com

https://bugs.python.org/issue22490