-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
gh-111881: Use lazy import in test.support #111885
Conversation
vstinner
commented
Nov 9, 2023
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Import lazily getpass in test.support
- Only import ctypes on Windows in test.support.os_helper.
- Issue: libregrtest: Reduce number of imports at startup #111881
* Import lazily getpass in test.support * Only import ctypes on Windows in test.support.os_helper.
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, @vstinner, I could not cleanly backport this to
|
Merged, thanks for the review @AlexWaygood. |
Sorry, @vstinner, I could not cleanly backport this to
|
GH-111890 is a backport of this pull request to the 3.12 branch. |
* Import lazily getpass in test.support * Only import ctypes on Windows in test.support.os_helper. (cherry picked from commit 0372e3b)
* Import lazily getpass in test.support * Only import ctypes on Windows in test.support.os_helper.
* Import lazily getpass in test.support * Only import ctypes on Windows in test.support.os_helper.