STINNER Victor <[email protected]> added the comment:
> If the user base cannot be calculated, paths
> starting with ~ should not exist or be used at all in this context.
It's not "~" but "{userbase}" substitution variable.
Here is a new patch implementing this idea: don't create the variables using
the user directory if the user doesn't exist (if we cannot get the user
directory). I didn't test distutils, I just try to start Python (it does work
using bug.c).
----------
Added file: http://bugs.python.org/file21896/nonexistent_user.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10496>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com