-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-135788: Support NETRC environment variable in netrc and update documentation #135802
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
base: main
Are you sure you want to change the base?
Conversation
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid verbose comments in tests in general unless they are needed. Most of the time, the code is small enough to understand what happens without the needs of a docstring.
Lib/test/test_netrc.py
Outdated
|
|
||
| from test import support | ||
| from contextlib import ExitStack |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| from test import support | |
| from contextlib import ExitStack | |
| from contextlib import ExitStack | |
| from test import support | |
| from test.support import os_helper |
And use os_helper in the file. This will reduce the diff as well.
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
|
The following commit authors need to sign the Contributor License Agreement: |


📚 Documentation preview 📚: https://cpython-previews--135802.org.readthedocs.build/