You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
site.getusersitepackages() incorrectly claims that PYTHONNOUSERSITE is respected #85548
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.
Activity
pelson commentedon Jul 23, 2020
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:
(same result for -s and -I flags)
methane commentedon Oct 8, 2020
New changeset 35f041d by Phil Elson in branch 'master':
bpo-41376: Fix the documentation of
site.getusersitepackages()(GH-21602)35f041d
miss-islington commentedon Oct 8, 2020
New changeset 5b1fdca by Miss Skeleton (bot) in branch '3.9':
bpo-41376: Fix the documentation of
site.getusersitepackages()(GH-21602)5b1fdca
pablogsal commentedon Oct 11, 2020
New changeset 1006f63 by Miss Skeleton (bot) in branch '3.8':
bpo-41376: Fix the documentation of
site.getusersitepackages()(GH-21602) (GH-22592)1006f63