This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Volker Weißmann, terry.reedy
Date 2020-04-10.21:17:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586553461.08.0.434630807957.issue40203@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-04-10 21:17:41terry.reedysetrecipients: + terry.reedy, Volker Weißmann
2020-04-10 21:17:41terry.reedysetmessageid: <1586553461.08.0.434630807957.issue40203@roundup.psfhosted.org>
2020-04-10 21:17:41terry.reedylinkissue40203 messages
2020-04-10 21:17:40terry.reedycreate