Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing site.get*() methods on 3.2 and later #434

Closed
zooba opened this issue Jun 13, 2013 · 1 comment
Closed

Missing site.get*() methods on 3.2 and later #434

zooba opened this issue Jun 13, 2013 · 1 comment

Comments

@zooba
Copy link

zooba commented Jun 13, 2013

For CPython 3.2 and later, site.py includes function getsitepackages(), getuserbase() and getusersitepackages() - ref

The site module that virtualenv adds to a new environment does not include these, and so code that expects them will not work.

Though the docs say that the module-level variables may not be initialized until these methods are called, I don't see anything there that requires lazy initialization. I'd expect that simply returning the variables would be sufficient.

@dstufft dstufft mentioned this issue Jan 5, 2015
5 tasks
@stale
Copy link

stale bot commented Jan 15, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 15, 2019
@stale stale bot closed this as completed Jan 22, 2019
@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant