From dd7951ff5bfe038f336ad79aaafb3e80419810a5 Mon Sep 17 00:00:00 2001 From: Facundo Batista Date: Tue, 15 Jul 2025 23:05:06 -0300 Subject: [PATCH 1/3] Improved venv docs to note that isolation is the default. --- Doc/library/venv.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index f16e24eac08343..79e25274cf481d 100644 --- a/Doc/library/venv.rst +++ b/Doc/library/venv.rst @@ -22,8 +22,8 @@ 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, +Python installation, known as the virtual environment's "base" Python, and by +default is isolated from the packages in the base environment, so only those explicitly installed in the virtual environment are available. See :ref:`sys-path-init-virtual-environments` and :mod:`site`'s :ref:`virtual environments documentation ` From 447198cebc3248ee9fc790bd0b3c1140d8333b4f Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Wed, 16 Jul 2025 09:07:49 +0100 Subject: [PATCH 2/3] Insert "that" so that a sentence reads better. --- Doc/library/venv.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index 79e25274cf481d..970d07648ec0f0 100644 --- a/Doc/library/venv.rst +++ b/Doc/library/venv.rst @@ -24,7 +24,7 @@ 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 by default is isolated from the packages in the base environment, -so only those explicitly installed in the virtual environment are available. +so that only those explicitly installed in the virtual environment are available. See :ref:`sys-path-init-virtual-environments` and :mod:`site`'s :ref:`virtual environments documentation ` for more information. From 078e968cff78af0756157a75f1684539214ae5ca Mon Sep 17 00:00:00 2001 From: Facundo Batista Date: Wed, 16 Jul 2025 07:14:11 -0300 Subject: [PATCH 3/3] Improved wording. --- Doc/library/venv.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index 79e25274cf481d..de427fbafe71dc 100644 --- a/Doc/library/venv.rst +++ b/Doc/library/venv.rst @@ -24,8 +24,8 @@ 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 by default is isolated from the packages in the base environment, -so only those explicitly installed in the virtual environment are available. -See :ref:`sys-path-init-virtual-environments` and :mod:`site`'s +so that only those explicitly installed in the virtual environment are +available. See :ref:`sys-path-init-virtual-environments` and :mod:`site`'s :ref:`virtual environments documentation ` for more information.