[issue46890] venv does not create "python" link in python 3.11

Steve Dower report at bugs.python.org
Wed Mar 2 06:19:30 EST 2022


Steve Dower <steve.dower at python.org> added the comment:

> Is sys._base_executable updated after running getpath.py?

It shouldn't be, but site.py might do it.

More likely it's in how getpath.py is handling the environment variable 
overrides. It should be pretty easy to track down and change - the old 
"logic" was certainly not.

If there's a way to add a test for this case as well, that would be 
handy. Way too little documentation here.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46890>
_______________________________________


More information about the Python-bugs-list mailing list