From c4e4b91557f18f881f393d80f5d8ce29de760e67 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Thu, 3 Feb 2022 18:34:09 +0000 Subject: [PATCH] Python 3.11.0a5 --- Include/patchlevel.h | 4 +- Lib/pydoc_data/topics.py | 83 +- Misc/NEWS.d/3.11.0a5.rst | 986 ++++++++++++++++++ .../2021-02-10-17-54-04.bpo-43112.H5Lat6.rst | 1 - .../2022-01-08-12-43-31.bpo-45925.38F3NO.rst | 1 - .../2022-01-09-11-24-54.bpo-45569.zCIENy.rst | 5 - .../2022-01-19-04-36-15.bpo-46429.y0OtVL.rst | 1 - .../2022-01-20-05-27-07.bpo-46443.udCVII.rst | 1 - .../2022-01-22-11-06-23.bpo-46471.03snrE.rst | 1 - .../2022-01-25-12-32-37.bpo-46513.mPm9B4.rst | 2 - .../2022-01-26-22-59-12.bpo-38472.RxfLho.rst | 2 - .../2022-02-01-14-07-37.bpo-46600.NNLnfj.rst | 3 - .../2022-02-02-02-06-07.bpo-46602.8GaOZ2.rst | 1 - .../2020-09-11-02-50-41.bpo-14916.QN1Y03.rst | 1 - .../2021-10-18-16-54-24.bpo-45459.Y1pEZs.rst | 2 - .../2022-01-19-16-51-54.bpo-46433.Er9ApS.rst | 2 - .../2022-01-27-02-37-18.bpo-40170.XxQB0i.rst | 2 - .../2022-01-27-02-51-22.bpo-40170.uPolek.rst | 4 - .../2021-05-04-21-55-49.bpo-44024.M9m8Qd.rst | 2 - .../2021-12-11-11-36-48.bpo-46045.sfThay.rst | 1 - .../2021-12-12-00-49-19.bpo-30512.nU9E9V.rst | 1 - .../2021-12-16-00-24-00.bpo-46091.rJ_e_e.rst | 2 - .../2021-12-16-15-04-58.bpo-46028.zfWacB.rst | 3 - .../2021-12-23-12-32-45.bpo-46161.EljBmu.rst | 1 - .../2022-01-12-17-15-17.bpo-46361.mgI_j_.rst | 2 - .../2022-01-14-20-55-34.bpo-46383.v8MTl4.rst | 2 - .../2022-01-16-15-40-11.bpo-46406.g0mke-.rst | 3 - .../2022-01-17-12-57-27.bpo-46409.HouS6m.rst | 6 - .../2022-01-17-23-12-01.bpo-46407.2_5a7R.rst | 1 - .../2022-01-20-17-13-49.bpo-43683.BqQ26Z.rst | 3 - .../2022-01-21-12-24-14.bpo-46417.i3IqMf.rst | 3 - .../2022-01-22-14-39-23.bpo-46417.3U5SfN.rst | 5 - .../2022-01-23-06-56-33.bpo-46481.X_FfnB.rst | 2 - .../2022-01-24-15-39-34.bpo-46476.cvP1Mr.rst | 1 - .../2022-01-24-16-58-01.bpo-46431.N6mKAx.rst | 1 - .../2022-01-24-21-24-41.bpo-46503.4UrPsE.rst | 1 - .../2022-01-25-11-44-17.bpo-46329.SEhynE.rst | 12 - .../2022-01-25-17-40-07.bpo-46528.2Qmni9.rst | 3 - .../2022-01-25-19-34-55.bpo-46527.mQLNPk.rst | 2 - .../2022-01-27-10-49-34.bpo-46458.5Gm3Gv.rst | 4 - .../2022-01-30-18-23-08.bpo-44977.BQV_zS.rst | 3 - .../2022-02-01-01-17-28.bpo-45885.CjyNf_.rst | 1 - .../2022-02-01-10-23-21.bpo-46564.6Xc2_H.rst | 1 - .../2022-02-01-14-30-56.bpo-45773.Up77LD.rst | 1 - .../2022-01-21-21-33-48.bpo-46463.fBbdTG.rst | 2 - .../2022-01-26-19-33-55.bpo-45296.LzZKdU.rst | 4 - .../2021-07-31-23-18-50.bpo-44791.4jFdpO.rst | 5 - .../2021-12-15-06-29-00.bpo-46080.AuQpLt.rst | 3 - .../2021-12-16-23-42-54.bpo-46103.LMnZAN.rst | 2 - .../2021-12-18-18-41-30.bpo-46124.ESPrb7.rst | 1 - .../2021-12-28-11-55-10.bpo-21987.avBK-p.rst | 2 - .../2021-12-29-13-42-55.bpo-26552.1BqeAn.rst | 1 - .../2021-12-29-14-42-09.bpo-43118.BoVi_5.rst | 3 - .../2022-01-03-16-25-06.bpo-46242.f4l_CL.rst | 1 - .../2022-01-04-18-05-25.bpo-46258.DYgwRo.rst | 2 - .../2022-01-05-03-09-29.bpo-43012.RVhLIL.rst | 2 - .../2022-01-05-03-21-21.bpo-29688.W06bSH.rst | 1 - .../2022-01-09-15-04-56.bpo-46316.AMTyd0.rst | 1 - .../2022-01-13-11-41-24.bpo-40066.1QuVli.rst | 2 - .../2022-01-16-14-07-14.bpo-40280.LtFHfF.rst | 4 - .../2022-01-17-10-00-02.bpo-46414.Ld0b_y.rst | 1 - .../2022-01-18-17-24-21.bpo-43869.NayN12.rst | 2 - .../2022-01-20-10-35-10.bpo-46434.geS-aP.rst | 2 - .../2022-01-20-10-35-50.bpo-46422.1UAEHL.rst | 1 - .../2022-01-21-18-19-45.bpo-41906.YBaquj.rst | 2 - .../2022-01-22-05-05-08.bpo-46469.plUab5.rst | 1 - .../2022-01-22-13-17-35.bpo-46470.MnNhgU.rst | 1 - .../2022-01-22-14-45-46.bpo-46474.2DUC62.rst | 2 - .../2022-01-22-14-49-10.bpo-46474.eKQhvx.rst | 2 - .../2022-01-23-18-04-45.bpo-41403.SgoHqV.rst | 3 - .../2022-01-23-19-37-00.bpo-46436.Biz1p9.rst | 3 - .../2022-01-24-13-00-09.bpo-46483.9XnmKp.rst | 1 - .../2022-01-24-23-55-30.bpo-46491.jmIKHo.rst | 1 - .../2022-01-25-10-59-41.bpo-46510.PM5svI.rst | 3 - .../2022-01-26-20-36-30.bpo-46539.23iW1d.rst | 1 - .../2022-01-26-23-58-48.bpo-45162.4Jmg_j.rst | 3 - .../2022-01-27-11-16-59.bpo-45173.wreRF2.rst | 1 - .../2022-01-27-12-24-38.bpo-46487.UDkN2z.rst | 1 - .../2022-01-27-13-30-02.bpo-46544.oFDVWj.rst | 2 - .../2022-01-28-08-47-53.bpo-46553.f7Uc96.rst | 1 - .../2022-01-28-19-48-31.bpo-46565.bpZXO4.rst | 1 - .../2022-01-31-15-40-38.bpo-46591.prBD1M.rst | 1 - .../2022-02-03-12-07-41.bpo-46624.f_Qqh0.rst | 1 - .../2021-12-18-22-23-50.bpo-46126.0LH3Yb.rst | 1 - .../2022-01-14-23-22-41.bpo-40280.nHLWoD.rst | 3 - .../2022-01-16-14-11-57.bpo-40280.fNnFfx.rst | 2 - .../2022-01-17-13-10-04.bpo-13886.5mZH4b.rst | 3 - .../2022-01-28-01-17-10.bpo-46542.xRLTdj.rst | 2 - .../2022-01-29-12-37-53.bpo-46576.-prRaV.rst | 3 - .../2022-01-31-17-34-13.bpo-46542.RTMm1T.rst | 2 - .../2022-02-01-17-13-53.bpo-46600.FMCk8Z.rst | 2 - .../2022-02-02-02-24-04.bpo-44359.kPPSmN.rst | 2 - .../2022-02-02-18-14-38.bpo-46616.URvBtE.rst | 2 - .../2022-02-03-00-21-32.bpo-43478.0nfcam.rst | 1 - .../2021-09-01-10-48-11.bpo-44934.W1xPATH.rst | 1 - .../2022-01-13-22-31-09.bpo-46362.f2cuEb.rst | 2 - .../2022-01-25-14-48-39.bpo-33125.5WyY_J.rst | 2 - .../2022-01-26-12-04-09.bpo-45925.yBSiYO.rst | 1 - README.rst | 2 +- 99 files changed, 1035 insertions(+), 238 deletions(-) create mode 100644 Misc/NEWS.d/3.11.0a5.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-02-10-17-54-04.bpo-43112.H5Lat6.rst delete mode 100644 Misc/NEWS.d/next/Build/2022-01-08-12-43-31.bpo-45925.38F3NO.rst delete mode 100644 Misc/NEWS.d/next/Build/2022-01-09-11-24-54.bpo-45569.zCIENy.rst delete mode 100644 Misc/NEWS.d/next/Build/2022-01-19-04-36-15.bpo-46429.y0OtVL.rst delete mode 100644 Misc/NEWS.d/next/Build/2022-01-20-05-27-07.bpo-46443.udCVII.rst delete mode 100644 Misc/NEWS.d/next/Build/2022-01-22-11-06-23.bpo-46471.03snrE.rst delete mode 100644 Misc/NEWS.d/next/Build/2022-01-25-12-32-37.bpo-46513.mPm9B4.rst delete mode 100644 Misc/NEWS.d/next/Build/2022-01-26-22-59-12.bpo-38472.RxfLho.rst delete mode 100644 Misc/NEWS.d/next/Build/2022-02-01-14-07-37.bpo-46600.NNLnfj.rst delete mode 100644 Misc/NEWS.d/next/Build/2022-02-02-02-06-07.bpo-46602.8GaOZ2.rst delete mode 100644 Misc/NEWS.d/next/C API/2020-09-11-02-50-41.bpo-14916.QN1Y03.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-10-18-16-54-24.bpo-45459.Y1pEZs.rst delete mode 100644 Misc/NEWS.d/next/C API/2022-01-19-16-51-54.bpo-46433.Er9ApS.rst delete mode 100644 Misc/NEWS.d/next/C API/2022-01-27-02-37-18.bpo-40170.XxQB0i.rst delete mode 100644 Misc/NEWS.d/next/C API/2022-01-27-02-51-22.bpo-40170.uPolek.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-05-04-21-55-49.bpo-44024.M9m8Qd.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-12-11-11-36-48.bpo-46045.sfThay.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-12-12-00-49-19.bpo-30512.nU9E9V.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-12-16-00-24-00.bpo-46091.rJ_e_e.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-12-16-15-04-58.bpo-46028.zfWacB.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-12-23-12-32-45.bpo-46161.EljBmu.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-12-17-15-17.bpo-46361.mgI_j_.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-14-20-55-34.bpo-46383.v8MTl4.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-16-15-40-11.bpo-46406.g0mke-.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-17-12-57-27.bpo-46409.HouS6m.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-17-23-12-01.bpo-46407.2_5a7R.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-20-17-13-49.bpo-43683.BqQ26Z.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-21-12-24-14.bpo-46417.i3IqMf.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-22-14-39-23.bpo-46417.3U5SfN.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-23-06-56-33.bpo-46481.X_FfnB.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-24-15-39-34.bpo-46476.cvP1Mr.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-24-16-58-01.bpo-46431.N6mKAx.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-24-21-24-41.bpo-46503.4UrPsE.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-25-11-44-17.bpo-46329.SEhynE.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-25-17-40-07.bpo-46528.2Qmni9.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-25-19-34-55.bpo-46527.mQLNPk.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-27-10-49-34.bpo-46458.5Gm3Gv.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-30-18-23-08.bpo-44977.BQV_zS.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-02-01-01-17-28.bpo-45885.CjyNf_.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-02-01-10-23-21.bpo-46564.6Xc2_H.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-02-01-14-30-56.bpo-45773.Up77LD.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2022-01-21-21-33-48.bpo-46463.fBbdTG.rst delete mode 100644 Misc/NEWS.d/next/IDLE/2022-01-26-19-33-55.bpo-45296.LzZKdU.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-07-31-23-18-50.bpo-44791.4jFdpO.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-12-15-06-29-00.bpo-46080.AuQpLt.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-12-16-23-42-54.bpo-46103.LMnZAN.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-12-18-18-41-30.bpo-46124.ESPrb7.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-12-28-11-55-10.bpo-21987.avBK-p.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-12-29-13-42-55.bpo-26552.1BqeAn.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-12-29-14-42-09.bpo-43118.BoVi_5.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-03-16-25-06.bpo-46242.f4l_CL.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-04-18-05-25.bpo-46258.DYgwRo.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-05-03-09-29.bpo-43012.RVhLIL.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-05-03-21-21.bpo-29688.W06bSH.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-09-15-04-56.bpo-46316.AMTyd0.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-13-11-41-24.bpo-40066.1QuVli.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-16-14-07-14.bpo-40280.LtFHfF.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-17-10-00-02.bpo-46414.Ld0b_y.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-18-17-24-21.bpo-43869.NayN12.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-20-10-35-10.bpo-46434.geS-aP.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-20-10-35-50.bpo-46422.1UAEHL.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-21-18-19-45.bpo-41906.YBaquj.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-22-05-05-08.bpo-46469.plUab5.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-22-13-17-35.bpo-46470.MnNhgU.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-22-14-45-46.bpo-46474.2DUC62.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-22-14-49-10.bpo-46474.eKQhvx.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-23-18-04-45.bpo-41403.SgoHqV.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-23-19-37-00.bpo-46436.Biz1p9.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-24-13-00-09.bpo-46483.9XnmKp.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-24-23-55-30.bpo-46491.jmIKHo.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-25-10-59-41.bpo-46510.PM5svI.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-26-20-36-30.bpo-46539.23iW1d.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-26-23-58-48.bpo-45162.4Jmg_j.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-27-11-16-59.bpo-45173.wreRF2.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-27-12-24-38.bpo-46487.UDkN2z.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-27-13-30-02.bpo-46544.oFDVWj.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-28-08-47-53.bpo-46553.f7Uc96.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-28-19-48-31.bpo-46565.bpZXO4.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-01-31-15-40-38.bpo-46591.prBD1M.rst delete mode 100644 Misc/NEWS.d/next/Library/2022-02-03-12-07-41.bpo-46624.f_Qqh0.rst delete mode 100644 Misc/NEWS.d/next/Tests/2021-12-18-22-23-50.bpo-46126.0LH3Yb.rst delete mode 100644 Misc/NEWS.d/next/Tests/2022-01-14-23-22-41.bpo-40280.nHLWoD.rst delete mode 100644 Misc/NEWS.d/next/Tests/2022-01-16-14-11-57.bpo-40280.fNnFfx.rst delete mode 100644 Misc/NEWS.d/next/Tests/2022-01-17-13-10-04.bpo-13886.5mZH4b.rst delete mode 100644 Misc/NEWS.d/next/Tests/2022-01-28-01-17-10.bpo-46542.xRLTdj.rst delete mode 100644 Misc/NEWS.d/next/Tests/2022-01-29-12-37-53.bpo-46576.-prRaV.rst delete mode 100644 Misc/NEWS.d/next/Tests/2022-01-31-17-34-13.bpo-46542.RTMm1T.rst delete mode 100644 Misc/NEWS.d/next/Tests/2022-02-01-17-13-53.bpo-46600.FMCk8Z.rst delete mode 100644 Misc/NEWS.d/next/Tests/2022-02-02-02-24-04.bpo-44359.kPPSmN.rst delete mode 100644 Misc/NEWS.d/next/Tests/2022-02-02-18-14-38.bpo-46616.URvBtE.rst delete mode 100644 Misc/NEWS.d/next/Tests/2022-02-03-00-21-32.bpo-43478.0nfcam.rst delete mode 100644 Misc/NEWS.d/next/Windows/2021-09-01-10-48-11.bpo-44934.W1xPATH.rst delete mode 100644 Misc/NEWS.d/next/Windows/2022-01-13-22-31-09.bpo-46362.f2cuEb.rst delete mode 100644 Misc/NEWS.d/next/Windows/2022-01-25-14-48-39.bpo-33125.5WyY_J.rst delete mode 100644 Misc/NEWS.d/next/macOS/2022-01-26-12-04-09.bpo-45925.yBSiYO.rst diff --git a/Include/patchlevel.h b/Include/patchlevel.h index 1715d53e83a..3ab1ce2051a 100644 --- a/Include/patchlevel.h +++ b/Include/patchlevel.h @@ -20,10 +20,10 @@ #define PY_MINOR_VERSION 11 #define PY_MICRO_VERSION 0 #define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA -#define PY_RELEASE_SERIAL 4 +#define PY_RELEASE_SERIAL 5 /* Version as a string */ -#define PY_VERSION "3.11.0a4+" +#define PY_VERSION "3.11.0a5" /*--end constants--*/ /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2. diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py index 5ce05420414..cd47603e6cf 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Autogenerated by Sphinx on Thu Jan 13 19:37:48 2022 +# Autogenerated by Sphinx on Thu Feb 3 18:35:23 2022 topics = {'assert': 'The "assert" statement\n' '**********************\n' '\n' @@ -2518,22 +2518,21 @@ topics = {'assert': 'The "assert" statement\n' ' >>> print(sys.exc_info())\n' ' (None, None, None)\n' '\n' - 'The "except*" clause(s) are used for handling "ExceptionGroup`s. ' + 'The "except*" clause(s) are used for handling "ExceptionGroup"s. ' 'The\n' - 'exception type for matching is interpreted as in the case of\n' - ':keyword:`except", but in the case of exception groups we can ' - 'have\n' - 'partial matches when the type matches some of the exceptions in ' - 'the\n' - 'group. This means that multiple except* clauses can execute, ' - 'each\n' - 'handling part of the exception group. Each clause executes once ' - 'and\n' - 'handles an exception group of all matching exceptions. Each ' - 'exception\n' - 'in the group is handled by at most one except* clause, the first ' + 'exception type for matching is interpreted as in the case of ' + '"except",\n' + 'but in the case of exception groups we can have partial matches ' + 'when\n' + 'the type matches some of the exceptions in the group. This means ' 'that\n' - 'matches it.\n' + 'multiple except* clauses can execute, each handling part of the\n' + 'exception group. Each clause executes once and handles an ' + 'exception\n' + 'group of all matching exceptions. Each exception in the group ' + 'is\n' + 'handled by at most one except* clause, the first that matches ' + 'it.\n' '\n' ' >>> try:\n' ' ... raise ExceptionGroup("eg",\n' @@ -8082,7 +8081,11 @@ topics = {'assert': 'The "assert" statement\n' '\n' ' The built-in function "int()" falls back to ' '"__trunc__()" if\n' - ' neither "__int__()" nor "__index__()" is defined.\n', + ' neither "__int__()" nor "__index__()" is defined.\n' + '\n' + ' Changed in version 3.11: The delegation of "int()" to ' + '"__trunc__()"\n' + ' is deprecated.\n', 'objects': 'Objects, values and types\n' '*************************\n' '\n' @@ -8445,12 +8448,12 @@ topics = {'assert': 'The "assert" statement\n' '\n' ' raise_stmt ::= "raise" [expression ["from" expression]]\n' '\n' - 'If no expressions are present, "raise" re-raises the last ' - 'exception\n' - 'that was active in the current scope. If no exception is active ' - 'in\n' - 'the current scope, a "RuntimeError" exception is raised indicating\n' - 'that this is an error.\n' + 'If no expressions are present, "raise" re-raises the exception that ' + 'is\n' + 'currently being handled, which is also known as the *active\n' + 'exception*. If there isn’t currently an active exception, a\n' + '"RuntimeError" exception is raised indicating that this is an ' + 'error.\n' '\n' 'Otherwise, "raise" evaluates the first expression as the exception\n' 'object. It must be either a subclass or an instance of\n' @@ -8505,11 +8508,14 @@ topics = {'assert': 'The "assert" statement\n' ' File "", line 4, in \n' ' RuntimeError: Something bad happened\n' '\n' - 'A similar mechanism works implicitly if an exception is raised ' - 'inside\n' - 'an exception handler or a "finally" clause: the previous exception ' - 'is\n' - 'then attached as the new exception’s "__context__" attribute:\n' + 'A similar mechanism works implicitly if a new exception is raised ' + 'when\n' + 'an exception is already being handled. An exception may be ' + 'handled\n' + 'when an "except" or "finally" clause, or a "with" statement, is ' + 'used.\n' + 'The previous exception is then attached as the new exception’s\n' + '"__context__" attribute:\n' '\n' ' >>> try:\n' ' ... print(1 / 0)\n' @@ -10995,6 +11001,10 @@ topics = {'assert': 'The "assert" statement\n' 'if\n' ' neither "__int__()" nor "__index__()" is defined.\n' '\n' + ' Changed in version 3.11: The delegation of "int()" to ' + '"__trunc__()"\n' + ' is deprecated.\n' + '\n' '\n' 'With Statement Context Managers\n' '===============================\n' @@ -12562,17 +12572,16 @@ topics = {'assert': 'The "assert" statement\n' ' >>> print(sys.exc_info())\n' ' (None, None, None)\n' '\n' - 'The "except*" clause(s) are used for handling "ExceptionGroup`s. The\n' - 'exception type for matching is interpreted as in the case of\n' - ':keyword:`except", but in the case of exception groups we can have\n' - 'partial matches when the type matches some of the exceptions in the\n' - 'group. This means that multiple except* clauses can execute, each\n' - 'handling part of the exception group. Each clause executes once and\n' - 'handles an exception group of all matching exceptions. Each ' - 'exception\n' - 'in the group is handled by at most one except* clause, the first ' + 'The "except*" clause(s) are used for handling "ExceptionGroup"s. The\n' + 'exception type for matching is interpreted as in the case of ' + '"except",\n' + 'but in the case of exception groups we can have partial matches when\n' + 'the type matches some of the exceptions in the group. This means ' 'that\n' - 'matches it.\n' + 'multiple except* clauses can execute, each handling part of the\n' + 'exception group. Each clause executes once and handles an exception\n' + 'group of all matching exceptions. Each exception in the group is\n' + 'handled by at most one except* clause, the first that matches it.\n' '\n' ' >>> try:\n' ' ... raise ExceptionGroup("eg",\n' diff --git a/Misc/NEWS.d/3.11.0a5.rst b/Misc/NEWS.d/3.11.0a5.rst new file mode 100644 index 00000000000..c28078da8d8 --- /dev/null +++ b/Misc/NEWS.d/3.11.0a5.rst @@ -0,0 +1,986 @@ +.. bpo: 45773 +.. date: 2022-02-01-14-30-56 +.. nonce: Up77LD +.. release date: 2022-02-03 +.. section: Core and Builtins + +Remove two invalid "peephole" optimizations from the bytecode compiler. + +.. + +.. bpo: 46564 +.. date: 2022-02-01-10-23-21 +.. nonce: 6Xc2_H +.. section: Core and Builtins + +Do not create frame objects when creating :class:`super` object. Patch by +Kumar Aditya. + +.. + +.. bpo: 45885 +.. date: 2022-02-01-01-17-28 +.. nonce: CjyNf_ +.. section: Core and Builtins + +Added more fined-grained specialization failure stats regarding the +``COMPARE_OP`` bytecode. + +.. + +.. bpo: 44977 +.. date: 2022-01-30-18-23-08 +.. nonce: BQV_zS +.. section: Core and Builtins + +The delegation of :func:`int` to :meth:`__trunc__` is now deprecated. +Calling ``int(a)`` when ``type(a)`` implements :meth:`__trunc__` but not +:meth:`__int__` or :meth:`__index__` now raises a :exc:`DeprecationWarning`. + +.. + +.. bpo: 46458 +.. date: 2022-01-27-10-49-34 +.. nonce: 5Gm3Gv +.. section: Core and Builtins + +Reorder code emitted by the compiler for a :keyword:`try`-:keyword:`except` +block so that the :keyword:`else` block's code immediately follows the +:keyword:`try` body (without a jump). This is more optimal for the happy +path. + +.. + +.. bpo: 46527 +.. date: 2022-01-25-19-34-55 +.. nonce: mQLNPk +.. section: Core and Builtins + +Allow passing ``iterable`` as a keyword argument to :func:`enumerate` again. +Patch by Jelle Zijlstra. + +.. + +.. bpo: 46528 +.. date: 2022-01-25-17-40-07 +.. nonce: 2Qmni9 +.. section: Core and Builtins + +Replace several stack manipulation instructions (``DUP_TOP``, +``DUP_TOP_TWO``, ``ROT_TWO``, ``ROT_THREE``, ``ROT_FOUR``, and ``ROT_N``) +with new :opcode:`COPY` and :opcode:`SWAP` instructions. + +.. + +.. bpo: 46329 +.. date: 2022-01-25-11-44-17 +.. nonce: SEhynE +.. section: Core and Builtins + +Use two or three bytecodes to implement most calls. + +Calls without named arguments are implemented as a sequence of two +instructions: ``PRECALL; CALL``. Calls with named arguments are implemented +as a sequence of three instructions: ``PRECALL; KW_NAMES; CALL``. There are +two different ``PRECALL`` instructions: ``PRECALL_FUNTION`` and +``PRECALL_METHOD``. The latter pairs with ``LOAD_METHOD``. + +This partition into pre-call and call allows better specialization, and thus +better performance ultimately. + +There is no change in semantics. + +.. + +.. bpo: 46503 +.. date: 2022-01-24-21-24-41 +.. nonce: 4UrPsE +.. section: Core and Builtins + +Fix an assert when parsing some invalid \N escape sequences in f-strings. + +.. + +.. bpo: 46431 +.. date: 2022-01-24-16-58-01 +.. nonce: N6mKAx +.. section: Core and Builtins + +Improve error message on invalid calls to +:meth:`BaseExceptionGroup.__new__`. + +.. + +.. bpo: 46476 +.. date: 2022-01-24-15-39-34 +.. nonce: cvP1Mr +.. section: Core and Builtins + +Fix memory leak in code objects generated by deepfreeze. Patch by Kumar +Aditya. + +.. + +.. bpo: 46481 +.. date: 2022-01-23-06-56-33 +.. nonce: X_FfnB +.. section: Core and Builtins + +Speed up calls to :meth:`weakref.ref.__call__` by using the :pep:`590` +``vectorcall`` calling convention. Patch by Dong-hee Na. + +.. + +.. bpo: 46417 +.. date: 2022-01-22-14-39-23 +.. nonce: 3U5SfN +.. section: Core and Builtins + +Fix a race condition on setting a type ``__bases__`` attribute: the internal +function ``add_subclass()`` now gets the ``PyTypeObject.tp_subclasses`` +member after calling :c:func:`PyWeakref_NewRef` which can trigger a garbage +collection which can indirectly modify ``PyTypeObject.tp_subclasses``. Patch +by Victor Stinner. + +.. + +.. bpo: 46417 +.. date: 2022-01-21-12-24-14 +.. nonce: i3IqMf +.. section: Core and Builtins + +``python -X showrefcount`` now shows the total reference count after +clearing and destroyed the main Python interpreter. Previously, it was shown +before. Patch by Victor Stinner. + +.. + +.. bpo: 43683 +.. date: 2022-01-20-17-13-49 +.. nonce: BqQ26Z +.. section: Core and Builtins + +Add ASYNC_GEN_WRAP opcode to wrap the value to be yielded in async +generators. Removes the need to special case async generators in the +``YIELD_VALUE`` instruction. + +.. + +.. bpo: 46407 +.. date: 2022-01-17-23-12-01 +.. nonce: 2_5a7R +.. section: Core and Builtins + +Optimize some modulo operations in ``Objects/longobject.c``. Patch by +Jeremiah Vivian. + +.. + +.. bpo: 46409 +.. date: 2022-01-17-12-57-27 +.. nonce: HouS6m +.. section: Core and Builtins + +Add new ``RETURN_GENERATOR`` bytecode to make generators. Simplifies calling +Python functions in the VM, as they no longer any need to special case +generator functions. + +Also add ``JUMP_NO_INTERRUPT`` bytecode that acts like ``JUMP_ABSOLUTE``, +but does not check for interrupts. + +.. + +.. bpo: 46406 +.. date: 2022-01-16-15-40-11 +.. nonce: g0mke- +.. section: Core and Builtins + +The integer division ``//`` implementation has been optimized to better let +the compiler understand its constraints. It can be 20% faster on the amd64 +platform when dividing an int by a value smaller than ``2**30``. + +.. + +.. bpo: 46383 +.. date: 2022-01-14-20-55-34 +.. nonce: v8MTl4 +.. section: Core and Builtins + +Fix invalid signature of ``_zoneinfo``'s ``module_free`` function to resolve +a crash on wasm32-emscripten platform. + +.. + +.. bpo: 46361 +.. date: 2022-01-12-17-15-17 +.. nonce: mgI_j_ +.. section: Core and Builtins + +Ensure that "small" integers created by :meth:`int.from_bytes` and +:class:`decimal.Decimal` are properly cached. + +.. + +.. bpo: 46161 +.. date: 2021-12-23-12-32-45 +.. nonce: EljBmu +.. section: Core and Builtins + +Fix the class building error when the arguments are constants and +CALL_FUNCTION_EX is used. + +.. + +.. bpo: 46028 +.. date: 2021-12-16-15-04-58 +.. nonce: zfWacB +.. section: Core and Builtins + +Fixes calculation of :data:`sys._base_executable` when inside a virtual +environment that uses symlinks with different binary names than the base +environment provides. + +.. + +.. bpo: 46091 +.. date: 2021-12-16-00-24-00 +.. nonce: rJ_e_e +.. section: Core and Builtins + +Correctly calculate indentation levels for lines with whitespace character +that are ended by line continuation characters. Patch by Pablo Galindo + +.. + +.. bpo: 30512 +.. date: 2021-12-12-00-49-19 +.. nonce: nU9E9V +.. section: Core and Builtins + +Add CAN Socket support for NetBSD. + +.. + +.. bpo: 46045 +.. date: 2021-12-11-11-36-48 +.. nonce: sfThay +.. section: Core and Builtins + +Do not use POSIX semaphores on NetBSD + +.. + +.. bpo: 44024 +.. date: 2021-05-04-21-55-49 +.. nonce: M9m8Qd +.. section: Core and Builtins + +Improve the exc:`TypeError` message for non-string second arguments passed +to the built-in functions :func:`getattr` and :func:`hasattr`. Patch by Géry +Ogam. + +.. + +.. bpo: 46624 +.. date: 2022-02-03-12-07-41 +.. nonce: f_Qqh0 +.. section: Library + +Restore support for non-integer arguments of :func:`random.randrange` and +:func:`random.randint`. + +.. + +.. bpo: 46591 +.. date: 2022-01-31-15-40-38 +.. nonce: prBD1M +.. section: Library + +Make the IDLE doc URL on the About IDLE dialog clickable. + +.. + +.. bpo: 46565 +.. date: 2022-01-28-19-48-31 +.. nonce: bpZXO4 +.. section: Library + +Remove loop variables that are leaking into modules' namespaces. + +.. + +.. bpo: 46553 +.. date: 2022-01-28-08-47-53 +.. nonce: f7Uc96 +.. section: Library + +In :func:`typing.get_type_hints`, support evaluating bare stringified +``ClassVar`` annotations. Patch by Gregory Beauregard. + +.. + +.. bpo: 46544 +.. date: 2022-01-27-13-30-02 +.. nonce: oFDVWj +.. section: Library + +Don't leak ``x`` & ``uspace`` intermediate vars in +:class:`textwrap.TextWrapper`. + +.. + +.. bpo: 46487 +.. date: 2022-01-27-12-24-38 +.. nonce: UDkN2z +.. section: Library + +Add the ``get_write_buffer_limits`` method to +:class:`asyncio.transports.WriteTransport` and to the SSL transport. + +.. + +.. bpo: 45173 +.. date: 2022-01-27-11-16-59 +.. nonce: wreRF2 +.. section: Library + +Note the configparser deprecations will be removed in Python 3.12. + +.. + +.. bpo: 45162 +.. date: 2022-01-26-23-58-48 +.. nonce: 4Jmg_j +.. section: Library + +The deprecated :mod:`unittest` APIs removed in 3.11a1 have been temporarily +restored to be removed in 3.12 while cleanups in external projects go in. + +.. + +.. bpo: 46539 +.. date: 2022-01-26-20-36-30 +.. nonce: 23iW1d +.. section: Library + +In :func:`typing.get_type_hints`, support evaluating stringified +``ClassVar`` and ``Final`` annotations inside ``Annotated``. Patch by +Gregory Beauregard. + +.. + +.. bpo: 46510 +.. date: 2022-01-25-10-59-41 +.. nonce: PM5svI +.. section: Library + +Add missing test for :class:`types.TracebackType` and +:class:`types.FrameType`. Calculate them directly from the caught exception +without calling :func:`sys.exc_info`. + +.. + +.. bpo: 46491 +.. date: 2022-01-24-23-55-30 +.. nonce: jmIKHo +.. section: Library + +Allow :data:`typing.Annotated` to wrap :data:`typing.Final` and +:data:`typing.ClassVar`. Patch by Gregory Beauregard. + +.. + +.. bpo: 46483 +.. date: 2022-01-24-13-00-09 +.. nonce: 9XnmKp +.. section: Library + +Remove :meth:`~object.__class_getitem__` from :class:`pathlib.PurePath` as +this class was not supposed to be generic. + +.. + +.. bpo: 46436 +.. date: 2022-01-23-19-37-00 +.. nonce: Biz1p9 +.. section: Library + +Fix command-line option ``-d``/``--directory`` in module :mod:`http.server` +which is ignored when combined with command-line option ``--cgi``. Patch by +Géry Ogam. + +.. + +.. bpo: 41403 +.. date: 2022-01-23-18-04-45 +.. nonce: SgoHqV +.. section: Library + +Make :meth:`mock.patch` raise a :exc:`TypeError` with a relevant error +message on invalid arg. Previously it allowed a cryptic +:exc:`AttributeError` to escape. + +.. + +.. bpo: 46474 +.. date: 2022-01-22-14-49-10 +.. nonce: eKQhvx +.. section: Library + +In ``importlib.metadata.EntryPoint.pattern``, avoid potential REDoS by +limiting ambiguity in consecutive whitespace. + +.. + +.. bpo: 46474 +.. date: 2022-01-22-14-45-46 +.. nonce: 2DUC62 +.. section: Library + +Removed private method from ``importlib.metadata.Path``. Sync with +importlib_metadata 4.10.0. + +.. + +.. bpo: 46470 +.. date: 2022-01-22-13-17-35 +.. nonce: MnNhgU +.. section: Library + +Remove unused branch from ``typing._remove_dups_flatten`` + +.. + +.. bpo: 46469 +.. date: 2022-01-22-05-05-08 +.. nonce: plUab5 +.. section: Library + +:mod:`asyncio` generic classes now return :class:`types.GenericAlias` in +``__class_getitem__`` instead of the same class. + +.. + +.. bpo: 41906 +.. date: 2022-01-21-18-19-45 +.. nonce: YBaquj +.. section: Library + +Support passing filter instances in the ``filters`` values of ``handlers`` +and ``loggers`` in the dictionary passed to +:func:`logging.config.dictConfig`. + +.. + +.. bpo: 46422 +.. date: 2022-01-20-10-35-50 +.. nonce: 1UAEHL +.. section: Library + +Use ``dis.Positions`` in ``dis.Instruction`` instead of a regular ``tuple``. + +.. + +.. bpo: 46434 +.. date: 2022-01-20-10-35-10 +.. nonce: geS-aP +.. section: Library + +:mod:`pdb` now gracefully handles ``help`` when :attr:`__doc__` is missing, +for example when run with pregenerated optimized ``.pyc`` files. + +.. + +.. bpo: 43869 +.. date: 2022-01-18-17-24-21 +.. nonce: NayN12 +.. section: Library + +Python uses the same time Epoch on all platforms. Add an explicit unit test +to ensure that it's the case. Patch by Victor Stinner. + +.. + +.. bpo: 46414 +.. date: 2022-01-17-10-00-02 +.. nonce: Ld0b_y +.. section: Library + +Add :func:`typing.reveal_type`. Patch by Jelle Zijlstra. + +.. + +.. bpo: 40280 +.. date: 2022-01-16-14-07-14 +.. nonce: LtFHfF +.. section: Library + +:mod:`subprocess` now imports Windows-specific imports when ``msvcrt`` +module is available, and POSIX-specific imports on all other platforms. This +gives a clean exception when ``_posixsubprocess`` is not available (e.g. +Emscripten browser target). + +.. + +.. bpo: 40066 +.. date: 2022-01-13-11-41-24 +.. nonce: 1QuVli +.. section: Library + +``IntEnum``, ``IntFlag``, and ``StrEnum`` use the mixed-in type for their +``str()`` and ``format()`` output. + +.. + +.. bpo: 46316 +.. date: 2022-01-09-15-04-56 +.. nonce: AMTyd0 +.. section: Library + +Optimize :meth:`pathlib.Path.iterdir` by removing an unnecessary check for +special entries. + +.. + +.. bpo: 29688 +.. date: 2022-01-05-03-21-21 +.. nonce: W06bSH +.. section: Library + +Document :meth:`pathlib.Path.absolute` (which has always existed). + +.. + +.. bpo: 43012 +.. date: 2022-01-05-03-09-29 +.. nonce: RVhLIL +.. section: Library + +The pathlib module's obsolete and internal ``_Accessor`` class has been +removed to prepare the terrain for upcoming enhancements to the module. + +.. + +.. bpo: 46258 +.. date: 2022-01-04-18-05-25 +.. nonce: DYgwRo +.. section: Library + +Speed up :func:`math.isqrt` for small positive integers by replacing two +division steps with a lookup table. + +.. + +.. bpo: 46242 +.. date: 2022-01-03-16-25-06 +.. nonce: f4l_CL +.. section: Library + +Improve error message when creating a new :class:`enum.Enum` type +subclassing an existing ``Enum`` with ``_member_names_`` using +:meth:`enum.Enum.__call__`. + +.. + +.. bpo: 43118 +.. date: 2021-12-29-14-42-09 +.. nonce: BoVi_5 +.. section: Library + +Fix a bug in :func:`inspect.signature` that was causing it to fail on some +subclasses of classes with a ``__text_signature__`` referencing module +globals. Patch by Weipeng Hong. + +.. + +.. bpo: 26552 +.. date: 2021-12-29-13-42-55 +.. nonce: 1BqeAn +.. section: Library + +Fixed case where failing :func:`asyncio.ensure_future` did not close the +coroutine. Patch by Kumar Aditya. + +.. + +.. bpo: 21987 +.. date: 2021-12-28-11-55-10 +.. nonce: avBK-p +.. section: Library + +Fix an issue with :meth:`tarfile.TarFile.getmember` getting a directory name +with a trailing slash. + +.. + +.. bpo: 46124 +.. date: 2021-12-18-18-41-30 +.. nonce: ESPrb7 +.. section: Library + +Update :mod:`zoneinfo` to rely on importlib.resources traversable API. + +.. + +.. bpo: 46103 +.. date: 2021-12-16-23-42-54 +.. nonce: LMnZAN +.. section: Library + +Now :func:`inspect.getmembers` only gets :attr:`__bases__` attribute from +class type. Patch by Weipeng Hong. + +.. + +.. bpo: 46080 +.. date: 2021-12-15-06-29-00 +.. nonce: AuQpLt +.. section: Library + +Fix exception in argparse help text generation if a +:class:`argparse.BooleanOptionalAction` argument's default is +``argparse.SUPPRESS`` and it has ``help`` specified. Patch by Felix +Fontein. + +.. + +.. bpo: 44791 +.. date: 2021-07-31-23-18-50 +.. nonce: 4jFdpO +.. section: Library + +Fix substitution of :class:`~typing.ParamSpec` in +:data:`~typing.Concatenate` with different parameter expressions. +Substitution with a list of types returns now a tuple of types. Substitution +with ``Concatenate`` returns now a ``Concatenate`` with concatenated lists +of arguments. + +.. + +.. bpo: 46463 +.. date: 2022-01-21-21-33-48 +.. nonce: fBbdTG +.. section: Documentation + +Fixes :file:`escape4chm.py` script used when building the CHM documentation +file + +.. + +.. bpo: 43478 +.. date: 2022-02-03-00-21-32 +.. nonce: 0nfcam +.. section: Tests + +Mocks can no longer be provided as the specs for other Mocks. As a result, +an already-mocked object cannot be passed to `mock.Mock()`. This can uncover +bugs in tests since these Mock-derived Mocks will always pass certain tests +(e.g. isinstance) and builtin assert functions (e.g. +assert_called_once_with) will unconditionally pass. + +.. + +.. bpo: 46616 +.. date: 2022-02-02-18-14-38 +.. nonce: URvBtE +.. section: Tests + +Ensures ``test_importlib.test_windows`` cleans up registry keys after +completion. + +.. + +.. bpo: 44359 +.. date: 2022-02-02-02-24-04 +.. nonce: kPPSmN +.. section: Tests + +test_ftplib now silently ignores socket errors to prevent logging unhandled +threading exceptions. Patch by Victor Stinner. + +.. + +.. bpo: 46600 +.. date: 2022-02-01-17-13-53 +.. nonce: FMCk8Z +.. section: Tests + +Fix test_gdb.test_pycfunction() for Python built with ``clang -Og``. +Tolerate inlined functions in the gdb traceback. Patch by Victor Stinner. + +.. + +.. bpo: 46542 +.. date: 2022-01-31-17-34-13 +.. nonce: RTMm1T +.. section: Tests + +Fix a Python crash in test_lib2to3 when using Python built in debug mode: +limit the recursion limit. Patch by Victor Stinner. + +.. + +.. bpo: 46576 +.. date: 2022-01-29-12-37-53 +.. nonce: -prRaV +.. section: Tests + +test_peg_generator now disables compiler optimization when testing +compilation of its own C extensions to significantly speed up the testing on +non-debug builds of CPython. + +.. + +.. bpo: 46542 +.. date: 2022-01-28-01-17-10 +.. nonce: xRLTdj +.. section: Tests + +Fix ``test_json`` tests checking for :exc:`RecursionError`: modify these +tests to use ``support.infinite_recursion()``. Patch by Victor Stinner. + +.. + +.. bpo: 13886 +.. date: 2022-01-17-13-10-04 +.. nonce: 5mZH4b +.. section: Tests + +Skip test_builtin PTY tests on non-ASCII characters if the readline module +is loaded. The readline module changes input() behavior, but test_builtin is +not intented to test the readline module. Patch by Victor Stinner. + +.. + +.. bpo: 40280 +.. date: 2022-01-16-14-11-57 +.. nonce: fNnFfx +.. section: Tests + +Add :func:`test.support.requires_fork` decorators to mark tests that require +a working :func:`os.fork`. + +.. + +.. bpo: 40280 +.. date: 2022-01-14-23-22-41 +.. nonce: nHLWoD +.. section: Tests + +Add :func:`test.support.requires_subprocess` decorator to mark tests which +require working :mod:`subprocess` module or ``os.spawn*``. The +wasm32-emscripten platform has no support for processes. + +.. + +.. bpo: 46126 +.. date: 2021-12-18-22-23-50 +.. nonce: 0LH3Yb +.. section: Tests + +Disable 'descriptions' when running tests internally. + +.. + +.. bpo: 46602 +.. date: 2022-02-02-02-06-07 +.. nonce: 8GaOZ2 +.. section: Build + +Tidied up configure.ac so that conftest.c is truncated rather than appended. +This assists in the case where the 'rm' of conftest.c fails to happen +between tests. Downstream issues such as a clobbered SOABI can result. + +.. + +.. bpo: 46600 +.. date: 2022-02-01-14-07-37 +.. nonce: NNLnfj +.. section: Build + +Fix the test checking if the C compiler supports ``-Og`` option in the +``./configure`` script to also use ``-Og`` on clang which supports it. Patch +by Victor Stinner. + +.. + +.. bpo: 38472 +.. date: 2022-01-26-22-59-12 +.. nonce: RxfLho +.. section: Build + +Fix GCC detection in setup.py when cross-compiling. The C compiler is now +run with LC_ALL=C. Previously, the detection failed with a German locale. + +.. + +.. bpo: 46513 +.. date: 2022-01-25-12-32-37 +.. nonce: mPm9B4 +.. section: Build + +:program:`configure` no longer uses ``AC_C_CHAR_UNSIGNED`` macro and +``pyconfig.h`` no longer defines reserved symbol ``__CHAR_UNSIGNED__``. + +.. + +.. bpo: 46471 +.. date: 2022-01-22-11-06-23 +.. nonce: 03snrE +.. section: Build + +Use global singletons for single byte bytes objects in deepfreeze. + +.. + +.. bpo: 46443 +.. date: 2022-01-20-05-27-07 +.. nonce: udCVII +.. section: Build + +Deepfreeze now uses cached small integers as it saves some space for common +small integers. + +.. + +.. bpo: 46429 +.. date: 2022-01-19-04-36-15 +.. nonce: y0OtVL +.. section: Build + +Merge all deep-frozen files into one for space savings. Patch by Kumar +Aditya. + +.. + +.. bpo: 45569 +.. date: 2022-01-09-11-24-54 +.. nonce: zCIENy +.. section: Build + +The build now defaults to using 30-bit digits for Python integers. +Previously either 15-bit or 30-bit digits would be selected, depending on +the platform. 15-bit digits may still be selected using the +``--enable-big-digits=15`` option to the ``configure`` script, or by +defining ``PYLONG_BITS_IN_DIGIT`` in ``pyconfig.h``. + +.. + +.. bpo: 45925 +.. date: 2022-01-08-12-43-31 +.. nonce: 38F3NO +.. section: Build + +Update Windows installer to use SQLite 3.37.2. + +.. + +.. bpo: 43112 +.. date: 2021-02-10-17-54-04 +.. nonce: H5Lat6 +.. section: Build + +Detect musl libc as a separate SOABI (tagged as ``linux-musl``). + +.. + +.. bpo: 33125 +.. date: 2022-01-25-14-48-39 +.. nonce: 5WyY_J +.. section: Windows + +The traditional EXE/MSI based installer for Windows is now available for +ARM64 + +.. + +.. bpo: 46362 +.. date: 2022-01-13-22-31-09 +.. nonce: f2cuEb +.. section: Windows + +os.path.abspath("C:\CON") is now fixed to return "\\.\CON", not the same +path. The regression was true of all legacy DOS devices such as COM1, LPT1, +or NUL. + +.. + +.. bpo: 44934 +.. date: 2021-09-01-10-48-11 +.. nonce: W1xPATH +.. section: Windows + +The installer now offers a command-line only option to add the installation +directory to the end of :envvar:`PATH` instead of at the start. + +.. + +.. bpo: 45925 +.. date: 2022-01-26-12-04-09 +.. nonce: yBSiYO +.. section: macOS + +Update macOS installer to SQLite 3.37.2. + +.. + +.. bpo: 45296 +.. date: 2022-01-26-19-33-55 +.. nonce: LzZKdU +.. section: IDLE + +Clarify close, quit, and exit in IDLE. In the File menu, 'Close' and 'Exit' +are now 'Close Window' (the current one) and 'Exit' is now 'Exit IDLE' (by +closing all windows). In Shell, 'quit()' and 'exit()' mean 'close Shell'. +If there are no other windows, this also exits IDLE. + +.. + +.. bpo: 40170 +.. date: 2022-01-27-02-51-22 +.. nonce: uPolek +.. section: C API + +Remove the ``PyHeapType_GET_MEMBERS()`` macro. It was exposed in the public +C API by mistake, it must only be used by Python internally. Use the +``PyTypeObject.tp_members`` member instead. Patch by Victor Stinner. + +.. + +.. bpo: 40170 +.. date: 2022-01-27-02-37-18 +.. nonce: XxQB0i +.. section: C API + +Move _Py_GetAllocatedBlocks() and _PyObject_DebugMallocStats() private +functions to the internal C API. Patch by Victor Stinner. + +.. + +.. bpo: 46433 +.. date: 2022-01-19-16-51-54 +.. nonce: Er9ApS +.. section: C API + +The internal function _PyType_GetModuleByDef now correctly handles +inheritance patterns involving static types. + +.. + +.. bpo: 45459 +.. date: 2021-10-18-16-54-24 +.. nonce: Y1pEZs +.. section: C API + +:c:type:`Py_buffer` and various ``Py_buffer`` related functions are now part +of the limited API and stable ABI. + +.. + +.. bpo: 14916 +.. date: 2020-09-11-02-50-41 +.. nonce: QN1Y03 +.. section: C API + +Fixed bug in the tokenizer that prevented ``PyRun_InteractiveOne`` from +parsing from the provided FD. diff --git a/Misc/NEWS.d/next/Build/2021-02-10-17-54-04.bpo-43112.H5Lat6.rst b/Misc/NEWS.d/next/Build/2021-02-10-17-54-04.bpo-43112.H5Lat6.rst deleted file mode 100644 index 0e250edfa3e..00000000000 --- a/Misc/NEWS.d/next/Build/2021-02-10-17-54-04.bpo-43112.H5Lat6.rst +++ /dev/null @@ -1 +0,0 @@ -Detect musl libc as a separate SOABI (tagged as ``linux-musl``). \ No newline at end of file diff --git a/Misc/NEWS.d/next/Build/2022-01-08-12-43-31.bpo-45925.38F3NO.rst b/Misc/NEWS.d/next/Build/2022-01-08-12-43-31.bpo-45925.38F3NO.rst deleted file mode 100644 index e802912bfcf..00000000000 --- a/Misc/NEWS.d/next/Build/2022-01-08-12-43-31.bpo-45925.38F3NO.rst +++ /dev/null @@ -1 +0,0 @@ -Update Windows installer to use SQLite 3.37.2. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Build/2022-01-09-11-24-54.bpo-45569.zCIENy.rst b/Misc/NEWS.d/next/Build/2022-01-09-11-24-54.bpo-45569.zCIENy.rst deleted file mode 100644 index 69716cd9af5..00000000000 --- a/Misc/NEWS.d/next/Build/2022-01-09-11-24-54.bpo-45569.zCIENy.rst +++ /dev/null @@ -1,5 +0,0 @@ -The build now defaults to using 30-bit digits for Python integers. Previously -either 15-bit or 30-bit digits would be selected, depending on the platform. -15-bit digits may still be selected using the ``--enable-big-digits=15`` option -to the ``configure`` script, or by defining ``PYLONG_BITS_IN_DIGIT`` in -``pyconfig.h``. diff --git a/Misc/NEWS.d/next/Build/2022-01-19-04-36-15.bpo-46429.y0OtVL.rst b/Misc/NEWS.d/next/Build/2022-01-19-04-36-15.bpo-46429.y0OtVL.rst deleted file mode 100644 index c983d9637fc..00000000000 --- a/Misc/NEWS.d/next/Build/2022-01-19-04-36-15.bpo-46429.y0OtVL.rst +++ /dev/null @@ -1 +0,0 @@ -Merge all deep-frozen files into one for space savings. Patch by Kumar Aditya. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Build/2022-01-20-05-27-07.bpo-46443.udCVII.rst b/Misc/NEWS.d/next/Build/2022-01-20-05-27-07.bpo-46443.udCVII.rst deleted file mode 100644 index 8e3fa197be9..00000000000 --- a/Misc/NEWS.d/next/Build/2022-01-20-05-27-07.bpo-46443.udCVII.rst +++ /dev/null @@ -1 +0,0 @@ -Deepfreeze now uses cached small integers as it saves some space for common small integers. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Build/2022-01-22-11-06-23.bpo-46471.03snrE.rst b/Misc/NEWS.d/next/Build/2022-01-22-11-06-23.bpo-46471.03snrE.rst deleted file mode 100644 index ca8f72868e6..00000000000 --- a/Misc/NEWS.d/next/Build/2022-01-22-11-06-23.bpo-46471.03snrE.rst +++ /dev/null @@ -1 +0,0 @@ -Use global singletons for single byte bytes objects in deepfreeze. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Build/2022-01-25-12-32-37.bpo-46513.mPm9B4.rst b/Misc/NEWS.d/next/Build/2022-01-25-12-32-37.bpo-46513.mPm9B4.rst deleted file mode 100644 index b8986ae31a3..00000000000 --- a/Misc/NEWS.d/next/Build/2022-01-25-12-32-37.bpo-46513.mPm9B4.rst +++ /dev/null @@ -1,2 +0,0 @@ -:program:`configure` no longer uses ``AC_C_CHAR_UNSIGNED`` macro and -``pyconfig.h`` no longer defines reserved symbol ``__CHAR_UNSIGNED__``. diff --git a/Misc/NEWS.d/next/Build/2022-01-26-22-59-12.bpo-38472.RxfLho.rst b/Misc/NEWS.d/next/Build/2022-01-26-22-59-12.bpo-38472.RxfLho.rst deleted file mode 100644 index 4e0ee70bdc5..00000000000 --- a/Misc/NEWS.d/next/Build/2022-01-26-22-59-12.bpo-38472.RxfLho.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix GCC detection in setup.py when cross-compiling. The C compiler is now -run with LC_ALL=C. Previously, the detection failed with a German locale. diff --git a/Misc/NEWS.d/next/Build/2022-02-01-14-07-37.bpo-46600.NNLnfj.rst b/Misc/NEWS.d/next/Build/2022-02-01-14-07-37.bpo-46600.NNLnfj.rst deleted file mode 100644 index 1fab655f9b2..00000000000 --- a/Misc/NEWS.d/next/Build/2022-02-01-14-07-37.bpo-46600.NNLnfj.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix the test checking if the C compiler supports ``-Og`` option in the -``./configure`` script to also use ``-Og`` on clang which supports it. Patch -by Victor Stinner. diff --git a/Misc/NEWS.d/next/Build/2022-02-02-02-06-07.bpo-46602.8GaOZ2.rst b/Misc/NEWS.d/next/Build/2022-02-02-02-06-07.bpo-46602.8GaOZ2.rst deleted file mode 100644 index a1123b44ecd..00000000000 --- a/Misc/NEWS.d/next/Build/2022-02-02-02-06-07.bpo-46602.8GaOZ2.rst +++ /dev/null @@ -1 +0,0 @@ -Tidied up configure.ac so that conftest.c is truncated rather than appended. This assists in the case where the 'rm' of conftest.c fails to happen between tests. Downstream issues such as a clobbered SOABI can result. \ No newline at end of file diff --git a/Misc/NEWS.d/next/C API/2020-09-11-02-50-41.bpo-14916.QN1Y03.rst b/Misc/NEWS.d/next/C API/2020-09-11-02-50-41.bpo-14916.QN1Y03.rst deleted file mode 100644 index 885cfc53aba..00000000000 --- a/Misc/NEWS.d/next/C API/2020-09-11-02-50-41.bpo-14916.QN1Y03.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed bug in the tokenizer that prevented ``PyRun_InteractiveOne`` from parsing from the provided FD. diff --git a/Misc/NEWS.d/next/C API/2021-10-18-16-54-24.bpo-45459.Y1pEZs.rst b/Misc/NEWS.d/next/C API/2021-10-18-16-54-24.bpo-45459.Y1pEZs.rst deleted file mode 100644 index a8d93227817..00000000000 --- a/Misc/NEWS.d/next/C API/2021-10-18-16-54-24.bpo-45459.Y1pEZs.rst +++ /dev/null @@ -1,2 +0,0 @@ -:c:type:`Py_buffer` and various ``Py_buffer`` related functions are now -part of the limited API and stable ABI. diff --git a/Misc/NEWS.d/next/C API/2022-01-19-16-51-54.bpo-46433.Er9ApS.rst b/Misc/NEWS.d/next/C API/2022-01-19-16-51-54.bpo-46433.Er9ApS.rst deleted file mode 100644 index e1987c4536b..00000000000 --- a/Misc/NEWS.d/next/C API/2022-01-19-16-51-54.bpo-46433.Er9ApS.rst +++ /dev/null @@ -1,2 +0,0 @@ -The internal function _PyType_GetModuleByDef now correctly handles -inheritance patterns involving static types. diff --git a/Misc/NEWS.d/next/C API/2022-01-27-02-37-18.bpo-40170.XxQB0i.rst b/Misc/NEWS.d/next/C API/2022-01-27-02-37-18.bpo-40170.XxQB0i.rst deleted file mode 100644 index 7b743827bb1..00000000000 --- a/Misc/NEWS.d/next/C API/2022-01-27-02-37-18.bpo-40170.XxQB0i.rst +++ /dev/null @@ -1,2 +0,0 @@ -Move _Py_GetAllocatedBlocks() and _PyObject_DebugMallocStats() private -functions to the internal C API. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/C API/2022-01-27-02-51-22.bpo-40170.uPolek.rst b/Misc/NEWS.d/next/C API/2022-01-27-02-51-22.bpo-40170.uPolek.rst deleted file mode 100644 index 6b185f0284e..00000000000 --- a/Misc/NEWS.d/next/C API/2022-01-27-02-51-22.bpo-40170.uPolek.rst +++ /dev/null @@ -1,4 +0,0 @@ -Remove the ``PyHeapType_GET_MEMBERS()`` macro. It was exposed in the public C -API by mistake, it must only be used by Python internally. Use the -``PyTypeObject.tp_members`` member instead. Patch by Victor Stinner. - diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-05-04-21-55-49.bpo-44024.M9m8Qd.rst b/Misc/NEWS.d/next/Core and Builtins/2021-05-04-21-55-49.bpo-44024.M9m8Qd.rst deleted file mode 100644 index 5037413353d..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-05-04-21-55-49.bpo-44024.M9m8Qd.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve the exc:`TypeError` message for non-string second arguments passed to -the built-in functions :func:`getattr` and :func:`hasattr`. Patch by Géry Ogam. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-11-11-36-48.bpo-46045.sfThay.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-11-11-36-48.bpo-46045.sfThay.rst deleted file mode 100644 index 97fd1883eb2..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-11-11-36-48.bpo-46045.sfThay.rst +++ /dev/null @@ -1 +0,0 @@ -Do not use POSIX semaphores on NetBSD diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-12-00-49-19.bpo-30512.nU9E9V.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-12-00-49-19.bpo-30512.nU9E9V.rst deleted file mode 100644 index da2ce12fec1..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-12-00-49-19.bpo-30512.nU9E9V.rst +++ /dev/null @@ -1 +0,0 @@ -Add CAN Socket support for NetBSD. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-16-00-24-00.bpo-46091.rJ_e_e.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-16-00-24-00.bpo-46091.rJ_e_e.rst deleted file mode 100644 index a2eee0f3ebd..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-16-00-24-00.bpo-46091.rJ_e_e.rst +++ /dev/null @@ -1,2 +0,0 @@ -Correctly calculate indentation levels for lines with whitespace character -that are ended by line continuation characters. Patch by Pablo Galindo diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-16-15-04-58.bpo-46028.zfWacB.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-16-15-04-58.bpo-46028.zfWacB.rst deleted file mode 100644 index cc34c0fa240..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-16-15-04-58.bpo-46028.zfWacB.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixes calculation of :data:`sys._base_executable` when inside a virtual -environment that uses symlinks with different binary names than the base -environment provides. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-23-12-32-45.bpo-46161.EljBmu.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-23-12-32-45.bpo-46161.EljBmu.rst deleted file mode 100644 index 3eeb358c520..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-23-12-32-45.bpo-46161.EljBmu.rst +++ /dev/null @@ -1 +0,0 @@ -Fix the class building error when the arguments are constants and CALL_FUNCTION_EX is used. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-12-17-15-17.bpo-46361.mgI_j_.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-12-17-15-17.bpo-46361.mgI_j_.rst deleted file mode 100644 index eef877d5cbd..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-12-17-15-17.bpo-46361.mgI_j_.rst +++ /dev/null @@ -1,2 +0,0 @@ -Ensure that "small" integers created by :meth:`int.from_bytes` and -:class:`decimal.Decimal` are properly cached. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-14-20-55-34.bpo-46383.v8MTl4.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-14-20-55-34.bpo-46383.v8MTl4.rst deleted file mode 100644 index 8f8b12732a6..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-14-20-55-34.bpo-46383.v8MTl4.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix invalid signature of ``_zoneinfo``'s ``module_free`` function to resolve -a crash on wasm32-emscripten platform. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-16-15-40-11.bpo-46406.g0mke-.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-16-15-40-11.bpo-46406.g0mke-.rst deleted file mode 100644 index 20d1e08bfd4..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-16-15-40-11.bpo-46406.g0mke-.rst +++ /dev/null @@ -1,3 +0,0 @@ -The integer division ``//`` implementation has been optimized to better let the -compiler understand its constraints. It can be 20% faster on the amd64 platform -when dividing an int by a value smaller than ``2**30``. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-17-12-57-27.bpo-46409.HouS6m.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-17-12-57-27.bpo-46409.HouS6m.rst deleted file mode 100644 index aa61bc52011..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-17-12-57-27.bpo-46409.HouS6m.rst +++ /dev/null @@ -1,6 +0,0 @@ -Add new ``RETURN_GENERATOR`` bytecode to make generators. -Simplifies calling Python functions in the VM, as they no -longer any need to special case generator functions. - -Also add ``JUMP_NO_INTERRUPT`` bytecode that acts like -``JUMP_ABSOLUTE``, but does not check for interrupts. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-17-23-12-01.bpo-46407.2_5a7R.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-17-23-12-01.bpo-46407.2_5a7R.rst deleted file mode 100644 index e7f555f1ffc..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-17-23-12-01.bpo-46407.2_5a7R.rst +++ /dev/null @@ -1 +0,0 @@ -Optimize some modulo operations in ``Objects/longobject.c``. Patch by Jeremiah Vivian. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-20-17-13-49.bpo-43683.BqQ26Z.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-20-17-13-49.bpo-43683.BqQ26Z.rst deleted file mode 100644 index 737f44f296c..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-20-17-13-49.bpo-43683.BqQ26Z.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add ASYNC_GEN_WRAP opcode to wrap the value to be yielded in async -generators. Removes the need to special case async generators in the -``YIELD_VALUE`` instruction. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-21-12-24-14.bpo-46417.i3IqMf.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-21-12-24-14.bpo-46417.i3IqMf.rst deleted file mode 100644 index c7e2ee33500..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-21-12-24-14.bpo-46417.i3IqMf.rst +++ /dev/null @@ -1,3 +0,0 @@ -``python -X showrefcount`` now shows the total reference count after clearing -and destroyed the main Python interpreter. Previously, it was shown before. -Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-22-14-39-23.bpo-46417.3U5SfN.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-22-14-39-23.bpo-46417.3U5SfN.rst deleted file mode 100644 index 54fe09b7ba4..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-22-14-39-23.bpo-46417.3U5SfN.rst +++ /dev/null @@ -1,5 +0,0 @@ -Fix a race condition on setting a type ``__bases__`` attribute: the internal -function ``add_subclass()`` now gets the ``PyTypeObject.tp_subclasses`` -member after calling :c:func:`PyWeakref_NewRef` which can trigger a garbage -collection which can indirectly modify ``PyTypeObject.tp_subclasses``. Patch -by Victor Stinner. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-23-06-56-33.bpo-46481.X_FfnB.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-23-06-56-33.bpo-46481.X_FfnB.rst deleted file mode 100644 index edab2eb0144..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-23-06-56-33.bpo-46481.X_FfnB.rst +++ /dev/null @@ -1,2 +0,0 @@ -Speed up calls to :meth:`weakref.ref.__call__` by using the :pep:`590` -``vectorcall`` calling convention. Patch by Dong-hee Na. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-24-15-39-34.bpo-46476.cvP1Mr.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-24-15-39-34.bpo-46476.cvP1Mr.rst deleted file mode 100644 index 26079839a5f..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-24-15-39-34.bpo-46476.cvP1Mr.rst +++ /dev/null @@ -1 +0,0 @@ -Fix memory leak in code objects generated by deepfreeze. Patch by Kumar Aditya. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-24-16-58-01.bpo-46431.N6mKAx.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-24-16-58-01.bpo-46431.N6mKAx.rst deleted file mode 100644 index 3a2af9df03c..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-24-16-58-01.bpo-46431.N6mKAx.rst +++ /dev/null @@ -1 +0,0 @@ -Improve error message on invalid calls to :meth:`BaseExceptionGroup.__new__`. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-24-21-24-41.bpo-46503.4UrPsE.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-24-21-24-41.bpo-46503.4UrPsE.rst deleted file mode 100644 index e48028d72ca..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-24-21-24-41.bpo-46503.4UrPsE.rst +++ /dev/null @@ -1 +0,0 @@ -Fix an assert when parsing some invalid \N escape sequences in f-strings. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-25-11-44-17.bpo-46329.SEhynE.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-25-11-44-17.bpo-46329.SEhynE.rst deleted file mode 100644 index 43332975dc0..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-25-11-44-17.bpo-46329.SEhynE.rst +++ /dev/null @@ -1,12 +0,0 @@ -Use two or three bytecodes to implement most calls. - -Calls without named arguments are implemented as a sequence of two -instructions: ``PRECALL; CALL``. Calls with named arguments are implemented -as a sequence of three instructions: ``PRECALL; KW_NAMES; CALL``. There are -two different ``PRECALL`` instructions: ``PRECALL_FUNTION`` and -``PRECALL_METHOD``. The latter pairs with ``LOAD_METHOD``. - -This partition into pre-call and call allows better specialization, and thus -better performance ultimately. - -There is no change in semantics. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-25-17-40-07.bpo-46528.2Qmni9.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-25-17-40-07.bpo-46528.2Qmni9.rst deleted file mode 100644 index f1639f8b3f0..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-25-17-40-07.bpo-46528.2Qmni9.rst +++ /dev/null @@ -1,3 +0,0 @@ -Replace several stack manipulation instructions (``DUP_TOP``, -``DUP_TOP_TWO``, ``ROT_TWO``, ``ROT_THREE``, ``ROT_FOUR``, and ``ROT_N``) -with new :opcode:`COPY` and :opcode:`SWAP` instructions. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-25-19-34-55.bpo-46527.mQLNPk.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-25-19-34-55.bpo-46527.mQLNPk.rst deleted file mode 100644 index c9fd0ed05e2..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-25-19-34-55.bpo-46527.mQLNPk.rst +++ /dev/null @@ -1,2 +0,0 @@ -Allow passing ``iterable`` as a keyword argument to :func:`enumerate` again. -Patch by Jelle Zijlstra. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-27-10-49-34.bpo-46458.5Gm3Gv.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-27-10-49-34.bpo-46458.5Gm3Gv.rst deleted file mode 100644 index 25f9ca3b454..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-27-10-49-34.bpo-46458.5Gm3Gv.rst +++ /dev/null @@ -1,4 +0,0 @@ -Reorder code emitted by the compiler for a :keyword:`try`-:keyword:`except` -block so that the :keyword:`else` block's code immediately follows the -:keyword:`try` body (without a jump). This is more optimal for the happy -path. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-30-18-23-08.bpo-44977.BQV_zS.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-30-18-23-08.bpo-44977.BQV_zS.rst deleted file mode 100644 index 84c1191bdbd..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-30-18-23-08.bpo-44977.BQV_zS.rst +++ /dev/null @@ -1,3 +0,0 @@ -The delegation of :func:`int` to :meth:`__trunc__` is now deprecated. -Calling ``int(a)`` when ``type(a)`` implements :meth:`__trunc__` but not -:meth:`__int__` or :meth:`__index__` now raises a :exc:`DeprecationWarning`. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-02-01-01-17-28.bpo-45885.CjyNf_.rst b/Misc/NEWS.d/next/Core and Builtins/2022-02-01-01-17-28.bpo-45885.CjyNf_.rst deleted file mode 100644 index 6395bd1f18d..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-02-01-01-17-28.bpo-45885.CjyNf_.rst +++ /dev/null @@ -1 +0,0 @@ -Added more fined-grained specialization failure stats regarding the ``COMPARE_OP`` bytecode. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-02-01-10-23-21.bpo-46564.6Xc2_H.rst b/Misc/NEWS.d/next/Core and Builtins/2022-02-01-10-23-21.bpo-46564.6Xc2_H.rst deleted file mode 100644 index 4ffa6800989..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-02-01-10-23-21.bpo-46564.6Xc2_H.rst +++ /dev/null @@ -1 +0,0 @@ -Do not create frame objects when creating :class:`super` object. Patch by Kumar Aditya. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-02-01-14-30-56.bpo-45773.Up77LD.rst b/Misc/NEWS.d/next/Core and Builtins/2022-02-01-14-30-56.bpo-45773.Up77LD.rst deleted file mode 100644 index 45da5116fc9..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-02-01-14-30-56.bpo-45773.Up77LD.rst +++ /dev/null @@ -1 +0,0 @@ -Remove two invalid "peephole" optimizations from the bytecode compiler. diff --git a/Misc/NEWS.d/next/Documentation/2022-01-21-21-33-48.bpo-46463.fBbdTG.rst b/Misc/NEWS.d/next/Documentation/2022-01-21-21-33-48.bpo-46463.fBbdTG.rst deleted file mode 100644 index d418190bb8f..00000000000 --- a/Misc/NEWS.d/next/Documentation/2022-01-21-21-33-48.bpo-46463.fBbdTG.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixes :file:`escape4chm.py` script used when building the CHM documentation -file diff --git a/Misc/NEWS.d/next/IDLE/2022-01-26-19-33-55.bpo-45296.LzZKdU.rst b/Misc/NEWS.d/next/IDLE/2022-01-26-19-33-55.bpo-45296.LzZKdU.rst deleted file mode 100644 index a5b0f8b4ffa..00000000000 --- a/Misc/NEWS.d/next/IDLE/2022-01-26-19-33-55.bpo-45296.LzZKdU.rst +++ /dev/null @@ -1,4 +0,0 @@ -Clarify close, quit, and exit in IDLE. In the File menu, 'Close' and 'Exit' -are now 'Close Window' (the current one) and 'Exit' is now 'Exit IDLE' -(by closing all windows). In Shell, 'quit()' and 'exit()' mean 'close Shell'. -If there are no other windows, this also exits IDLE. diff --git a/Misc/NEWS.d/next/Library/2021-07-31-23-18-50.bpo-44791.4jFdpO.rst b/Misc/NEWS.d/next/Library/2021-07-31-23-18-50.bpo-44791.4jFdpO.rst deleted file mode 100644 index 8182aa4e535..00000000000 --- a/Misc/NEWS.d/next/Library/2021-07-31-23-18-50.bpo-44791.4jFdpO.rst +++ /dev/null @@ -1,5 +0,0 @@ -Fix substitution of :class:`~typing.ParamSpec` in -:data:`~typing.Concatenate` with different parameter expressions. -Substitution with a list of types returns now a tuple of types. Substitution -with ``Concatenate`` returns now a ``Concatenate`` with concatenated lists -of arguments. diff --git a/Misc/NEWS.d/next/Library/2021-12-15-06-29-00.bpo-46080.AuQpLt.rst b/Misc/NEWS.d/next/Library/2021-12-15-06-29-00.bpo-46080.AuQpLt.rst deleted file mode 100644 index e42d84e31e7..00000000000 --- a/Misc/NEWS.d/next/Library/2021-12-15-06-29-00.bpo-46080.AuQpLt.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix exception in argparse help text generation if a -:class:`argparse.BooleanOptionalAction` argument's default is -``argparse.SUPPRESS`` and it has ``help`` specified. Patch by Felix Fontein. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-12-16-23-42-54.bpo-46103.LMnZAN.rst b/Misc/NEWS.d/next/Library/2021-12-16-23-42-54.bpo-46103.LMnZAN.rst deleted file mode 100644 index 3becbc3de8f..00000000000 --- a/Misc/NEWS.d/next/Library/2021-12-16-23-42-54.bpo-46103.LMnZAN.rst +++ /dev/null @@ -1,2 +0,0 @@ -Now :func:`inspect.getmembers` only gets :attr:`__bases__` attribute from -class type. Patch by Weipeng Hong. diff --git a/Misc/NEWS.d/next/Library/2021-12-18-18-41-30.bpo-46124.ESPrb7.rst b/Misc/NEWS.d/next/Library/2021-12-18-18-41-30.bpo-46124.ESPrb7.rst deleted file mode 100644 index 26f9f81303a..00000000000 --- a/Misc/NEWS.d/next/Library/2021-12-18-18-41-30.bpo-46124.ESPrb7.rst +++ /dev/null @@ -1 +0,0 @@ -Update :mod:`zoneinfo` to rely on importlib.resources traversable API. diff --git a/Misc/NEWS.d/next/Library/2021-12-28-11-55-10.bpo-21987.avBK-p.rst b/Misc/NEWS.d/next/Library/2021-12-28-11-55-10.bpo-21987.avBK-p.rst deleted file mode 100644 index 305dd16d53b..00000000000 --- a/Misc/NEWS.d/next/Library/2021-12-28-11-55-10.bpo-21987.avBK-p.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix an issue with :meth:`tarfile.TarFile.getmember` getting a directory name -with a trailing slash. diff --git a/Misc/NEWS.d/next/Library/2021-12-29-13-42-55.bpo-26552.1BqeAn.rst b/Misc/NEWS.d/next/Library/2021-12-29-13-42-55.bpo-26552.1BqeAn.rst deleted file mode 100644 index 85b6a64ef53..00000000000 --- a/Misc/NEWS.d/next/Library/2021-12-29-13-42-55.bpo-26552.1BqeAn.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed case where failing :func:`asyncio.ensure_future` did not close the coroutine. Patch by Kumar Aditya. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-12-29-14-42-09.bpo-43118.BoVi_5.rst b/Misc/NEWS.d/next/Library/2021-12-29-14-42-09.bpo-43118.BoVi_5.rst deleted file mode 100644 index a37c22cd78c..00000000000 --- a/Misc/NEWS.d/next/Library/2021-12-29-14-42-09.bpo-43118.BoVi_5.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix a bug in :func:`inspect.signature` that was causing it to fail on some -subclasses of classes with a ``__text_signature__`` referencing module -globals. Patch by Weipeng Hong. diff --git a/Misc/NEWS.d/next/Library/2022-01-03-16-25-06.bpo-46242.f4l_CL.rst b/Misc/NEWS.d/next/Library/2022-01-03-16-25-06.bpo-46242.f4l_CL.rst deleted file mode 100644 index 6a5b5fdffda..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-03-16-25-06.bpo-46242.f4l_CL.rst +++ /dev/null @@ -1 +0,0 @@ -Improve error message when creating a new :class:`enum.Enum` type subclassing an existing ``Enum`` with ``_member_names_`` using :meth:`enum.Enum.__call__`. diff --git a/Misc/NEWS.d/next/Library/2022-01-04-18-05-25.bpo-46258.DYgwRo.rst b/Misc/NEWS.d/next/Library/2022-01-04-18-05-25.bpo-46258.DYgwRo.rst deleted file mode 100644 index b918ed1a5d9..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-04-18-05-25.bpo-46258.DYgwRo.rst +++ /dev/null @@ -1,2 +0,0 @@ -Speed up :func:`math.isqrt` for small positive integers by replacing two -division steps with a lookup table. diff --git a/Misc/NEWS.d/next/Library/2022-01-05-03-09-29.bpo-43012.RVhLIL.rst b/Misc/NEWS.d/next/Library/2022-01-05-03-09-29.bpo-43012.RVhLIL.rst deleted file mode 100644 index c6a6723a96b..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-05-03-09-29.bpo-43012.RVhLIL.rst +++ /dev/null @@ -1,2 +0,0 @@ -The pathlib module's obsolete and internal ``_Accessor`` class has been -removed to prepare the terrain for upcoming enhancements to the module. diff --git a/Misc/NEWS.d/next/Library/2022-01-05-03-21-21.bpo-29688.W06bSH.rst b/Misc/NEWS.d/next/Library/2022-01-05-03-21-21.bpo-29688.W06bSH.rst deleted file mode 100644 index 1a202e59b07..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-05-03-21-21.bpo-29688.W06bSH.rst +++ /dev/null @@ -1 +0,0 @@ -Document :meth:`pathlib.Path.absolute` (which has always existed). diff --git a/Misc/NEWS.d/next/Library/2022-01-09-15-04-56.bpo-46316.AMTyd0.rst b/Misc/NEWS.d/next/Library/2022-01-09-15-04-56.bpo-46316.AMTyd0.rst deleted file mode 100644 index 09acb77855f..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-09-15-04-56.bpo-46316.AMTyd0.rst +++ /dev/null @@ -1 +0,0 @@ -Optimize :meth:`pathlib.Path.iterdir` by removing an unnecessary check for special entries. diff --git a/Misc/NEWS.d/next/Library/2022-01-13-11-41-24.bpo-40066.1QuVli.rst b/Misc/NEWS.d/next/Library/2022-01-13-11-41-24.bpo-40066.1QuVli.rst deleted file mode 100644 index 2df48785578..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-13-11-41-24.bpo-40066.1QuVli.rst +++ /dev/null @@ -1,2 +0,0 @@ -``IntEnum``, ``IntFlag``, and ``StrEnum`` use the mixed-in type for their -``str()`` and ``format()`` output. diff --git a/Misc/NEWS.d/next/Library/2022-01-16-14-07-14.bpo-40280.LtFHfF.rst b/Misc/NEWS.d/next/Library/2022-01-16-14-07-14.bpo-40280.LtFHfF.rst deleted file mode 100644 index f5d76760678..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-16-14-07-14.bpo-40280.LtFHfF.rst +++ /dev/null @@ -1,4 +0,0 @@ -:mod:`subprocess` now imports Windows-specific imports when -``msvcrt`` module is available, and POSIX-specific imports on all other -platforms. This gives a clean exception when ``_posixsubprocess`` is not -available (e.g. Emscripten browser target). diff --git a/Misc/NEWS.d/next/Library/2022-01-17-10-00-02.bpo-46414.Ld0b_y.rst b/Misc/NEWS.d/next/Library/2022-01-17-10-00-02.bpo-46414.Ld0b_y.rst deleted file mode 100644 index 0fdbfa77d9b..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-17-10-00-02.bpo-46414.Ld0b_y.rst +++ /dev/null @@ -1 +0,0 @@ -Add :func:`typing.reveal_type`. Patch by Jelle Zijlstra. diff --git a/Misc/NEWS.d/next/Library/2022-01-18-17-24-21.bpo-43869.NayN12.rst b/Misc/NEWS.d/next/Library/2022-01-18-17-24-21.bpo-43869.NayN12.rst deleted file mode 100644 index 5486c95b068..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-18-17-24-21.bpo-43869.NayN12.rst +++ /dev/null @@ -1,2 +0,0 @@ -Python uses the same time Epoch on all platforms. Add an explicit unit test -to ensure that it's the case. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Library/2022-01-20-10-35-10.bpo-46434.geS-aP.rst b/Misc/NEWS.d/next/Library/2022-01-20-10-35-10.bpo-46434.geS-aP.rst deleted file mode 100644 index 6000781fa5a..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-20-10-35-10.bpo-46434.geS-aP.rst +++ /dev/null @@ -1,2 +0,0 @@ -:mod:`pdb` now gracefully handles ``help`` when :attr:`__doc__` is missing, -for example when run with pregenerated optimized ``.pyc`` files. diff --git a/Misc/NEWS.d/next/Library/2022-01-20-10-35-50.bpo-46422.1UAEHL.rst b/Misc/NEWS.d/next/Library/2022-01-20-10-35-50.bpo-46422.1UAEHL.rst deleted file mode 100644 index 831f5263590..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-20-10-35-50.bpo-46422.1UAEHL.rst +++ /dev/null @@ -1 +0,0 @@ -Use ``dis.Positions`` in ``dis.Instruction`` instead of a regular ``tuple``. diff --git a/Misc/NEWS.d/next/Library/2022-01-21-18-19-45.bpo-41906.YBaquj.rst b/Misc/NEWS.d/next/Library/2022-01-21-18-19-45.bpo-41906.YBaquj.rst deleted file mode 100644 index be707130875..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-21-18-19-45.bpo-41906.YBaquj.rst +++ /dev/null @@ -1,2 +0,0 @@ -Support passing filter instances in the ``filters`` values of ``handlers`` and -``loggers`` in the dictionary passed to :func:`logging.config.dictConfig`. diff --git a/Misc/NEWS.d/next/Library/2022-01-22-05-05-08.bpo-46469.plUab5.rst b/Misc/NEWS.d/next/Library/2022-01-22-05-05-08.bpo-46469.plUab5.rst deleted file mode 100644 index 0d0e4b5d3d7..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-22-05-05-08.bpo-46469.plUab5.rst +++ /dev/null @@ -1 +0,0 @@ -:mod:`asyncio` generic classes now return :class:`types.GenericAlias` in ``__class_getitem__`` instead of the same class. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2022-01-22-13-17-35.bpo-46470.MnNhgU.rst b/Misc/NEWS.d/next/Library/2022-01-22-13-17-35.bpo-46470.MnNhgU.rst deleted file mode 100644 index 45b9cea3cd5..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-22-13-17-35.bpo-46470.MnNhgU.rst +++ /dev/null @@ -1 +0,0 @@ -Remove unused branch from ``typing._remove_dups_flatten`` diff --git a/Misc/NEWS.d/next/Library/2022-01-22-14-45-46.bpo-46474.2DUC62.rst b/Misc/NEWS.d/next/Library/2022-01-22-14-45-46.bpo-46474.2DUC62.rst deleted file mode 100644 index a5eafdf30f1..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-22-14-45-46.bpo-46474.2DUC62.rst +++ /dev/null @@ -1,2 +0,0 @@ -Removed private method from ``importlib.metadata.Path``. Sync with -importlib_metadata 4.10.0. diff --git a/Misc/NEWS.d/next/Library/2022-01-22-14-49-10.bpo-46474.eKQhvx.rst b/Misc/NEWS.d/next/Library/2022-01-22-14-49-10.bpo-46474.eKQhvx.rst deleted file mode 100644 index 156b7de4f67..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-22-14-49-10.bpo-46474.eKQhvx.rst +++ /dev/null @@ -1,2 +0,0 @@ -In ``importlib.metadata.EntryPoint.pattern``, avoid potential REDoS by -limiting ambiguity in consecutive whitespace. diff --git a/Misc/NEWS.d/next/Library/2022-01-23-18-04-45.bpo-41403.SgoHqV.rst b/Misc/NEWS.d/next/Library/2022-01-23-18-04-45.bpo-41403.SgoHqV.rst deleted file mode 100644 index ede159b2564..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-23-18-04-45.bpo-41403.SgoHqV.rst +++ /dev/null @@ -1,3 +0,0 @@ -Make :meth:`mock.patch` raise a :exc:`TypeError` with a relevant error -message on invalid arg. Previously it allowed a cryptic -:exc:`AttributeError` to escape. diff --git a/Misc/NEWS.d/next/Library/2022-01-23-19-37-00.bpo-46436.Biz1p9.rst b/Misc/NEWS.d/next/Library/2022-01-23-19-37-00.bpo-46436.Biz1p9.rst deleted file mode 100644 index ccfd9495064..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-23-19-37-00.bpo-46436.Biz1p9.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix command-line option ``-d``/``--directory`` in module :mod:`http.server` -which is ignored when combined with command-line option ``--cgi``. Patch by -Géry Ogam. diff --git a/Misc/NEWS.d/next/Library/2022-01-24-13-00-09.bpo-46483.9XnmKp.rst b/Misc/NEWS.d/next/Library/2022-01-24-13-00-09.bpo-46483.9XnmKp.rst deleted file mode 100644 index 89cc818a9c5..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-24-13-00-09.bpo-46483.9XnmKp.rst +++ /dev/null @@ -1 +0,0 @@ -Remove :meth:`~object.__class_getitem__` from :class:`pathlib.PurePath` as this class was not supposed to be generic. diff --git a/Misc/NEWS.d/next/Library/2022-01-24-23-55-30.bpo-46491.jmIKHo.rst b/Misc/NEWS.d/next/Library/2022-01-24-23-55-30.bpo-46491.jmIKHo.rst deleted file mode 100644 index f66e8868f75..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-24-23-55-30.bpo-46491.jmIKHo.rst +++ /dev/null @@ -1 +0,0 @@ -Allow :data:`typing.Annotated` to wrap :data:`typing.Final` and :data:`typing.ClassVar`. Patch by Gregory Beauregard. diff --git a/Misc/NEWS.d/next/Library/2022-01-25-10-59-41.bpo-46510.PM5svI.rst b/Misc/NEWS.d/next/Library/2022-01-25-10-59-41.bpo-46510.PM5svI.rst deleted file mode 100644 index b416a169227..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-25-10-59-41.bpo-46510.PM5svI.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add missing test for :class:`types.TracebackType` and -:class:`types.FrameType`. Calculate them directly from the caught exception -without calling :func:`sys.exc_info`. diff --git a/Misc/NEWS.d/next/Library/2022-01-26-20-36-30.bpo-46539.23iW1d.rst b/Misc/NEWS.d/next/Library/2022-01-26-20-36-30.bpo-46539.23iW1d.rst deleted file mode 100644 index 2bdde21b6e5..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-26-20-36-30.bpo-46539.23iW1d.rst +++ /dev/null @@ -1 +0,0 @@ -In :func:`typing.get_type_hints`, support evaluating stringified ``ClassVar`` and ``Final`` annotations inside ``Annotated``. Patch by Gregory Beauregard. diff --git a/Misc/NEWS.d/next/Library/2022-01-26-23-58-48.bpo-45162.4Jmg_j.rst b/Misc/NEWS.d/next/Library/2022-01-26-23-58-48.bpo-45162.4Jmg_j.rst deleted file mode 100644 index 29fee1ef9ce..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-26-23-58-48.bpo-45162.4Jmg_j.rst +++ /dev/null @@ -1,3 +0,0 @@ -The deprecated :mod:`unittest` APIs removed in 3.11a1 have been -temporarily restored to be removed in 3.12 while cleanups in external -projects go in. diff --git a/Misc/NEWS.d/next/Library/2022-01-27-11-16-59.bpo-45173.wreRF2.rst b/Misc/NEWS.d/next/Library/2022-01-27-11-16-59.bpo-45173.wreRF2.rst deleted file mode 100644 index ee5a88f6214..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-27-11-16-59.bpo-45173.wreRF2.rst +++ /dev/null @@ -1 +0,0 @@ -Note the configparser deprecations will be removed in Python 3.12. diff --git a/Misc/NEWS.d/next/Library/2022-01-27-12-24-38.bpo-46487.UDkN2z.rst b/Misc/NEWS.d/next/Library/2022-01-27-12-24-38.bpo-46487.UDkN2z.rst deleted file mode 100644 index adbc50a4bf9..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-27-12-24-38.bpo-46487.UDkN2z.rst +++ /dev/null @@ -1 +0,0 @@ -Add the ``get_write_buffer_limits`` method to :class:`asyncio.transports.WriteTransport` and to the SSL transport. diff --git a/Misc/NEWS.d/next/Library/2022-01-27-13-30-02.bpo-46544.oFDVWj.rst b/Misc/NEWS.d/next/Library/2022-01-27-13-30-02.bpo-46544.oFDVWj.rst deleted file mode 100644 index 63b47e55f1b..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-27-13-30-02.bpo-46544.oFDVWj.rst +++ /dev/null @@ -1,2 +0,0 @@ -Don't leak ``x`` & ``uspace`` intermediate vars in -:class:`textwrap.TextWrapper`. diff --git a/Misc/NEWS.d/next/Library/2022-01-28-08-47-53.bpo-46553.f7Uc96.rst b/Misc/NEWS.d/next/Library/2022-01-28-08-47-53.bpo-46553.f7Uc96.rst deleted file mode 100644 index 2c03912afcb..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-28-08-47-53.bpo-46553.f7Uc96.rst +++ /dev/null @@ -1 +0,0 @@ -In :func:`typing.get_type_hints`, support evaluating bare stringified ``ClassVar`` annotations. Patch by Gregory Beauregard. diff --git a/Misc/NEWS.d/next/Library/2022-01-28-19-48-31.bpo-46565.bpZXO4.rst b/Misc/NEWS.d/next/Library/2022-01-28-19-48-31.bpo-46565.bpZXO4.rst deleted file mode 100644 index 9b0969ea589..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-28-19-48-31.bpo-46565.bpZXO4.rst +++ /dev/null @@ -1 +0,0 @@ -Remove loop variables that are leaking into modules' namespaces. diff --git a/Misc/NEWS.d/next/Library/2022-01-31-15-40-38.bpo-46591.prBD1M.rst b/Misc/NEWS.d/next/Library/2022-01-31-15-40-38.bpo-46591.prBD1M.rst deleted file mode 100644 index 7785faa1c4c..00000000000 --- a/Misc/NEWS.d/next/Library/2022-01-31-15-40-38.bpo-46591.prBD1M.rst +++ /dev/null @@ -1 +0,0 @@ -Make the IDLE doc URL on the About IDLE dialog clickable. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2022-02-03-12-07-41.bpo-46624.f_Qqh0.rst b/Misc/NEWS.d/next/Library/2022-02-03-12-07-41.bpo-46624.f_Qqh0.rst deleted file mode 100644 index b0203b9a8b5..00000000000 --- a/Misc/NEWS.d/next/Library/2022-02-03-12-07-41.bpo-46624.f_Qqh0.rst +++ /dev/null @@ -1 +0,0 @@ -Restore support for non-integer arguments of :func:`random.randrange` and :func:`random.randint`. diff --git a/Misc/NEWS.d/next/Tests/2021-12-18-22-23-50.bpo-46126.0LH3Yb.rst b/Misc/NEWS.d/next/Tests/2021-12-18-22-23-50.bpo-46126.0LH3Yb.rst deleted file mode 100644 index b7360b36454..00000000000 --- a/Misc/NEWS.d/next/Tests/2021-12-18-22-23-50.bpo-46126.0LH3Yb.rst +++ /dev/null @@ -1 +0,0 @@ -Disable 'descriptions' when running tests internally. diff --git a/Misc/NEWS.d/next/Tests/2022-01-14-23-22-41.bpo-40280.nHLWoD.rst b/Misc/NEWS.d/next/Tests/2022-01-14-23-22-41.bpo-40280.nHLWoD.rst deleted file mode 100644 index 67134f1191c..00000000000 --- a/Misc/NEWS.d/next/Tests/2022-01-14-23-22-41.bpo-40280.nHLWoD.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add :func:`test.support.requires_subprocess` decorator to mark tests which -require working :mod:`subprocess` module or ``os.spawn*``. The -wasm32-emscripten platform has no support for processes. diff --git a/Misc/NEWS.d/next/Tests/2022-01-16-14-11-57.bpo-40280.fNnFfx.rst b/Misc/NEWS.d/next/Tests/2022-01-16-14-11-57.bpo-40280.fNnFfx.rst deleted file mode 100644 index 2d66db12108..00000000000 --- a/Misc/NEWS.d/next/Tests/2022-01-16-14-11-57.bpo-40280.fNnFfx.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add :func:`test.support.requires_fork` decorators to mark tests that require -a working :func:`os.fork`. diff --git a/Misc/NEWS.d/next/Tests/2022-01-17-13-10-04.bpo-13886.5mZH4b.rst b/Misc/NEWS.d/next/Tests/2022-01-17-13-10-04.bpo-13886.5mZH4b.rst deleted file mode 100644 index cd19dce37d5..00000000000 --- a/Misc/NEWS.d/next/Tests/2022-01-17-13-10-04.bpo-13886.5mZH4b.rst +++ /dev/null @@ -1,3 +0,0 @@ -Skip test_builtin PTY tests on non-ASCII characters if the readline module -is loaded. The readline module changes input() behavior, but test_builtin is -not intented to test the readline module. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Tests/2022-01-28-01-17-10.bpo-46542.xRLTdj.rst b/Misc/NEWS.d/next/Tests/2022-01-28-01-17-10.bpo-46542.xRLTdj.rst deleted file mode 100644 index c6b64ce017b..00000000000 --- a/Misc/NEWS.d/next/Tests/2022-01-28-01-17-10.bpo-46542.xRLTdj.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix ``test_json`` tests checking for :exc:`RecursionError`: modify these tests -to use ``support.infinite_recursion()``. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Tests/2022-01-29-12-37-53.bpo-46576.-prRaV.rst b/Misc/NEWS.d/next/Tests/2022-01-29-12-37-53.bpo-46576.-prRaV.rst deleted file mode 100644 index be50fc8cbe0..00000000000 --- a/Misc/NEWS.d/next/Tests/2022-01-29-12-37-53.bpo-46576.-prRaV.rst +++ /dev/null @@ -1,3 +0,0 @@ -test_peg_generator now disables compiler optimization when testing -compilation of its own C extensions to significantly speed up the -testing on non-debug builds of CPython. diff --git a/Misc/NEWS.d/next/Tests/2022-01-31-17-34-13.bpo-46542.RTMm1T.rst b/Misc/NEWS.d/next/Tests/2022-01-31-17-34-13.bpo-46542.RTMm1T.rst deleted file mode 100644 index 55964987249..00000000000 --- a/Misc/NEWS.d/next/Tests/2022-01-31-17-34-13.bpo-46542.RTMm1T.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a Python crash in test_lib2to3 when using Python built in debug mode: -limit the recursion limit. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Tests/2022-02-01-17-13-53.bpo-46600.FMCk8Z.rst b/Misc/NEWS.d/next/Tests/2022-02-01-17-13-53.bpo-46600.FMCk8Z.rst deleted file mode 100644 index 0ae1d4d181d..00000000000 --- a/Misc/NEWS.d/next/Tests/2022-02-01-17-13-53.bpo-46600.FMCk8Z.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix test_gdb.test_pycfunction() for Python built with ``clang -Og``. -Tolerate inlined functions in the gdb traceback. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Tests/2022-02-02-02-24-04.bpo-44359.kPPSmN.rst b/Misc/NEWS.d/next/Tests/2022-02-02-02-24-04.bpo-44359.kPPSmN.rst deleted file mode 100644 index 00c29b1ca40..00000000000 --- a/Misc/NEWS.d/next/Tests/2022-02-02-02-24-04.bpo-44359.kPPSmN.rst +++ /dev/null @@ -1,2 +0,0 @@ -test_ftplib now silently ignores socket errors to prevent logging unhandled -threading exceptions. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Tests/2022-02-02-18-14-38.bpo-46616.URvBtE.rst b/Misc/NEWS.d/next/Tests/2022-02-02-18-14-38.bpo-46616.URvBtE.rst deleted file mode 100644 index 31c63c3d8f1..00000000000 --- a/Misc/NEWS.d/next/Tests/2022-02-02-18-14-38.bpo-46616.URvBtE.rst +++ /dev/null @@ -1,2 +0,0 @@ -Ensures ``test_importlib.test_windows`` cleans up registry keys after -completion. diff --git a/Misc/NEWS.d/next/Tests/2022-02-03-00-21-32.bpo-43478.0nfcam.rst b/Misc/NEWS.d/next/Tests/2022-02-03-00-21-32.bpo-43478.0nfcam.rst deleted file mode 100644 index 7c8fc47cfc7..00000000000 --- a/Misc/NEWS.d/next/Tests/2022-02-03-00-21-32.bpo-43478.0nfcam.rst +++ /dev/null @@ -1 +0,0 @@ -Mocks can no longer be provided as the specs for other Mocks. As a result, an already-mocked object cannot be passed to `mock.Mock()`. This can uncover bugs in tests since these Mock-derived Mocks will always pass certain tests (e.g. isinstance) and builtin assert functions (e.g. assert_called_once_with) will unconditionally pass. diff --git a/Misc/NEWS.d/next/Windows/2021-09-01-10-48-11.bpo-44934.W1xPATH.rst b/Misc/NEWS.d/next/Windows/2021-09-01-10-48-11.bpo-44934.W1xPATH.rst deleted file mode 100644 index 0f1c25a0705..00000000000 --- a/Misc/NEWS.d/next/Windows/2021-09-01-10-48-11.bpo-44934.W1xPATH.rst +++ /dev/null @@ -1 +0,0 @@ -The installer now offers a command-line only option to add the installation directory to the end of :envvar:`PATH` instead of at the start. diff --git a/Misc/NEWS.d/next/Windows/2022-01-13-22-31-09.bpo-46362.f2cuEb.rst b/Misc/NEWS.d/next/Windows/2022-01-13-22-31-09.bpo-46362.f2cuEb.rst deleted file mode 100644 index 0b59cd28ba4..00000000000 --- a/Misc/NEWS.d/next/Windows/2022-01-13-22-31-09.bpo-46362.f2cuEb.rst +++ /dev/null @@ -1,2 +0,0 @@ -os.path.abspath("C:\CON") is now fixed to return "\\.\CON", not the same path. -The regression was true of all legacy DOS devices such as COM1, LPT1, or NUL. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Windows/2022-01-25-14-48-39.bpo-33125.5WyY_J.rst b/Misc/NEWS.d/next/Windows/2022-01-25-14-48-39.bpo-33125.5WyY_J.rst deleted file mode 100644 index 54811db67ad..00000000000 --- a/Misc/NEWS.d/next/Windows/2022-01-25-14-48-39.bpo-33125.5WyY_J.rst +++ /dev/null @@ -1,2 +0,0 @@ -The traditional EXE/MSI based installer for Windows is now available for -ARM64 diff --git a/Misc/NEWS.d/next/macOS/2022-01-26-12-04-09.bpo-45925.yBSiYO.rst b/Misc/NEWS.d/next/macOS/2022-01-26-12-04-09.bpo-45925.yBSiYO.rst deleted file mode 100644 index 3705266c154..00000000000 --- a/Misc/NEWS.d/next/macOS/2022-01-26-12-04-09.bpo-45925.yBSiYO.rst +++ /dev/null @@ -1 +0,0 @@ -Update macOS installer to SQLite 3.37.2. \ No newline at end of file diff --git a/README.rst b/README.rst index dcc1c39d78a..36611add5cc 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -This is Python version 3.11.0 alpha 4 +This is Python version 3.11.0 alpha 5 ===================================== .. image:: https://github.com/python/cpython/workflows/Tests/badge.svg