[issue10496] "import site failed" when Python can't find home directory (sysconfig._getuserbase)
Tarek Ziadé
report at bugs.python.org
Mon May 2 17:43:20 CEST 2011
Tarek Ziadé <ziade.tarek at gmail.com> added the comment:
As discussed w/ Victor, a process should be able to run Python even if its user does not have a home.
So the call to _getuserbase() should be protected.
But then we have to control that all the code that uses CONFIG_VARS['userbase'] is protected when the value is not set.
I am thinking about per-user installation and such things: we need to make sure everything is checking this.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10496>
_______________________________________
More information about the Python-bugs-list
mailing list