New submission from Volker Weißmann <volker.weissm...@gmx.de>:

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.

----------
messages: 365851
nosy: Volker Weißmann
priority: normal
severity: normal
status: open
title: Warn about invalid PYTHONUSERBASE
type: enhancement

_______________________________________
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