diff options
author | Steve Dower <steve.dower@python.org> | 2022-09-05 19:06:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-05 19:06:30 (GMT) |
commit | 80a9bd2e94b1759a7669fa811ed3526eb137c92d (patch) | |
tree | 78a7fc75508ac456815df78bfaf02b3d78981f96 /Doc/whatsnew | |
parent | 991b3712a11a705efc6e45d22643bb2ccfb3eca5 (diff) | |
download | cpython-80a9bd2e94b1759a7669fa811ed3526eb137c92d.zip cpython-80a9bd2e94b1759a7669fa811ed3526eb137c92d.tar.gz cpython-80a9bd2e94b1759a7669fa811ed3526eb137c92d.tar.bz2 |
gh-96559: Fixes Windows launcher handling of defaults using old-style tags, and adds What's New section (GH-96595)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 7c72ef4..0f6490e 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -369,6 +369,28 @@ PEP 563 May Not Be the Future that was planned for this release has been indefinitely postponed. See `this message <https://mail.python.org/archives/list/python-dev@python.org/message/VIZEBX5EYMSYIJNDBF6DMUMZOCWHARSO/>`_ for more information. +Windows py.exe launcher improvements +------------------------------------ + +The copy of :ref:`launcher` included with Python 3.11 has been significantly +updated. It now supports company/tag syntax as defined in :pep:`514` using the +``-V:<company>/<tag>`` argument instead of the limited ``-x.y`` argument. This +allows launching distributions other than ``PythonCore``, which is the one +obtained from `python.org <https://python.org>`_. + +When using ``-V:`` selectors, either company or tag can be omitted, but all +installs will be searched. For example, ``-V:OtherPython/`` will select the +"best" tag registered for ``OtherPython``, while ``-V:3.11`` or ``-V:/3.11`` +will select the "best" distribution with tag ``3.11``. + +When using legacy ``-x``, ``-x.y``, ``-x-ZZ`` or ``-x.y-ZZ`` arguments, all +existing behaviour should be preserved from past versions. Only releases from +``PythonCore`` will be selected. However, the ``-64`` suffix now implies "not +32-bit", as there are multiple supported 64-bit platforms. 32-bit runtimes are +detected by checking its tag for a ``-32`` suffix. All releases of Python +since 3.5 have included this in their 32-bit builds. + + Other Language Changes ====================== |