Author Volker Weißmann
Recipients Volker Weißmann
Date 2020-04-06.12:59:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586177955.41.0.354760283694.issue40203@roundup.psfhosted.org>
In-reply-to
Content
https://docs.python.org/2/using/cmdline.html says that PYTHONUSERBASE defines the user base directory. If I understand this correctly, this implies that PYTHONUSERBASE should be a path a directory. I therefore think that python should print a warning if PYTHONUSERBASE is:
1. Not a valid path (e.g. "invalid//path")
2. A path to something else than a directory
3. A non existing path (maybe)


I think that

export PYTHONUSERBASE="invalid//path"
python

should generate a warning, because there is no good reason to do so.
History
Date User Action Args
2020-04-06 12:59:15Volker Weißmannsetrecipients: + Volker Weißmann
2020-04-06 12:59:15Volker Weißmannsetmessageid: <1586177955.41.0.354760283694.issue40203@roundup.psfhosted.org>
2020-04-06 12:59:15Volker Weißmannlinkissue40203 messages
2020-04-06 12:59:15Volker Weißmanncreate