When terminal env experiment is off , PYTHONSTARTUP seems to be not injected, which is a bug.
Shell integration for python should work depending on the setting regardless of any other setting or experiment other than upstream terminal shell integration setting.
Update: It was getting injected, but was just getting cleared as part of check:
- We clear env var collection when user isn't in env var experiment to get rid of stale env var.
When terminal env experiment is off , PYTHONSTARTUP seems to be not injected, which is a bug.
Shell integration for python should work depending on the setting regardless of any other setting or experiment other than upstream terminal shell integration setting.
Update: It was getting injected, but was just getting cleared as part of check: