Author pelson
Recipients docs@python, pelson
Date 2020-07-23.15:22:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The documentation for site.getusersitepackages() states at

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())"

$ PYTHONNOUSERSITE=1 python -c "import site; print(site.getusersitepackages())"

(same result for -s and -I flags)
Date User Action Args
2020-07-23 15:22:11pelsonsetrecipients: + pelson, docs@python
2020-07-23 15:22:11pelsonsetmessageid: <>
2020-07-23 15:22:11pelsonlinkissue41376 messages
2020-07-23 15:22:11pelsoncreate