[issue10496] Python startup should not require passwd entry
Éric Araujo
report at bugs.python.org
Tue Mar 13 01:06:16 CET 2012
Éric Araujo <merwok at netwok.org> added the comment:
Adding people from the duplicate report #14238.
Georg said:
> there should be a guard here that just doesn't add user site directories if the lookup fails.
I concurred and added:
> we also need to fix sysconfig; I think the right thing to do would be not to have a config var
> named 'userbase' when run from a UID without passwd entry. This implies that the functions
> listed under http://docs.python.org/library/sysconfig#installation-paths would also need to omit
> *user schemes.
----------
assignee: tarek -> eric.araujo
nosy: +aikinci, arekm, georg.brandl, loewis, nadeem.vawda
title: "import site failed" when Python can't find home directory (sysconfig._getuserbase) -> Python startup should not require passwd entry
versions: -Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10496>
_______________________________________
More information about the Python-bugs-list
mailing list