Message135596
| Author |
vstinner |
| Recipients |
Denis.Barmenkov, bbi5291, eric.araujo, ned.deily, neologix, tarek, vstinner, xuanji |
| Date |
2011年05月09日.15:10:47 |
| SpamBayes Score |
5.732011e-05 |
| Marked as misclassified |
No |
| Message-id |
<1304953848.59.0.0638902014864.issue10496@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Main changes of the patch, if the current user has no home directory (no entry in /etc/passwd) and there is HOME environment variable:
- sysconfig.get_config_vars() doesn't have a 'userbase' variable. sysconfig.get_config_var('userbase') returns None as any other nonexistent key.
- sysconfig.get_paths() doesn't create a path if expand fails (without raising an error or emiting a warning). For example, sysconfig.get_paths(scheme='posix_user') returns an empty dict. |
|