Message374139
The documentation for site.getusersitepackages() states at https://docs.python.org/3.10/library/site.html#site.getusersitepackages:
Return the path of the user-specific site-packages directory, USER_SITE. If it is not initialized yet, this function will also set it, respecting PYTHONNOUSERSITE and USER_BASE.
Yet the implementation does not agree:
```
$ python -c "import site; print(site.getusersitepackages())"
/home/user/.local/lib/python3.7/site-packages
$ PYTHONNOUSERSITE=1 python -c "import site; print(site.getusersitepackages())"
/home/user/.local/lib/python3.7/site-packages
```
(same result for -s and -I flags) |
|
Date |
User |
Action |
Args |
2020-07-23 15:22:11 | pelson | set | recipients:
+ pelson, docs@python |
2020-07-23 15:22:11 | pelson | set | messageid: <1595517731.78.0.301651868818.issue41376@roundup.psfhosted.org> |
2020-07-23 15:22:11 | pelson | link | issue41376 messages |
2020-07-23 15:22:11 | pelson | create | |
|