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

Avoid importing contextlib in _virtualenv #2688

Merged
merged 3 commits into from
Feb 21, 2024
Merged

Commits on Feb 21, 2024

  1. Avoid importing contextlib in _virtualenv

    This appears to be imported in a `.pth` file, so this file runs in basically every Python program in my environment. contextlib takes about 3ms to import and I'd prefer to not pay that cost if not strictly necessary.
    hauntsaninja authored and gaborbernat committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    d4b265b View commit details
    Browse the repository at this point in the history
  2. .

    hauntsaninja authored and gaborbernat committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    647736f View commit details
    Browse the repository at this point in the history
  3. noqa

    Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
    hauntsaninja authored and gaborbernat committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    dce8ac9 View commit details
    Browse the repository at this point in the history