Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@pradyunsg
Copy link
Contributor

pip's documentation explicitly states to not use import pip:

While it is implemented in Python, and so is available from your Python code via
import pip, you must not use pip’s internal APIs in this way.

(from https://pip.pypa.io/en/stable/user_guide/#using-pip-from-your-program)

This example is in direct contradiction with the documentation's guidance and, thus, I'd like to see it removed.

(puts on pip maintainer hat) Recommending/suggesting this adds additional support burden for us, since we've spent a bunch of effort to communicate to our users that the code in pip's namespace is not meant-to-be-reused code via import pip.<whatever>. (takes off hat)

pip's documentation explicitly states to not use `import pip`:

> While it is implemented in Python, and so is available from your Python code via
> `import pip`, you must not use pip’s internal APIs in this way.

This example is in direct contradiction with the documentation's guidance and, thus, has
been removed.
@pradyunsg pradyunsg requested a review from a team as a code owner February 2, 2021 08:31
@pradyunsg
Copy link
Contributor Author

Hi there! A gentle nudge on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants