cpython/Doc/whatsnew
Miro Hrončok 48d9262699
bpo-45413: Define "posix_venv", "nt_venv" and "venv" sysconfig installation schemes (GH-31034)
Define *posix_venv* and *nt_venv* sysconfig installation schemes
to be used for bootstrapping new virtual environments.
Add *venv* sysconfig installation scheme to get the appropriate one of the above.
The schemes are identical to the pre-existing
*posix_prefix* and *nt* install schemes.
The venv module now uses the *venv* scheme to create new virtual environments
instead of hardcoding the paths depending only on the platform. Downstream
Python distributors customizing the *posix_prefix* or *nt* install
scheme in a way that is not compatible with the install scheme used in
virtual environments are encouraged not to customize the *venv* schemes.
When Python itself runs in a virtual environment,
sysconfig.get_default_scheme and
sysconfig.get_preferred_scheme with `key="prefix"` returns
*venv*.
2022-03-18 10:53:29 +01:00
..
2.0.rst [docs] Improve the markup of powers (GH-28598) 2021-09-28 22:40:57 +02:00
2.1.rst bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
2.2.rst bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
2.3.rst bpo-44740: Make minor edits to lowercasing "internet" and "web". (GH-27385) 2021-07-27 10:57:52 +02:00
2.4.rst
2.5.rst
2.6.rst
2.7.rst [docs] Improve the markup of powers (GH-28598) 2021-09-28 22:40:57 +02:00
3.0.rst
3.1.rst [docs] Improve the markup of powers (GH-28598) 2021-09-28 22:40:57 +02:00
3.2.rst bpo-45162: Revert "Remove many old deprecated unittest features" (GH-30935) 2022-01-26 20:39:15 -08:00
3.3.rst bpo-40204, doc: Fix syntax of C variables (GH-21846) 2020-08-13 22:11:50 +02:00
3.4.rst bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
3.5.rst bpo-40204: Fix reference to terms in the doc (GH-21865) 2020-08-14 12:20:05 +02:00
3.6.rst Doc: some rst linting. (GH-30149) 2021-12-17 13:55:03 +01:00
3.7.rst bpo-31415: importtime was made by Inada Naoki (GH-31875) 2022-03-14 10:39:33 -07:00
3.8.rst bpo-36384: [doc] Mention CVE-2021-29921 fix in 3.8.12 (GH-27824) 2021-08-19 10:55:49 +02:00
3.9.rst bpo-45447: Add entry to What's new 3.9 (GH-31305) 2022-02-12 21:11:19 -05:00
3.10.rst Fix missing import in dataclass code snippet (GH-29214) 2022-02-14 12:01:53 -08:00
3.11.rst bpo-45413: Define "posix_venv", "nt_venv" and "venv" sysconfig installation schemes (GH-31034) 2022-03-18 10:53:29 +01:00
changelog.rst
index.rst Doc: What's new in Python 3.11 (GH-25963) 2021-05-07 10:06:45 +02:00