Bug report
Bug description:
After creating a venv with python -m venv .venv, attempting to source .venv/bin/activate on a system with hashing disabled successfully activates the venv, but returns non-zero.
bash-5.3$ set +h bash-5.3$ hash bash: hash: hashing disabled bash-5.3$ python -m venv .venv bash-5.3$ source .venv/bin/activate (.venv) bash-5.3$ echo $? 1
This can make it appear that there was an error sourcing activate when there wasn't, especially for styled prompts that can color code based on command success such as starship.
CPython versions tested on:
3.14
Operating systems tested on:
Linux
