-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Comments
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For CPython 3.2 and later, site.py includes function
getsitepackages()
,getuserbase()
andgetusersitepackages()
- refThe 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.
The text was updated successfully, but these errors were encountered: