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

Catch OSError from getpass.getuser() #11875

Merged
merged 2 commits into from
Jan 29, 2024

Commits on Jan 28, 2024

  1. Catch OSError from getpass.getuser()

    - Previously, `getpass.getuser()` would leak an ImportError if the
      USERNAME environment variable was not set on Windows because the `pwd`
      module cannot be imported.
    - Starting in Python 3.13.0a3, it only raises `OSError`.
    rmartin16 committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    e5584da View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. Create 11875.bugfix.rst

    nicoddemus committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    a2da7a5 View commit details
    Browse the repository at this point in the history