Terry J. Reedy <tjre...@udel.edu> added the comment:

I marked this for 'interpreter Core' because it affects imports and nothing 
else seemed better.

I marked this for 3.9 because it is too late to change 2.7.  But I don't know 
whether PYTHONUSERBASE is still treated (or not treated) the same.

Volker, I assume that you meant 'no good reason to not do so'.  A possible 
reason is that checking the validity of all environmental variables at startup 
would slow down startup, whereas we have been trying to speed it up.  Also, if 
PYTHONUSERBASE, in particular, is ever used for an import, a bad value will 
result in an import error.

----------
components: +Interpreter Core
nosy: +terry.reedy
versions: +Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40203>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to