Skip to content

[3.13] Improved venv docs to indicate that isolation is the default. (GH-136698) #136725

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

Merged
merged 1 commit into from
Jul 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[3.13] Improved venv docs to indicate that isolation is the default. (G…
…H-136698)

* Improved venv docs to note that isolation is the default.

* Insert "that" so that a sentence reads better.

* Improved wording.

---------
(cherry picked from commit 8e2f4b4)

Co-authored-by: Facundo Batista <facundo@taniquetil.com.ar>
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
  • Loading branch information
facundobatista and vsajip committed Jul 16, 2025
commit cbd62b50fc9f3faa1f521c001378ab0bb4bcc24a
6 changes: 3 additions & 3 deletions Doc/library/venv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ The :mod:`!venv` module supports creating lightweight "virtual environments",
each with their own independent set of Python packages installed in
their :mod:`site` directories.
A virtual environment is created on top of an existing
Python installation, known as the virtual environment's "base" Python, and may
optionally be isolated from the packages in the base environment,
so only those explicitly installed in the virtual environment are available.
Python installation, known as the virtual environment's "base" Python, and by
default is isolated from the packages in the base environment, so
that only those explicitly installed in the virtual environment are available.

When used from within a virtual environment, common installation tools such as
:pypi:`pip` will install Python packages into a virtual environment
Expand Down
Loading