-
Notifications
You must be signed in to change notification settings - Fork 3.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
Create new module: network.auth #7045
Conversation
nit: let's call the sub-package network? That'd be consistent with the rest of the sub-package names, none of which use the "ing" form of verbs. (I just woke up so my brain isn't giving me fancy grammar words) |
33a329f
to
777810e
Compare
777810e
to
7e1d022
Compare
Reopening for Appveyor... (may have done it too soon, it was probably just queued) |
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.
OK with this in principle. I've not reviewed this thoroughly.
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.
LGTM. One minor comment.
@@ -0,0 +1,289 @@ | |||
import logging |
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.
Let's add a doc-string to the module describing what all is happening in it and what we expect would be used by "consumers" of the module.
In general, when we're adding new modules as a result of breaking up existing modules, we should do this so that it makes our lives easier 6 months later when we forget how exactly we'd split the functionality. :)
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.
Sure. I'll create a follow-up PR later today.
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.
Filed #7054 for you. :)
The first of a handful of modules that can go into this package to split out the "pure" parts of
pip._internal.download
.