From e2b4e4bab90b69fbd3614fc9ce5755edfe184297 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Fri, 5 Nov 2021 19:02:44 +0000 Subject: Python 3.11.0a2 --- Include/patchlevel.h | 4 +- Lib/pydoc_data/topics.py | 99 +- Misc/NEWS.d/3.11.0a2.rst | 1334 ++++++++++++++++++++ .../Build/2021-10-11-16-08-37.bpo-45433.pVDkMV.rst | 1 - .../Build/2021-10-11-16-27-38.bpo-45405.iSfdW5.rst | 2 - .../Build/2021-10-12-02-13-08.bpo-45440.-zYgDb.rst | 4 - .../Build/2021-10-18-10-25-56.bpo-45221.rnulhf.rst | 3 - .../Build/2021-10-20-12-42-39.bpo-45536.oQNYHB.rst | 3 - .../Build/2021-10-20-16-07-39.bpo-45532.kyhvis.rst | 2 - .../Build/2021-10-20-17-02-56.bpo-45548.BoggEf.rst | 1 - .../Build/2021-10-22-14-00-44.bpo-43974.HHZtbx.rst | 2 - .../Build/2021-10-22-14-45-40.bpo-45570.61gM2A.rst | 1 - .../Build/2021-10-22-15-28-29.bpo-45571.yY8NsJ.rst | 2 - .../Build/2021-10-24-11-02-43.bpo-45595.WI_5YU.rst | 2 - .../Build/2021-10-24-21-49-49.bpo-45548.UWx0UC.rst | 3 - .../Build/2021-10-28-14-47-22.bpo-45548.mdCBxB.rst | 4 - .../Build/2021-10-29-12-54-53.bpo-45666.w2G63u.rst | 1 - .../Build/2021-11-01-12-51-46.bpo-43158.fghS6w.rst | 2 - .../C API/2021-05-24-22-12-40.bpo-44220.H9CUGl.rst | 1 - .../C API/2021-09-24-11-12-21.bpo-43760.Bfxd1-.rst | 4 - .../C API/2021-10-06-15-54-40.bpo-45395.yVhdAl.rst | 4 - .../C API/2021-10-08-15-54-07.bpo-45412.KHyJCT.rst | 9 - .../C API/2021-10-11-22-58-33.bpo-41123.myrlIp.rst | 4 - .../C API/2021-10-11-23-03-49.bpo-45434.tsS8I_.rst | 5 - .../C API/2021-10-12-02-13-41.bpo-45440.Gf94rE.rst | 2 - .../C API/2021-10-13-14-42-46.bpo-45434.INNEEt.rst | 3 - .../C API/2021-10-14-22-16-56.bpo-45474.1OkJQh.rst | 11 - .../C API/2021-10-15-00-11-51.bpo-35134.eX4zqy.rst | 7 - .../C API/2021-10-15-09-29-59.bpo-35081.2teFD3.rst | 3 - .../C API/2021-10-19-00-20-40.bpo-35134.Z0Zk_m.rst | 3 - .../C API/2021-10-19-13-07-46.bpo-45522.kGAwmZ.rst | 2 - .../C API/2021-10-20-18-41-17.bpo-29103.CMRLyq.rst | 3 - .../2021-04-03-02-44-15.bpo-43706.jjsXlT.rst | 2 - .../2021-06-26-16-55-08.bpo-44511.k8sMvV.rst | 1 - .../2021-06-28-22-23-59.bpo-44525.sSvUKG.rst | 10 - .../2021-09-08-00-30-09.bpo-44050.mFI15u.rst | 3 - .../2021-09-23-14-00-05.bpo-40116.KaoeFs.rst | 4 - .../2021-09-26-18-18-50.bpo-45292.aX5HVr.rst | 1 - .../2021-09-29-12-02-39.bpo-45324.BTQElX.rst | 3 - .../2021-10-01-09-06-54.bpo-45020.Cj5VQN.rst | 5 - .../2021-10-01-09-21-02.bpo-21736.RI47BU.rst | 9 - .../2021-10-05-03-49-07.bpo-45367._astoU.rst | 1 - .../2021-10-06-21-20-11.bpo-45385.CTUT8s.rst | 1 - .../2021-10-07-19-09-12.bpo-29410.bg5SYp.rst | 1 - .../2021-10-07-21-26-44.bpo-45408.qUqzcd.rst | 2 - .../2021-10-08-09-47-38.bpo-45340.ukHgDb.rst | 3 - .../2021-10-12-14-41-39.bpo-45445._F5cMf.rst | 2 - .../2021-10-16-17-27-48.bpo-45494.vMt1g4.rst | 2 - .../2021-10-18-22-40-33.bpo-45521.GdMiuW.rst | 3 - .../2021-10-19-01-04-08.bpo-30570._G30Ms.rst | 1 - .../2021-10-19-10-29-47.bpo-45526.WQnvW9.rst | 3 - .../2021-10-20-01-28-26.bpo-45530.5r7n4m.rst | 8 - .../2021-10-20-11-57-31.bpo-44525.veL4lJ.rst | 1 - .../2021-10-23-13-49-00.bpo-45379.ZF7G3n.rst | 2 - .../2021-11-02-09-27-46.bpo-45688.v5Der1.rst | 2 - .../2021-11-04-20-19-07.bpo-45716.5C0pA1.rst | 2 - .../2021-10-13-00-42-54.bpo-20692.K5rGtP.rst | 2 - .../2021-10-18-20-12-18.bpo-45516.EJh4K8.rst | 2 - .../2021-10-19-01-41-40.bpo-45449.fjHZJc.rst | 1 - .../2021-10-20-16-26-53.bpo-45464.mOISBs.rst | 4 - .../2021-10-22-21-57-42.bpo-45516.7_RMEX.rst | 2 - .../2021-10-26-10-00-45.bpo-45604.Dm-YhV.rst | 1 - .../2021-10-28-19-22-55.bpo-45655.aPYGaS.rst | 2 - .../2021-10-31-20-35-06.bpo-45618.RTcNXF.rst | 2 - .../2021-11-03-14-51-03.bpo-45680.9_NTFU.rst | 3 - .../2021-11-05-12-15-24.bpo-45726.GwRr7e.rst | 2 - .../IDLE/2021-10-16-17-20-32.bpo-45495.ST8RFt.rst | 1 - .../2019-02-11-19-06-10.bpo-35970.ZRvh51.rst | 2 - .../2020-07-27-19-21-05.bpo-41374.cd-kFL.rst | 2 - .../2021-01-07-01-25-38.bpo-10572.gEEZ9z.rst | 2 - .../2021-07-22-21-25-56.bpo-40321.gBlFmw.rst | 2 - .../2021-08-20-10-52-40.bpo-44547.eu0iJq.rst | 2 - .../2021-08-30-00-19-23.bpo-24444.Ki4bgz.rst | 2 - .../2021-08-30-23-10-48.bpo-24139.e38czf.rst | 2 - .../2021-09-10-12-53-28.bpo-25625.SzcBCw.rst | 3 - .../2021-09-11-14-47-05.bpo-45160.VzMXbW.rst | 1 - .../2021-09-14-15-52-47.bpo-45192.DjA-BI.rst | 5 - .../2021-09-15-10-21-10.bpo-45320.4qaf5x.rst | 15 - .../2021-09-20-01-25-09.bpo-45243.0pJf0U.rst | 4 - .../2021-09-30-08-22-44.bpo-45328.8Z-Q0B.rst | 1 - .../2021-10-01-23-07-02.bpo-45343.ixmctD.rst | 1 - .../2021-10-03-21-14-37.bpo-20028.zBA4RK.rst | 2 - .../2021-10-07-00-05-05.bpo-45386.q9ORpA.rst | 3 - .../2021-10-07-14-04-10.bpo-45262.HqF71Z.rst | 1 - .../2021-10-07-21-11-48.bpo-27580.tGcBTH.rst | 1 - .../2021-10-08-04-11-55.bpo-10716.QSRVK2.rst | 3 - .../2021-10-08-11-29-29.bpo-45411.4jR--U.rst | 1 - .../2021-10-08-19-24-48.bpo-45406.Qh_Mz4.rst | 1 - .../2021-10-09-18-42-27.bpo-44904.RlW5h8.rst | 3 - .../2021-10-10-00-25-36.bpo-20028.bPx4Z8.rst | 2 - .../2021-10-10-09-42-34.bpo-45416.n35O0_.rst | 2 - .../2021-10-10-16-14-33.bpo-45249.xqLliz.rst | 2 - .../2021-10-12-20-35-06.bpo-45417.gQM-O7.rst | 2 - .../2021-10-13-17-52-48.bpo-45239.7li1_0.rst | 3 - .../2021-10-14-00-19-02.bpo-45461.4LB_tJ.rst | 2 - .../2021-10-14-13-31-19.bpo-45467.Q7Ma6A.rst | 2 - .../2021-10-14-18-04-17.bpo-45428.mM2War.rst | 1 - .../2021-10-15-11-30-11.bpo-42222.hdHyac.rst | 1 - .../2021-10-16-23-46-39.bpo-45489.QB0rhG.rst | 2 - .../2021-10-18-10-46-47.bpo-45475.sb9KDF.rst | 4 - .../2021-10-18-14-52-48.bpo-45515.aXdvm_.rst | 3 - .../2021-10-18-18-12-47.bpo-35673.KOkHWe.rst | 4 - .../2021-10-19-01-30-57.bpo-42174.O2w9bi.rst | 2 - .../2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst | 1 - .../2021-10-21-16-18-51.bpo-45557.4MQt4r.rst | 2 - .../2021-10-22-21-57-02.bpo-45581.rlH6ay.rst | 2 - .../2021-10-22-23-06-33.bpo-45574.svqA84.rst | 1 - .../2021-10-26-14-29-54.bpo-45613.55Ie3c.rst | 3 - .../2021-10-27-10-05-39.bpo-45438.Xz5lGU.rst | 1 - .../2021-10-27-13-28-52.bpo-42064.UK4jgV.rst | 2 - .../2021-10-30-21-11-37.bpo-45679.Dq8Cpu.rst | 2 - .../Tests/2021-10-07-13-11-45.bpo-45400.h3iT7V.rst | 3 - .../Tests/2021-10-07-13-27-12.bpo-45403.7QiDvw.rst | 2 - .../Tests/2021-10-07-13-43-01.bpo-45402.jlQvep.rst | 3 - .../Tests/2021-10-08-14-03-20.bpo-45410.Ex9xe2.rst | 4 - .../Tests/2021-10-18-16-18-41.bpo-39679.F18qcE.rst | 2 - .../Tests/2021-10-21-17-22-26.bpo-43592.kHRsra.rst | 3 - .../Tests/2021-10-22-12-05-21.bpo-45566.2gQ3ZB.rst | 1 - .../Tests/2021-10-22-19-44-13.bpo-45577.dSaNvK.rst | 1 - .../Tests/2021-10-29-17-18-56.bpo-45668.MfAw4i.rst | 1 - .../Tests/2021-10-30-13-12-20.bpo-45678.bKrYeS.rst | 2 - .../Tests/2021-10-30-19-00-25.bpo-45578.bvu6X2.rst | 1 - .../Tests/2021-11-04-20-03-32.bpo-45678.1xNMjN.rst | 3 - .../2021-04-15-01-23-10.bpo-43851.qgU0gy.rst | 1 - .../2021-09-30-23-17-27.bpo-45337.qg7U_h.rst | 4 - .../2021-11-04-00-41-50.bpo-43652.RnqV7I.rst | 2 - .../macOS/2021-10-25-02-02-21.bpo-44828.XBdXlJ.rst | 3 - README.rst | 2 +- configure | 64 +- pyconfig.h.in | 2 +- 130 files changed, 1419 insertions(+), 415 deletions(-) create mode 100644 Misc/NEWS.d/3.11.0a2.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-11-16-08-37.bpo-45433.pVDkMV.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-11-16-27-38.bpo-45405.iSfdW5.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-12-02-13-08.bpo-45440.-zYgDb.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-18-10-25-56.bpo-45221.rnulhf.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-20-12-42-39.bpo-45536.oQNYHB.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-20-16-07-39.bpo-45532.kyhvis.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-20-17-02-56.bpo-45548.BoggEf.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-22-14-00-44.bpo-43974.HHZtbx.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-22-14-45-40.bpo-45570.61gM2A.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-22-15-28-29.bpo-45571.yY8NsJ.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-24-11-02-43.bpo-45595.WI_5YU.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-24-21-49-49.bpo-45548.UWx0UC.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-28-14-47-22.bpo-45548.mdCBxB.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-10-29-12-54-53.bpo-45666.w2G63u.rst delete mode 100644 Misc/NEWS.d/next/Build/2021-11-01-12-51-46.bpo-43158.fghS6w.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-05-24-22-12-40.bpo-44220.H9CUGl.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-09-24-11-12-21.bpo-43760.Bfxd1-.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-10-06-15-54-40.bpo-45395.yVhdAl.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-10-08-15-54-07.bpo-45412.KHyJCT.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-10-11-22-58-33.bpo-41123.myrlIp.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-10-11-23-03-49.bpo-45434.tsS8I_.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-10-12-02-13-41.bpo-45440.Gf94rE.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-10-13-14-42-46.bpo-45434.INNEEt.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-10-14-22-16-56.bpo-45474.1OkJQh.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-10-15-00-11-51.bpo-35134.eX4zqy.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-10-15-09-29-59.bpo-35081.2teFD3.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-10-19-00-20-40.bpo-35134.Z0Zk_m.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-10-19-13-07-46.bpo-45522.kGAwmZ.rst delete mode 100644 Misc/NEWS.d/next/C API/2021-10-20-18-41-17.bpo-29103.CMRLyq.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-04-03-02-44-15.bpo-43706.jjsXlT.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-06-26-16-55-08.bpo-44511.k8sMvV.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-06-28-22-23-59.bpo-44525.sSvUKG.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-09-08-00-30-09.bpo-44050.mFI15u.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-09-23-14-00-05.bpo-40116.KaoeFs.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-09-26-18-18-50.bpo-45292.aX5HVr.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-09-29-12-02-39.bpo-45324.BTQElX.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-01-09-06-54.bpo-45020.Cj5VQN.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-01-09-21-02.bpo-21736.RI47BU.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-05-03-49-07.bpo-45367._astoU.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-06-21-20-11.bpo-45385.CTUT8s.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-07-19-09-12.bpo-29410.bg5SYp.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-07-21-26-44.bpo-45408.qUqzcd.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-08-09-47-38.bpo-45340.ukHgDb.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-12-14-41-39.bpo-45445._F5cMf.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-16-17-27-48.bpo-45494.vMt1g4.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-18-22-40-33.bpo-45521.GdMiuW.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-19-01-04-08.bpo-30570._G30Ms.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-19-10-29-47.bpo-45526.WQnvW9.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-20-01-28-26.bpo-45530.5r7n4m.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-20-11-57-31.bpo-44525.veL4lJ.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-10-23-13-49-00.bpo-45379.ZF7G3n.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-11-02-09-27-46.bpo-45688.v5Der1.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2021-11-04-20-19-07.bpo-45716.5C0pA1.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2021-10-13-00-42-54.bpo-20692.K5rGtP.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2021-10-18-20-12-18.bpo-45516.EJh4K8.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2021-10-19-01-41-40.bpo-45449.fjHZJc.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2021-10-20-16-26-53.bpo-45464.mOISBs.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2021-10-22-21-57-42.bpo-45516.7_RMEX.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2021-10-26-10-00-45.bpo-45604.Dm-YhV.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2021-10-28-19-22-55.bpo-45655.aPYGaS.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2021-10-31-20-35-06.bpo-45618.RTcNXF.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2021-11-03-14-51-03.bpo-45680.9_NTFU.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2021-11-05-12-15-24.bpo-45726.GwRr7e.rst delete mode 100644 Misc/NEWS.d/next/IDLE/2021-10-16-17-20-32.bpo-45495.ST8RFt.rst delete mode 100644 Misc/NEWS.d/next/Library/2019-02-11-19-06-10.bpo-35970.ZRvh51.rst delete mode 100644 Misc/NEWS.d/next/Library/2020-07-27-19-21-05.bpo-41374.cd-kFL.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-01-07-01-25-38.bpo-10572.gEEZ9z.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-07-22-21-25-56.bpo-40321.gBlFmw.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-08-20-10-52-40.bpo-44547.eu0iJq.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-08-30-00-19-23.bpo-24444.Ki4bgz.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-08-30-23-10-48.bpo-24139.e38czf.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-09-10-12-53-28.bpo-25625.SzcBCw.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-09-11-14-47-05.bpo-45160.VzMXbW.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-09-14-15-52-47.bpo-45192.DjA-BI.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-09-15-10-21-10.bpo-45320.4qaf5x.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-09-20-01-25-09.bpo-45243.0pJf0U.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-09-30-08-22-44.bpo-45328.8Z-Q0B.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-01-23-07-02.bpo-45343.ixmctD.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-03-21-14-37.bpo-20028.zBA4RK.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-07-00-05-05.bpo-45386.q9ORpA.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-07-14-04-10.bpo-45262.HqF71Z.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-07-21-11-48.bpo-27580.tGcBTH.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-08-04-11-55.bpo-10716.QSRVK2.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-08-11-29-29.bpo-45411.4jR--U.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-08-19-24-48.bpo-45406.Qh_Mz4.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-09-18-42-27.bpo-44904.RlW5h8.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-10-00-25-36.bpo-20028.bPx4Z8.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-10-09-42-34.bpo-45416.n35O0_.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-10-16-14-33.bpo-45249.xqLliz.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-12-20-35-06.bpo-45417.gQM-O7.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-13-17-52-48.bpo-45239.7li1_0.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-14-00-19-02.bpo-45461.4LB_tJ.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-14-13-31-19.bpo-45467.Q7Ma6A.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-14-18-04-17.bpo-45428.mM2War.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-15-11-30-11.bpo-42222.hdHyac.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-16-23-46-39.bpo-45489.QB0rhG.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-18-10-46-47.bpo-45475.sb9KDF.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-18-14-52-48.bpo-45515.aXdvm_.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-18-18-12-47.bpo-35673.KOkHWe.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-19-01-30-57.bpo-42174.O2w9bi.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-21-16-18-51.bpo-45557.4MQt4r.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-22-21-57-02.bpo-45581.rlH6ay.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-22-23-06-33.bpo-45574.svqA84.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-26-14-29-54.bpo-45613.55Ie3c.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-27-10-05-39.bpo-45438.Xz5lGU.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-27-13-28-52.bpo-42064.UK4jgV.rst delete mode 100644 Misc/NEWS.d/next/Library/2021-10-30-21-11-37.bpo-45679.Dq8Cpu.rst delete mode 100644 Misc/NEWS.d/next/Tests/2021-10-07-13-11-45.bpo-45400.h3iT7V.rst delete mode 100644 Misc/NEWS.d/next/Tests/2021-10-07-13-27-12.bpo-45403.7QiDvw.rst delete mode 100644 Misc/NEWS.d/next/Tests/2021-10-07-13-43-01.bpo-45402.jlQvep.rst delete mode 100644 Misc/NEWS.d/next/Tests/2021-10-08-14-03-20.bpo-45410.Ex9xe2.rst delete mode 100644 Misc/NEWS.d/next/Tests/2021-10-18-16-18-41.bpo-39679.F18qcE.rst delete mode 100644 Misc/NEWS.d/next/Tests/2021-10-21-17-22-26.bpo-43592.kHRsra.rst delete mode 100644 Misc/NEWS.d/next/Tests/2021-10-22-12-05-21.bpo-45566.2gQ3ZB.rst delete mode 100644 Misc/NEWS.d/next/Tests/2021-10-22-19-44-13.bpo-45577.dSaNvK.rst delete mode 100644 Misc/NEWS.d/next/Tests/2021-10-29-17-18-56.bpo-45668.MfAw4i.rst delete mode 100644 Misc/NEWS.d/next/Tests/2021-10-30-13-12-20.bpo-45678.bKrYeS.rst delete mode 100644 Misc/NEWS.d/next/Tests/2021-10-30-19-00-25.bpo-45578.bvu6X2.rst delete mode 100644 Misc/NEWS.d/next/Tests/2021-11-04-20-03-32.bpo-45678.1xNMjN.rst delete mode 100644 Misc/NEWS.d/next/Windows/2021-04-15-01-23-10.bpo-43851.qgU0gy.rst delete mode 100644 Misc/NEWS.d/next/Windows/2021-09-30-23-17-27.bpo-45337.qg7U_h.rst delete mode 100644 Misc/NEWS.d/next/Windows/2021-11-04-00-41-50.bpo-43652.RnqV7I.rst delete mode 100644 Misc/NEWS.d/next/macOS/2021-10-25-02-02-21.bpo-44828.XBdXlJ.rst diff --git a/Include/patchlevel.h b/Include/patchlevel.h index 591b417..4f961da 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 1 +#define PY_RELEASE_SERIAL 2 /* Version as a string */ -#define PY_VERSION "3.11.0a1+" +#define PY_VERSION "3.11.0a2" /*--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 eb52337..78555cd 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Autogenerated by Sphinx on Tue Oct 5 13:43:52 2021 +# Autogenerated by Sphinx on Fri Nov 5 19:03:45 2021 topics = {'assert': 'The "assert" statement\n' '**********************\n' '\n' @@ -3339,9 +3339,9 @@ topics = {'assert': 'The "assert" statement\n' '\n' 'The same keyword should not be repeated in class patterns.\n' '\n' - 'The following is the logical flow for matching a mapping ' - 'pattern\n' - 'against a subject value:\n' + 'The following is the logical flow for matching a class pattern ' + 'against\n' + 'a subject value:\n' '\n' '1. If "name_or_attr" is not an instance of the builtin "type" , ' 'raise\n' @@ -5579,9 +5579,9 @@ topics = {'assert': 'The "assert" statement\n' 'operations.\n' '\n' 'If the "global" statement occurs within a block, all uses of ' - 'the name\n' - 'specified in the statement refer to the binding of that name in ' - 'the\n' + 'the names\n' + 'specified in the statement refer to the bindings of those names ' + 'in the\n' 'top-level namespace. Names are resolved in the top-level ' 'namespace by\n' 'searching the global namespace, i.e. the namespace of the ' @@ -5590,9 +5590,10 @@ topics = {'assert': 'The "assert" statement\n' 'namespace\n' 'of the module "builtins". The global namespace is searched ' 'first. If\n' - 'the name is not found there, the builtins namespace is ' - 'searched. The\n' - '"global" statement must precede all uses of the name.\n' + 'the names are not found there, the builtins namespace is ' + 'searched.\n' + 'The "global" statement must precede all uses of the listed ' + 'names.\n' '\n' 'The "global" statement has the same scope as a name binding ' 'operation\n' @@ -6948,22 +6949,31 @@ topics = {'assert': 'The "assert" statement\n' 'trailing underscore characters:\n' '\n' '"_*"\n' - ' Not imported by "from module import *". The special ' - 'identifier "_"\n' - ' is used in the interactive interpreter to store the result ' - 'of the\n' - ' last evaluation; it is stored in the "builtins" module. ' - 'When not\n' - ' in interactive mode, "_" has no special meaning and is not ' - 'defined.\n' - ' See section The import statement.\n' + ' Not imported by "from module import *".\n' + '\n' + '"_"\n' + ' In a "case" pattern within a "match" statement, "_" is a ' + 'soft\n' + ' keyword that denotes a wildcard.\n' + '\n' + ' Separately, the interactive interpreter makes the result of ' + 'the\n' + ' last evaluation available in the variable "_". (It is ' + 'stored in the\n' + ' "builtins" module, alongside built-in functions like ' + '"print".)\n' + '\n' + ' Elsewhere, "_" is a regular identifier. It is often used to ' + 'name\n' + ' “special” items, but it is not special to Python itself.\n' '\n' ' Note:\n' '\n' ' The name "_" is often used in conjunction with\n' ' internationalization; refer to the documentation for the\n' ' "gettext" module for more information on this ' - 'convention.\n' + 'convention.It is\n' + ' also commonly used for unused variables.\n' '\n' '"__*__"\n' ' System-defined names, informally known as “dunder” names. ' @@ -7118,15 +7128,23 @@ topics = {'assert': 'The "assert" statement\n' 'trailing underscore characters:\n' '\n' '"_*"\n' - ' Not imported by "from module import *". The special ' - 'identifier "_"\n' - ' is used in the interactive interpreter to store the result ' + ' Not imported by "from module import *".\n' + '\n' + '"_"\n' + ' In a "case" pattern within a "match" statement, "_" is a ' + 'soft\n' + ' keyword that denotes a wildcard.\n' + '\n' + ' Separately, the interactive interpreter makes the result ' 'of the\n' - ' last evaluation; it is stored in the "builtins" module. ' - 'When not\n' - ' in interactive mode, "_" has no special meaning and is not ' - 'defined.\n' - ' See section The import statement.\n' + ' last evaluation available in the variable "_". (It is ' + 'stored in the\n' + ' "builtins" module, alongside built-in functions like ' + '"print".)\n' + '\n' + ' Elsewhere, "_" is a regular identifier. It is often used ' + 'to name\n' + ' “special” items, but it is not special to Python itself.\n' '\n' ' Note:\n' '\n' @@ -7134,7 +7152,8 @@ topics = {'assert': 'The "assert" statement\n' ' internationalization; refer to the documentation for ' 'the\n' ' "gettext" module for more information on this ' - 'convention.\n' + 'convention.It is\n' + ' also commonly used for unused variables.\n' '\n' '"__*__"\n' ' System-defined names, informally known as “dunder” names. ' @@ -7678,8 +7697,8 @@ topics = {'assert': 'The "assert" statement\n' 'operations.\n' '\n' 'If the "global" statement occurs within a block, all uses of the ' - 'name\n' - 'specified in the statement refer to the binding of that name in ' + 'names\n' + 'specified in the statement refer to the bindings of those names in ' 'the\n' 'top-level namespace. Names are resolved in the top-level ' 'namespace by\n' @@ -7688,9 +7707,9 @@ topics = {'assert': 'The "assert" statement\n' 'namespace\n' 'of the module "builtins". The global namespace is searched ' 'first. If\n' - 'the name is not found there, the builtins namespace is searched. ' - 'The\n' - '"global" statement must precede all uses of the name.\n' + 'the names are not found there, the builtins namespace is ' + 'searched.\n' + 'The "global" statement must precede all uses of the listed names.\n' '\n' 'The "global" statement has the same scope as a name binding ' 'operation\n' @@ -8025,9 +8044,9 @@ topics = {'assert': 'The "assert" statement\n' ' of the object truncated to an "Integral" (typically an ' '"int").\n' '\n' - ' If "__int__()" is not defined then the built-in function ' - '"int()"\n' - ' falls back to "__trunc__()".\n', + ' The built-in function "int()" falls back to ' + '"__trunc__()" if\n' + ' neither "__int__()" nor "__index__()" is defined.\n', 'objects': 'Objects, values and types\n' '*************************\n' '\n' @@ -10765,9 +10784,9 @@ topics = {'assert': 'The "assert" statement\n' ' of the object truncated to an "Integral" (typically an ' '"int").\n' '\n' - ' If "__int__()" is not defined then the built-in function ' - '"int()"\n' - ' falls back to "__trunc__()".\n' + ' The built-in function "int()" falls back to "__trunc__()" ' + 'if\n' + ' neither "__int__()" nor "__index__()" is defined.\n' '\n' '\n' 'With Statement Context Managers\n' diff --git a/Misc/NEWS.d/3.11.0a2.rst b/Misc/NEWS.d/3.11.0a2.rst new file mode 100644 index 0000000..1f742a2 --- /dev/null +++ b/Misc/NEWS.d/3.11.0a2.rst @@ -0,0 +1,1334 @@ +.. bpo: 45716 +.. date: 2021-11-04-20-19-07 +.. nonce: 5C0pA1 +.. release date: 2021-11-05 +.. section: Core and Builtins + +Improve the :exc:`SyntaxError` message when using ``True``, ``None`` or +``False`` as keywords in a function call. Patch by Pablo Galindo. + +.. + +.. bpo: 45688 +.. date: 2021-11-02-09-27-46 +.. nonce: v5Der1 +.. section: Core and Builtins + +:data:`sys.stdlib_module_names` now contains the macOS-specific module +:mod:`_scproxy`. + +.. + +.. bpo: 45379 +.. date: 2021-10-23-13-49-00 +.. nonce: ZF7G3n +.. section: Core and Builtins + +Clarify :exc:`ImportError` message when we try to explicitly import a frozen +module but frozen modules are disabled. + +.. + +.. bpo: 44525 +.. date: 2021-10-20-11-57-31 +.. nonce: veL4lJ +.. section: Core and Builtins + +Specialize simple calls to Python functions (no starargs, keyowrd dict, or +closure) + +.. + +.. bpo: 45530 +.. date: 2021-10-20-01-28-26 +.. nonce: 5r7n4m +.. section: Core and Builtins + +Cases of sorting using tuples as keys may now be significantly faster in +some cases. Patch by Tim Peters. + +The order of the result may differ from earlier releases if the tuple +elements don't define a total ordering (see +:ref:`expressions-value-comparisons` for information on total ordering). +It's generally true that the result of sorting simply isn't well-defined in +the absence of a total ordering on list elements. + +.. + +.. bpo: 45526 +.. date: 2021-10-19-10-29-47 +.. nonce: WQnvW9 +.. section: Core and Builtins + +In obmalloc, set ADDRESS_BITS to not ignore any bits (ignored 16 before). +That is safer in the case that the kernel gives user-space virtual addresses +that span a range greater than 48 bits. + +.. + +.. bpo: 30570 +.. date: 2021-10-19-01-04-08 +.. nonce: _G30Ms +.. section: Core and Builtins + +Fixed a crash in ``issubclass()`` from infinite recursion when searching +pathological ``__bases__`` tuples. + +.. + +.. bpo: 45521 +.. date: 2021-10-18-22-40-33 +.. nonce: GdMiuW +.. section: Core and Builtins + +Fix a bug in the obmalloc radix tree code. On 64-bit machines, the bug +causes the tree to hold 46-bits of virtual addresses, rather than the +intended 48-bits. + +.. + +.. bpo: 45494 +.. date: 2021-10-16-17-27-48 +.. nonce: vMt1g4 +.. section: Core and Builtins + +Fix parser crash when reporting errors involving invalid continuation +characters. Patch by Pablo Galindo. + +.. + +.. bpo: 45445 +.. date: 2021-10-12-14-41-39 +.. nonce: _F5cMf +.. section: Core and Builtins + +Python now fails to initialize if it finds an invalid :option:`-X` option in +the command line. Patch by Pablo Galindo. + +.. + +.. bpo: 45340 +.. date: 2021-10-08-09-47-38 +.. nonce: ukHgDb +.. section: Core and Builtins + +Object attributes are held in an array instead of a dictionary. An object's +dictionary are created lazily, only when needed. Reduces the memory +consumption of a typical Python object by about 30%. Patch by Mark Shannon. + +.. + +.. bpo: 45408 +.. date: 2021-10-07-21-26-44 +.. nonce: qUqzcd +.. section: Core and Builtins + +Fix a crash in the parser when reporting tokenizer errors that occur at the +same time unclosed parentheses are detected. Patch by Pablo Galindo. + +.. + +.. bpo: 29410 +.. date: 2021-10-07-19-09-12 +.. nonce: bg5SYp +.. section: Core and Builtins + +Add SipHash13 for string hash algorithm and use it by default. + +.. + +.. bpo: 45385 +.. date: 2021-10-06-21-20-11 +.. nonce: CTUT8s +.. section: Core and Builtins + +Fix reference leak from descr_check. Patch by Dong-hee Na. + +.. + +.. bpo: 45367 +.. date: 2021-10-05-03-49-07 +.. nonce: _astoU +.. section: Core and Builtins + +Specialized the ``BINARY_MULTIPLY`` opcode to ``BINARY_MULTIPLY_INT`` and +``BINARY_MULTIPLY_FLOAT`` using the PEP 659 machinery. + +.. + +.. bpo: 21736 +.. date: 2021-10-01-09-21-02 +.. nonce: RI47BU +.. section: Core and Builtins + +Frozen stdlib modules now have ``__file__`` to the .py file they would +otherwise be loaded from, if possible. For packages, ``__path__`` now has +the correct entry instead of being an empty list, which allows unfrozen +submodules to be imported. These are set only if the stdlib directory is +known when the runtime is initialized. Note that the file at ``__file__`` +is not guaranteed to exist. None of this affects non-stdlib frozen modules +nor, for now, frozen modules imported using +``PyImport_ImportFrozenModule()``. Also, at the moment ``co_filename`` is +not updated for the module. + +.. + +.. bpo: 45020 +.. date: 2021-10-01-09-06-54 +.. nonce: Cj5VQN +.. section: Core and Builtins + +For frozen stdlib modules, record the original module name as +``module.__spec__.loader_state.origname``. If the value is different than +``module.__spec__.name`` then the module was defined as an alias in +Tools/scripts/freeze_modules.py. If it is ``None`` then the module comes +from a source file outside the stdlib. + +.. + +.. bpo: 45324 +.. date: 2021-09-29-12-02-39 +.. nonce: BTQElX +.. section: Core and Builtins + +In FrozenImporter.find_spec(), we now preserve the information needed in +exec_module() to load the module. This change mostly impacts internal +details, rather than changing the importer's behavior. + +.. + +.. bpo: 45292 +.. date: 2021-09-26-18-18-50 +.. nonce: aX5HVr +.. section: Core and Builtins + +Implement :pep:`654`. Add :class:`ExceptionGroup` and +:class:`BaseExceptionGroup`. Update traceback display code. + +.. + +.. bpo: 40116 +.. date: 2021-09-23-14-00-05 +.. nonce: KaoeFs +.. section: Core and Builtins + +Change to the implementation of split dictionaries. Classes where the +instances differ either in the exact set of attributes, or in the order in +which those attributes are set, can still share keys. This should have no +observable effect on users of Python or the C-API. Patch by Mark Shannon. + +.. + +.. bpo: 44050 +.. date: 2021-09-08-00-30-09 +.. nonce: mFI15u +.. section: Core and Builtins + +Extensions that indicate they use global state (by setting ``m_size`` to -1) +can again be used in multiple interpreters. This reverts to behavior of +Python 3.8. + +.. + +.. bpo: 44525 +.. date: 2021-06-28-22-23-59 +.. nonce: sSvUKG +.. section: Core and Builtins + +Setup initial specialization infrastructure for the ``CALL_FUNCTION`` +opcode. Implemented initial specializations for C function calls: + +* ``CALL_FUNCTION_BUILTIN_O`` for ``METH_O`` flag. + +* ``CALL_FUNCTION_BUILTIN_FAST`` for ``METH_FASTCALL`` flag without keywords. + +* ``CALL_FUNCTION_LEN`` for ``len(o)``. + +* ``CALL_FUNCTION_ISINSTANCE`` for ``isinstance(o, t)``. + +.. + +.. bpo: 44511 +.. date: 2021-06-26-16-55-08 +.. nonce: k8sMvV +.. section: Core and Builtins + +Improve the generated bytecode for class and mapping patterns. + +.. + +.. bpo: 43706 +.. date: 2021-04-03-02-44-15 +.. nonce: jjsXlT +.. section: Core and Builtins + +Speed up calls to ``enumerate()`` by using the :pep:`590` ``vectorcall`` +calling convention. Patch by Dong-hee Na. + +.. + +.. bpo: 45679 +.. date: 2021-10-30-21-11-37 +.. nonce: Dq8Cpu +.. section: Library + +Fix caching of multi-value :data:`typing.Literal`. ``Literal[True, 2]`` is +no longer equal to ``Literal[1, 2]``. + +.. + +.. bpo: 42064 +.. date: 2021-10-27-13-28-52 +.. nonce: UK4jgV +.. section: Library + +Convert :mod:`sqlite3` to multi-phase initialisation (PEP 489). Patches by +Erlend E. Aasland. + +.. + +.. bpo: 45438 +.. date: 2021-10-27-10-05-39 +.. nonce: Xz5lGU +.. section: Library + +Fix typing.Signature string representation for generic builtin types. + +.. + +.. bpo: 45613 +.. date: 2021-10-26-14-29-54 +.. nonce: 55Ie3c +.. section: Library + +:mod:`sqlite3` now sets :attr:`sqlite3.threadsafety` based on the default +threading mode the underlying SQLite library has been compiled with. Patch +by Erlend E. Aasland. + +.. + +.. bpo: 45574 +.. date: 2021-10-22-23-06-33 +.. nonce: svqA84 +.. section: Library + +Fix warning about ``print_escape`` being unused. + +.. + +.. bpo: 45581 +.. date: 2021-10-22-21-57-02 +.. nonce: rlH6ay +.. section: Library + +:meth:`sqlite3.connect` now correctly raises :exc:`MemoryError` if the +underlying SQLite API signals memory error. Patch by Erlend E. Aasland. + +.. + +.. bpo: 45557 +.. date: 2021-10-21-16-18-51 +.. nonce: 4MQt4r +.. section: Library + +pprint.pprint() now handles underscore_numbers correctly. Previously it was +always setting it to False. + +.. + +.. bpo: 44019 +.. date: 2021-10-21-10-14-22 +.. nonce: Xk4Ncr +.. section: Library + +Add :func:`operator.call` to ``operator.__all__``. Patch by Kreusada. + +.. + +.. bpo: 42174 +.. date: 2021-10-19-01-30-57 +.. nonce: O2w9bi +.. section: Library + +:meth:`shutil.get_terminal_size` now falls back to sane values if the column +or line count are 0. + +.. + +.. bpo: 35673 +.. date: 2021-10-18-18-12-47 +.. nonce: KOkHWe +.. section: Library + +Improve the introspectability of the ``__loader__`` attribute for namespace +packages. :class:`importlib.machinery.NamespaceLoader` is now public, and +implements the :class:`importlib.abc.InspectLoader` interface. +``_NamespaceLoader`` is kept for backward compatibility. + +.. + +.. bpo: 45515 +.. date: 2021-10-18-14-52-48 +.. nonce: aXdvm_ +.. section: Library + +Add references to :mod:`zoneinfo` in the :mod:`datetime` documentation, +mostly replacing outdated references to ``dateutil.tz``. Change by Paul +Ganssle. + +.. + +.. bpo: 45475 +.. date: 2021-10-18-10-46-47 +.. nonce: sb9KDF +.. section: Library + +Reverted optimization of iterating :class:`gzip.GzipFile`, +:class:`bz2.BZ2File`, and :class:`lzma.LZMAFile` (see bpo-43787) because it +caused regression when user iterate them without having reference of them. +Patch by Inada Naoki. + +.. + +.. bpo: 45489 +.. date: 2021-10-16-23-46-39 +.. nonce: QB0rhG +.. section: Library + +Update :class:`~typing.ForwardRef` to support ``|`` operator. Patch by +Dong-hee Na. + +.. + +.. bpo: 42222 +.. date: 2021-10-15-11-30-11 +.. nonce: hdHyac +.. section: Library + +Removed deprecated support for float arguments in *randrange()*. + +.. + +.. bpo: 45428 +.. date: 2021-10-14-18-04-17 +.. nonce: mM2War +.. section: Library + +Fix a regression in py_compile when reading filenames from standard input. + +.. + +.. bpo: 45467 +.. date: 2021-10-14-13-31-19 +.. nonce: Q7Ma6A +.. section: Library + +Fix incremental decoder and stream reader in the "raw-unicode-escape" codec. +Previously they failed if the escape sequence was split. + +.. + +.. bpo: 45461 +.. date: 2021-10-14-00-19-02 +.. nonce: 4LB_tJ +.. section: Library + +Fix incremental decoder and stream reader in the "unicode-escape" codec. +Previously they failed if the escape sequence was split. + +.. + +.. bpo: 45239 +.. date: 2021-10-13-17-52-48 +.. nonce: 7li1_0 +.. section: Library + +Fixed :func:`email.utils.parsedate_tz` crashing with +:exc:`UnboundLocalError` on certain invalid input instead of returning +``None``. Patch by Ben Hoyt. + +.. + +.. bpo: 45417 +.. date: 2021-10-12-20-35-06 +.. nonce: gQM-O7 +.. section: Library + +Fix quadratic behaviour in the enum module: Creation of enum classes with a +lot of entries was quadratic. + +.. + +.. bpo: 45249 +.. date: 2021-10-10-16-14-33 +.. nonce: xqLliz +.. section: Library + +Fix the behaviour of :func:`traceback.print_exc` when displaying the caret +when the ``end_offset`` in the exception is set to 0. Patch by Pablo Galindo + +.. + +.. bpo: 45416 +.. date: 2021-10-10-09-42-34 +.. nonce: n35O0_ +.. section: Library + +Fix use of :class:`asyncio.Condition` with explicit :class:`asyncio.Lock` +objects, which was a regression due to removal of explicit loop arguments. +Patch by Joongi Kim. + +.. + +.. bpo: 20028 +.. date: 2021-10-10-00-25-36 +.. nonce: bPx4Z8 +.. section: Library + +Empty escapechar/quotechar is not allowed when initializing +:class:`csv.Dialect`. Patch by Vajrasky Kok and Dong-hee Na. + +.. + +.. bpo: 44904 +.. date: 2021-10-09-18-42-27 +.. nonce: RlW5h8 +.. section: Library + +Fix bug in the :mod:`doctest` module that caused it to fail if a docstring +included an example with a ``classmethod`` ``property``. Patch by Alex +Waygood. + +.. + +.. bpo: 45406 +.. date: 2021-10-08-19-24-48 +.. nonce: Qh_Mz4 +.. section: Library + +Make :func:`inspect.getmodule` catch ``FileNotFoundError`` raised by +:'func:`inspect.getabsfile`, and return ``None`` to indicate that the module +could not be determined. + +.. + +.. bpo: 45411 +.. date: 2021-10-08-11-29-29 +.. nonce: 4jR--U +.. section: Library + +Add extensions for files containing subtitles - .srt & .vtt - to the +mimetypes.py module. + +.. + +.. bpo: 10716 +.. date: 2021-10-08-04-11-55 +.. nonce: QSRVK2 +.. section: Library + +Migrated pydoc to HTML5 (without changing the look of it). Side effect is to +update xmlrpc's ``ServerHTMLDoc`` which now uses the CSS too. cgitb now +relies less on pydoc (as it can't use the CSS file). + +.. + +.. bpo: 27580 +.. date: 2021-10-07-21-11-48 +.. nonce: tGcBTH +.. section: Library + +Add support of null characters in :mod:`csv`. + +.. + +.. bpo: 45262 +.. date: 2021-10-07-14-04-10 +.. nonce: HqF71Z +.. section: Library + +Prevent use-after-free in asyncio. Make sure the cached running loop holder +gets cleared on dealloc to prevent use-after-free in get_running_loop + +.. + +.. bpo: 45386 +.. date: 2021-10-07-00-05-05 +.. nonce: q9ORpA +.. section: Library + +Make :mod:`xmlrpc.client` more robust to C runtimes where the underlying C +``strftime`` function results in a ``ValueError`` when testing for year +formatting options. + +.. + +.. bpo: 20028 +.. date: 2021-10-03-21-14-37 +.. nonce: zBA4RK +.. section: Library + +Improve error message of :class:`csv.Dialect` when initializing. Patch by +Vajrasky Kok and Dong-hee Na. + +.. + +.. bpo: 45343 +.. date: 2021-10-01-23-07-02 +.. nonce: ixmctD +.. section: Library + +Update bundled pip to 21.2.4 and setuptools to 58.1.0 + +.. + +.. bpo: 45328 +.. date: 2021-09-30-08-22-44 +.. nonce: 8Z-Q0B +.. section: Library + +Fixed :class:`http.client.HTTPConnection` to work properly in OSs that don't +support the ``TCP_NODELAY`` socket option. + +.. + +.. bpo: 45243 +.. date: 2021-09-20-01-25-09 +.. nonce: 0pJf0U +.. section: Library + +Add :meth:`~sqlite3.Connection.setlimit` and +:meth:`~sqlite3.Connection.getlimit` to :class:`sqlite3.Connection` for +setting and getting SQLite limits by connection basis. Patch by Erlend E. +Aasland. + +.. + +.. bpo: 45320 +.. date: 2021-09-15-10-21-10 +.. nonce: 4qaf5x +.. section: Library + +Removed from the :mod:`inspect` module: + +* the ``getargspec`` function, deprecated since Python 3.0; + use :func:`inspect.signature` or :func:`inspect.getfullargspec` instead. + +* the ``formatargspec`` function, deprecated since Python 3.5; + use the :func:`inspect.signature` function and :class:`Signature` object + directly. + +* the undocumented ``Signature.from_callable`` and ``Signature.from_function`` + functions, deprecated since Python 3.5; use the + :meth:`Signature.from_callable() ` method + instead. + +Patch by Hugo van Kemenade. + +.. + +.. bpo: 45192 +.. date: 2021-09-14-15-52-47 +.. nonce: DjA-BI +.. section: Library + +Fix the ``tempfile._infer_return_type`` function so that the ``dir`` +argument of the :mod:`tempfile` functions accepts an object implementing the +``os.PathLike`` protocol. + +Patch by Kyungmin Lee. + +.. + +.. bpo: 45160 +.. date: 2021-09-11-14-47-05 +.. nonce: VzMXbW +.. section: Library + +When tracing a tkinter variable used by a ttk OptionMenu, callbacks are no +longer made twice. + +.. + +.. bpo: 25625 +.. date: 2021-09-10-12-53-28 +.. nonce: SzcBCw +.. section: Library + +Added non parallel-safe :func:`~contextlib.chdir` context manager to change +the current working directory and then restore it on exit. Simple wrapper +around :func:`~os.chdir`. + +.. + +.. bpo: 24139 +.. date: 2021-08-30-23-10-48 +.. nonce: e38czf +.. section: Library + +Add support for SQLite extended result codes in :exc:`sqlite3.Error`. Patch +by Erlend E. Aasland. + +.. + +.. bpo: 24444 +.. date: 2021-08-30-00-19-23 +.. nonce: Ki4bgz +.. section: Library + +Fixed an error raised in :mod:`argparse` help display when help for an +option is set to 1+ blank spaces or when *choices* arg is an empty +container. + +.. + +.. bpo: 44547 +.. date: 2021-08-20-10-52-40 +.. nonce: eu0iJq +.. section: Library + +Implement ``Fraction.__int__``, so that a :class:`fractions.Fraction` +instance ``f`` passes an ``isinstance(f, typing.SupportsInt)`` check. + +.. + +.. bpo: 40321 +.. date: 2021-07-22-21-25-56 +.. nonce: gBlFmw +.. section: Library + +Adds support for HTTP 308 redirects to :mod:`urllib`. See :rfc:`7538` for +details. Patch by Jochem Schulenklopper. + +.. + +.. bpo: 10572 +.. date: 2021-01-07-01-25-38 +.. nonce: gEEZ9z +.. section: Library + +Move :mod:`sqlite3` tests to ``/Lib/test/test_sqlite3``. Patch by Erlend E. +Aasland. + +.. + +.. bpo: 41374 +.. date: 2020-07-27-19-21-05 +.. nonce: cd-kFL +.. section: Library + +Ensure that ``socket.TCP_*`` constants are exposed on Cygwin 3.1.6 and +greater. + +.. + +.. bpo: 35970 +.. date: 2019-02-11-19-06-10 +.. nonce: ZRvh51 +.. section: Library + +Add help flag to the base64 module's command line interface. Patch +contributed by Robert Kuska. + +.. + +.. bpo: 45726 +.. date: 2021-11-05-12-15-24 +.. nonce: GwRr7e +.. section: Documentation + +Improve documentation for :func:`functools.singledispatch` and +:class:`functools.singledispatchmethod`. + +.. + +.. bpo: 45680 +.. date: 2021-11-03-14-51-03 +.. nonce: 9_NTFU +.. section: Documentation + +Amend the docs on ``GenericAlias`` objects to clarify that non-container +classes can also implement ``__class_getitem__``. Patch contributed by Alex +Waygood. + +.. + +.. bpo: 45618 +.. date: 2021-10-31-20-35-06 +.. nonce: RTcNXF +.. section: Documentation + +Update Sphinx version used to build the documentation to 4.2.0. Patch by +Maciej Olko. + +.. + +.. bpo: 45655 +.. date: 2021-10-28-19-22-55 +.. nonce: aPYGaS +.. section: Documentation + +Add a new "relevant PEPs" section to the top of the documentation for the +``typing`` module. Patch by Alex Waygood. + +.. + +.. bpo: 45604 +.. date: 2021-10-26-10-00-45 +.. nonce: Dm-YhV +.. section: Documentation + +Add ``level`` argument to ``multiprocessing.log_to_stderr`` function docs. + +.. + +.. bpo: 45516 +.. date: 2021-10-22-21-57-42 +.. nonce: 7_RMEX +.. section: Documentation + +Add protocol description to the :class:`importlib.abc.TraversableResources` +documentation. + +.. + +.. bpo: 45464 +.. date: 2021-10-20-16-26-53 +.. nonce: mOISBs +.. section: Documentation + +Mention in the documentation of :ref:`Built-in Exceptions +` that inheriting from multiple exception types in a +single subclass is not recommended due to possible memory layout +incompatibility. + +.. + +.. bpo: 45449 +.. date: 2021-10-19-01-41-40 +.. nonce: fjHZJc +.. section: Documentation + +Add note about :pep:`585` in :mod:`collections.abc`. + +.. + +.. bpo: 45516 +.. date: 2021-10-18-20-12-18 +.. nonce: EJh4K8 +.. section: Documentation + +Add protocol description to the :class:`importlib.abc.Traversable` +documentation. + +.. + +.. bpo: 20692 +.. date: 2021-10-13-00-42-54 +.. nonce: K5rGtP +.. section: Documentation + +Add Programming FAQ entry explaining that int literal attribute access +requires either a space after or parentheses around the literal. + +.. + +.. bpo: 45678 +.. date: 2021-11-04-20-03-32 +.. nonce: 1xNMjN +.. section: Tests + +Add tests for scenarios in which :class:`functools.singledispatchmethod` is +stacked on top of a method that has already been wrapped by two other +decorators. Patch by Alex Waygood. + +.. + +.. bpo: 45578 +.. date: 2021-10-30-19-00-25 +.. nonce: bvu6X2 +.. section: Tests + +Add tests for :func:`dis.distb` + +.. + +.. bpo: 45678 +.. date: 2021-10-30-13-12-20 +.. nonce: bKrYeS +.. section: Tests + +Add tests to ensure that ``functools.singledispatchmethod`` correctly wraps +the attributes of the target function. + +.. + +.. bpo: 45668 +.. date: 2021-10-29-17-18-56 +.. nonce: MfAw4i +.. section: Tests + +PGO tests now pass when Python is built without test extension modules. + +.. + +.. bpo: 45577 +.. date: 2021-10-22-19-44-13 +.. nonce: dSaNvK +.. section: Tests + +Add subtests for all ``pickle`` protocols in ``test_zoneinfo``. + +.. + +.. bpo: 45566 +.. date: 2021-10-22-12-05-21 +.. nonce: 2gQ3ZB +.. section: Tests + +Fix ``test_frozen_pickle`` in ``test_dataclasses`` to check all ``pickle`` +versions. + +.. + +.. bpo: 43592 +.. date: 2021-10-21-17-22-26 +.. nonce: kHRsra +.. section: Tests + +:mod:`test.libregrtest` now raises the soft resource limit for the maximum +number of file descriptors when the default is too low for our test suite as +was often the case on macOS. + +.. + +.. bpo: 39679 +.. date: 2021-10-18-16-18-41 +.. nonce: F18qcE +.. section: Tests + +Add more test cases for `@functools.singledispatchmethod` when combined with +`@classmethod` or `@staticmethod`. + +.. + +.. bpo: 45410 +.. date: 2021-10-08-14-03-20 +.. nonce: Ex9xe2 +.. section: Tests + +When libregrtest spawns a worker process, stderr is now written into stdout +to keep messages order. Use a single pipe for stdout and stderr, rather than +two pipes. Previously, messages were out of order which made analysis of +buildbot logs harder Patch by Victor Stinner. + +.. + +.. bpo: 45402 +.. date: 2021-10-07-13-43-01 +.. nonce: jlQvep +.. section: Tests + +Fix test_tools.test_sundry() when Python is built out of tree: fix how the +freeze_modules.py tool locates the _freeze_module program. Patch by Victor +Stinner. + +.. + +.. bpo: 45403 +.. date: 2021-10-07-13-27-12 +.. nonce: 7QiDvw +.. section: Tests + +Fix test_sys.test_stdlib_dir() when Python is built outside the source tree: +compare normalized paths. Patch by Victor Stinner. + +.. + +.. bpo: 45400 +.. date: 2021-10-07-13-11-45 +.. nonce: h3iT7V +.. section: Tests + +Fix test_name_error_suggestions_do_not_trigger_for_too_many_locals() of +test_exceptions if a directory name contains "a1" (like "Python-3.11.0a1"): +use a stricter regular expression. Patch by Victor Stinner. + +.. + +.. bpo: 43158 +.. date: 2021-11-01-12-51-46 +.. nonce: fghS6w +.. section: Build + +``setup.py`` now uses values from configure script to build the ``_uuid`` +extension module. Configure now detects util-linux's ``libuuid``, too. + +.. + +.. bpo: 45666 +.. date: 2021-10-29-12-54-53 +.. nonce: w2G63u +.. section: Build + +Fix warning of ``swprintf`` and ``%s`` usage in ``_testembed.c`` + +.. + +.. bpo: 45548 +.. date: 2021-10-28-14-47-22 +.. nonce: mdCBxB +.. section: Build + +``Modules/Setup`` and ``Modules/makesetup`` have been improved. The +``Setup`` file now contains working rules for all extensions. Outdated +comments have been removed. Rules defined by ``makesetup`` track +dependencies correctly. + +.. + +.. bpo: 45548 +.. date: 2021-10-24-21-49-49 +.. nonce: UWx0UC +.. section: Build + +The :mod:`math` and :mod:`cmath` implementation now require a C99 compatible +``libm`` and no longer ship with workarounds for missing acosh, asinh, +atanh, expm1, and log1p functions. + +.. + +.. bpo: 45595 +.. date: 2021-10-24-11-02-43 +.. nonce: WI_5YU +.. section: Build + +``setup.py`` and ``makesetup`` now track build dependencies on all Python +header files and module specific header files. + +.. + +.. bpo: 45571 +.. date: 2021-10-22-15-28-29 +.. nonce: yY8NsJ +.. section: Build + +``Modules/Setup`` now use ``PY_CFLAGS_NODIST`` instead of ``PY_CFLAGS`` to +compile shared modules. + +.. + +.. bpo: 45570 +.. date: 2021-10-22-14-45-40 +.. nonce: 61gM2A +.. section: Build + +:mod:`pyexpat` and :mod:`_elementtree` no longer define obsolete macros +``HAVE_EXPAT_CONFIG_H`` and ``USE_PYEXPAT_CAPI``. ``XML_POOR_ENTROPY`` is +now defined in ``expat_config.h``. + +.. + +.. bpo: 43974 +.. date: 2021-10-22-14-00-44 +.. nonce: HHZtbx +.. section: Build + +``setup.py`` no longer defines ``Py_BUILD_CORE_MODULE``. Instead every +module, that uses the internal API, defines the macro. + +.. + +.. bpo: 45548 +.. date: 2021-10-20-17-02-56 +.. nonce: BoggEf +.. section: Build + +Fill in missing entries in Modules/Setup. + +.. + +.. bpo: 45532 +.. date: 2021-10-20-16-07-39 +.. nonce: kyhvis +.. section: Build + +Update :data:`sys.version` to use ``main`` as fallback information. Patch by +Jeong YunWon. + +.. + +.. bpo: 45536 +.. date: 2021-10-20-12-42-39 +.. nonce: oQNYHB +.. section: Build + +The ``configure`` script now checks whether OpenSSL headers and libraries +provide required APIs. Most common APIs are verified. The check detects +outdated or missing OpenSSL. Failures do not stop configure. + +.. + +.. bpo: 45221 +.. date: 2021-10-18-10-25-56 +.. nonce: rnulhf +.. section: Build + +Fixed regression in handling of ``LDFLAGS`` and ``CPPFLAGS`` options where +:meth:`argparse.parse_known_args` could interpret an option as one of the +built-in command line argument, for example ``-h`` for help. + +.. + +.. bpo: 45440 +.. date: 2021-10-12-02-13-08 +.. nonce: -zYgDb +.. section: Build + +Building Python now requires a C99 ```` header file providing the +following functions: ``copysign()``, ``hypot()``, ``isfinite()``, +``isinf()``, ``isnan()``, ``round()``. Patch by Victor Stinner. + +.. + +.. bpo: 45405 +.. date: 2021-10-11-16-27-38 +.. nonce: iSfdW5 +.. section: Build + +Prevent ``internal configure error`` when running ``configure`` with recent +versions of non-Apple clang. Patch by David Bohman. + +.. + +.. bpo: 45433 +.. date: 2021-10-11-16-08-37 +.. nonce: pVDkMV +.. section: Build + +Avoid linking libpython with libcrypt. + +.. + +.. bpo: 43652 +.. date: 2021-11-04-00-41-50 +.. nonce: RnqV7I +.. section: Windows + +Update Tcl/Tk to 8.6.11, actually this time. The previous update incorrectly +included 8.6.10. + +.. + +.. bpo: 45337 +.. date: 2021-09-30-23-17-27 +.. nonce: qg7U_h +.. section: Windows + +venv now warns when the created environment may need to be accessed at a +different path, due to redirections, links or junctions. It also now +correctly installs or upgrades components when the alternate path is +required. + +.. + +.. bpo: 43851 +.. date: 2021-04-15-01-23-10 +.. nonce: qgU0gy +.. section: Windows + +Build SQLite ``SQLITE_OMIT_AUTOINIT`` on Windows. Patch by Erlend E. +Aasland. + +.. + +.. bpo: 44828 +.. date: 2021-10-25-02-02-21 +.. nonce: XBdXlJ +.. section: macOS + +Avoid tkinter file dialog failure on macOS 12 Monterey when using the Tk +8.6.11 provided by python.org macOS installers. Patch by Marc Culler of the +Tk project. + +.. + +.. bpo: 45495 +.. date: 2021-10-16-17-20-32 +.. nonce: ST8RFt +.. section: IDLE + +Add context keywords 'case' and 'match' to completions list. + +.. + +.. bpo: 29103 +.. date: 2021-10-20-18-41-17 +.. nonce: CMRLyq +.. section: C API + +:c:func:`PyType_FromSpec* ` now copies the class +name from the spec to a buffer owned by the class, so the original can be +safely deallocated. Patch by Petr Viktorin. + +.. + +.. bpo: 45522 +.. date: 2021-10-19-13-07-46 +.. nonce: kGAwmZ +.. section: C API + +The internal freelists for frame, float, list, dict, async generators, and +context objects can now be disabled. + +.. + +.. bpo: 35134 +.. date: 2021-10-19-00-20-40 +.. nonce: Z0Zk_m +.. section: C API + +Exclude :c:func:`PyWeakref_GET_OBJECT` from the limited C API. It never +worked since the :c:type:`PyWeakReference` structure is opaque in the +limited C API. + +.. + +.. bpo: 35081 +.. date: 2021-10-15-09-29-59 +.. nonce: 2teFD3 +.. section: C API + +Move the ``interpreteridobject.h`` header file from ``Include/`` to +``Include/internal/``. It only provides private functions. Patch by Victor +Stinner. + +.. + +.. bpo: 35134 +.. date: 2021-10-15-00-11-51 +.. nonce: eX4zqy +.. section: C API + +The non-limited API files ``cellobject.h``, ``classobject.h``, +``context.h``, ``funcobject.h``, ``genobject.h`` and ``longintrepr.h`` have +been moved to the ``Include/cpython`` directory. Moreover, the ``eval.h`` +header file was removed. These files must not be included directly, as they +are already included in ``Python.h``: :ref:`Include Files `. +If they have been included directly, consider including ``Python.h`` +instead. Patch by Victor Stinner. + +.. + +.. bpo: 45474 +.. date: 2021-10-14-22-16-56 +.. nonce: 1OkJQh +.. section: C API + +The following items are no longer available when ``Py_LIMITED_API`` is +defined: + +* :c:func:`PyMarshal_WriteLongToFile` +* :c:func:`PyMarshal_WriteObjectToFile` +* :c:func:`PyMarshal_ReadObjectFromString` +* :c:func:`PyMarshal_WriteObjectToString` +* the ``Py_MARSHAL_VERSION`` macro + +These are not part of the :ref:`limited API `. + +Patch by Victor Stinner. + +.. + +.. bpo: 45434 +.. date: 2021-10-13-14-42-46 +.. nonce: INNEEt +.. section: C API + +Remove the ``pystrhex.h`` header file. It only contains private functions. C +extensions should only include the main ```` header file. Patch by +Victor Stinner. + +.. + +.. bpo: 45440 +.. date: 2021-10-12-02-13-41 +.. nonce: Gf94rE +.. section: C API + +Remove the ``Py_FORCE_DOUBLE()`` macro. It was used by the +``Py_IS_INFINITY()`` macro. Patch by Victor Stinner. + +.. + +.. bpo: 45434 +.. date: 2021-10-11-23-03-49 +.. nonce: tsS8I_ +.. section: C API + +```` no longer includes the header files ````, +````, ```` and ```` when the ``Py_LIMITED_API`` +macro is set to ``0x030b0000`` (Python 3.11) or higher. C extensions should +explicitly include the header files after ``#include ``. Patch by +Victor Stinner. + +.. + +.. bpo: 41123 +.. date: 2021-10-11-22-58-33 +.. nonce: myrlIp +.. section: C API + +Remove ``Py_UNICODE_COPY()`` and ``Py_UNICODE_FILL()`` macros, deprecated +since Python 3.3. Use ``PyUnicode_CopyCharacters()`` or ``memcpy()`` +(``wchar_t*`` string), and ``PyUnicode_Fill()`` functions instead. Patch by +Victor Stinner. + +.. + +.. bpo: 45412 +.. date: 2021-10-08-15-54-07 +.. nonce: KHyJCT +.. section: C API + +Remove the following math macros using the ``errno`` variable: + +* ``Py_ADJUST_ERANGE1()`` +* ``Py_ADJUST_ERANGE2()`` +* ``Py_OVERFLOWED()`` +* ``Py_SET_ERANGE_IF_OVERFLOW()`` +* ``Py_SET_ERRNO_ON_MATH_ERROR()`` + +Patch by Victor Stinner. + +.. + +.. bpo: 45395 +.. date: 2021-10-06-15-54-40 +.. nonce: yVhdAl +.. section: C API + +Custom frozen modules (the array set to ``PyImport_FrozenModules``) are now +treated as additions, rather than replacing all the default frozen modules. +Frozen stdlib modules can still be disabled by setting the "code" field of +the custom array entry to NULL. + +.. + +.. bpo: 43760 +.. date: 2021-09-24-11-12-21 +.. nonce: Bfxd1- +.. section: C API + +Add new :c:func:`PyThreadState_EnterTracing`, and +:c:func:`PyThreadState_LeaveTracing` functions to the limited C API to +suspend and resume tracing and profiling. Patch by Victor Stinner. + +.. + +.. bpo: 44220 +.. date: 2021-05-24-22-12-40 +.. nonce: H9CUGl +.. section: C API + +:c:var:`PyStructSequence_UnnamedField` is added to the Stable ABI. diff --git a/Misc/NEWS.d/next/Build/2021-10-11-16-08-37.bpo-45433.pVDkMV.rst b/Misc/NEWS.d/next/Build/2021-10-11-16-08-37.bpo-45433.pVDkMV.rst deleted file mode 100644 index 27869f0..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-11-16-08-37.bpo-45433.pVDkMV.rst +++ /dev/null @@ -1 +0,0 @@ -Avoid linking libpython with libcrypt. diff --git a/Misc/NEWS.d/next/Build/2021-10-11-16-27-38.bpo-45405.iSfdW5.rst b/Misc/NEWS.d/next/Build/2021-10-11-16-27-38.bpo-45405.iSfdW5.rst deleted file mode 100644 index a2dc5bc..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-11-16-27-38.bpo-45405.iSfdW5.rst +++ /dev/null @@ -1,2 +0,0 @@ -Prevent ``internal configure error`` when running ``configure`` -with recent versions of non-Apple clang. Patch by David Bohman. diff --git a/Misc/NEWS.d/next/Build/2021-10-12-02-13-08.bpo-45440.-zYgDb.rst b/Misc/NEWS.d/next/Build/2021-10-12-02-13-08.bpo-45440.-zYgDb.rst deleted file mode 100644 index 93f7f31..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-12-02-13-08.bpo-45440.-zYgDb.rst +++ /dev/null @@ -1,4 +0,0 @@ -Building Python now requires a C99 ```` header file providing -the following functions: ``copysign()``, ``hypot()``, ``isfinite()``, -``isinf()``, ``isnan()``, ``round()``. -Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Build/2021-10-18-10-25-56.bpo-45221.rnulhf.rst b/Misc/NEWS.d/next/Build/2021-10-18-10-25-56.bpo-45221.rnulhf.rst deleted file mode 100644 index cb981d9..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-18-10-25-56.bpo-45221.rnulhf.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed regression in handling of ``LDFLAGS`` and ``CPPFLAGS`` options -where :meth:`argparse.parse_known_args` could interpret an option as -one of the built-in command line argument, for example ``-h`` for help. diff --git a/Misc/NEWS.d/next/Build/2021-10-20-12-42-39.bpo-45536.oQNYHB.rst b/Misc/NEWS.d/next/Build/2021-10-20-12-42-39.bpo-45536.oQNYHB.rst deleted file mode 100644 index e560b71..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-20-12-42-39.bpo-45536.oQNYHB.rst +++ /dev/null @@ -1,3 +0,0 @@ -The ``configure`` script now checks whether OpenSSL headers and libraries -provide required APIs. Most common APIs are verified. The check detects -outdated or missing OpenSSL. Failures do not stop configure. diff --git a/Misc/NEWS.d/next/Build/2021-10-20-16-07-39.bpo-45532.kyhvis.rst b/Misc/NEWS.d/next/Build/2021-10-20-16-07-39.bpo-45532.kyhvis.rst deleted file mode 100644 index 575e2fb..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-20-16-07-39.bpo-45532.kyhvis.rst +++ /dev/null @@ -1,2 +0,0 @@ -Update :data:`sys.version` to use ``main`` as fallback information. -Patch by Jeong YunWon. diff --git a/Misc/NEWS.d/next/Build/2021-10-20-17-02-56.bpo-45548.BoggEf.rst b/Misc/NEWS.d/next/Build/2021-10-20-17-02-56.bpo-45548.BoggEf.rst deleted file mode 100644 index a52afa2..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-20-17-02-56.bpo-45548.BoggEf.rst +++ /dev/null @@ -1 +0,0 @@ -Fill in missing entries in Modules/Setup. diff --git a/Misc/NEWS.d/next/Build/2021-10-22-14-00-44.bpo-43974.HHZtbx.rst b/Misc/NEWS.d/next/Build/2021-10-22-14-00-44.bpo-43974.HHZtbx.rst deleted file mode 100644 index 728a095..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-22-14-00-44.bpo-43974.HHZtbx.rst +++ /dev/null @@ -1,2 +0,0 @@ -``setup.py`` no longer defines ``Py_BUILD_CORE_MODULE``. Instead every -module, that uses the internal API, defines the macro. diff --git a/Misc/NEWS.d/next/Build/2021-10-22-14-45-40.bpo-45570.61gM2A.rst b/Misc/NEWS.d/next/Build/2021-10-22-14-45-40.bpo-45570.61gM2A.rst deleted file mode 100644 index 7de50f9..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-22-14-45-40.bpo-45570.61gM2A.rst +++ /dev/null @@ -1 +0,0 @@ -:mod:`pyexpat` and :mod:`_elementtree` no longer define obsolete macros ``HAVE_EXPAT_CONFIG_H`` and ``USE_PYEXPAT_CAPI``. ``XML_POOR_ENTROPY`` is now defined in ``expat_config.h``. diff --git a/Misc/NEWS.d/next/Build/2021-10-22-15-28-29.bpo-45571.yY8NsJ.rst b/Misc/NEWS.d/next/Build/2021-10-22-15-28-29.bpo-45571.yY8NsJ.rst deleted file mode 100644 index f2042d1..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-22-15-28-29.bpo-45571.yY8NsJ.rst +++ /dev/null @@ -1,2 +0,0 @@ -``Modules/Setup`` now use ``PY_CFLAGS_NODIST`` instead of ``PY_CFLAGS`` to -compile shared modules. diff --git a/Misc/NEWS.d/next/Build/2021-10-24-11-02-43.bpo-45595.WI_5YU.rst b/Misc/NEWS.d/next/Build/2021-10-24-11-02-43.bpo-45595.WI_5YU.rst deleted file mode 100644 index bb09d6e..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-24-11-02-43.bpo-45595.WI_5YU.rst +++ /dev/null @@ -1,2 +0,0 @@ -``setup.py`` and ``makesetup`` now track build dependencies on all Python -header files and module specific header files. diff --git a/Misc/NEWS.d/next/Build/2021-10-24-21-49-49.bpo-45548.UWx0UC.rst b/Misc/NEWS.d/next/Build/2021-10-24-21-49-49.bpo-45548.UWx0UC.rst deleted file mode 100644 index 15fd566..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-24-21-49-49.bpo-45548.UWx0UC.rst +++ /dev/null @@ -1,3 +0,0 @@ -The :mod:`math` and :mod:`cmath` implementation now require a C99 compatible -``libm`` and no longer ship with workarounds for missing acosh, asinh, atanh, -expm1, and log1p functions. diff --git a/Misc/NEWS.d/next/Build/2021-10-28-14-47-22.bpo-45548.mdCBxB.rst b/Misc/NEWS.d/next/Build/2021-10-28-14-47-22.bpo-45548.mdCBxB.rst deleted file mode 100644 index e6ccd52..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-28-14-47-22.bpo-45548.mdCBxB.rst +++ /dev/null @@ -1,4 +0,0 @@ -``Modules/Setup`` and ``Modules/makesetup`` have been improved. The -``Setup`` file now contains working rules for all extensions. Outdated -comments have been removed. Rules defined by ``makesetup`` track -dependencies correctly. diff --git a/Misc/NEWS.d/next/Build/2021-10-29-12-54-53.bpo-45666.w2G63u.rst b/Misc/NEWS.d/next/Build/2021-10-29-12-54-53.bpo-45666.w2G63u.rst deleted file mode 100644 index 8a3e6fe..0000000 --- a/Misc/NEWS.d/next/Build/2021-10-29-12-54-53.bpo-45666.w2G63u.rst +++ /dev/null @@ -1 +0,0 @@ -Fix warning of ``swprintf`` and ``%s`` usage in ``_testembed.c`` diff --git a/Misc/NEWS.d/next/Build/2021-11-01-12-51-46.bpo-43158.fghS6w.rst b/Misc/NEWS.d/next/Build/2021-11-01-12-51-46.bpo-43158.fghS6w.rst deleted file mode 100644 index 3b1de47..0000000 --- a/Misc/NEWS.d/next/Build/2021-11-01-12-51-46.bpo-43158.fghS6w.rst +++ /dev/null @@ -1,2 +0,0 @@ -``setup.py`` now uses values from configure script to build the ``_uuid`` -extension module. Configure now detects util-linux's ``libuuid``, too. diff --git a/Misc/NEWS.d/next/C API/2021-05-24-22-12-40.bpo-44220.H9CUGl.rst b/Misc/NEWS.d/next/C API/2021-05-24-22-12-40.bpo-44220.H9CUGl.rst deleted file mode 100644 index 79ba8aa..0000000 --- a/Misc/NEWS.d/next/C API/2021-05-24-22-12-40.bpo-44220.H9CUGl.rst +++ /dev/null @@ -1 +0,0 @@ -:c:var:`PyStructSequence_UnnamedField` is added to the Stable ABI. diff --git a/Misc/NEWS.d/next/C API/2021-09-24-11-12-21.bpo-43760.Bfxd1-.rst b/Misc/NEWS.d/next/C API/2021-09-24-11-12-21.bpo-43760.Bfxd1-.rst deleted file mode 100644 index 16bea5f..0000000 --- a/Misc/NEWS.d/next/C API/2021-09-24-11-12-21.bpo-43760.Bfxd1-.rst +++ /dev/null @@ -1,4 +0,0 @@ -Add new :c:func:`PyThreadState_EnterTracing`, and -:c:func:`PyThreadState_LeaveTracing` functions to the limited C API to suspend -and resume tracing and profiling. -Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/C API/2021-10-06-15-54-40.bpo-45395.yVhdAl.rst b/Misc/NEWS.d/next/C API/2021-10-06-15-54-40.bpo-45395.yVhdAl.rst deleted file mode 100644 index 8996513..0000000 --- a/Misc/NEWS.d/next/C API/2021-10-06-15-54-40.bpo-45395.yVhdAl.rst +++ /dev/null @@ -1,4 +0,0 @@ -Custom frozen modules (the array set to ``PyImport_FrozenModules``) are now -treated as additions, rather than replacing all the default frozen modules. -Frozen stdlib modules can still be disabled by setting the "code" field of -the custom array entry to NULL. diff --git a/Misc/NEWS.d/next/C API/2021-10-08-15-54-07.bpo-45412.KHyJCT.rst b/Misc/NEWS.d/next/C API/2021-10-08-15-54-07.bpo-45412.KHyJCT.rst deleted file mode 100644 index 4974681..0000000 --- a/Misc/NEWS.d/next/C API/2021-10-08-15-54-07.bpo-45412.KHyJCT.rst +++ /dev/null @@ -1,9 +0,0 @@ -Remove the following math macros using the ``errno`` variable: - -* ``Py_ADJUST_ERANGE1()`` -* ``Py_ADJUST_ERANGE2()`` -* ``Py_OVERFLOWED()`` -* ``Py_SET_ERANGE_IF_OVERFLOW()`` -* ``Py_SET_ERRNO_ON_MATH_ERROR()`` - -Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/C API/2021-10-11-22-58-33.bpo-41123.myrlIp.rst b/Misc/NEWS.d/next/C API/2021-10-11-22-58-33.bpo-41123.myrlIp.rst deleted file mode 100644 index 3ae302b..0000000 --- a/Misc/NEWS.d/next/C API/2021-10-11-22-58-33.bpo-41123.myrlIp.rst +++ /dev/null @@ -1,4 +0,0 @@ -Remove ``Py_UNICODE_COPY()`` and ``Py_UNICODE_FILL()`` macros, deprecated -since Python 3.3. Use ``PyUnicode_CopyCharacters()`` or ``memcpy()`` -(``wchar_t*`` string), and ``PyUnicode_Fill()`` functions instead. Patch by -Victor Stinner. diff --git a/Misc/NEWS.d/next/C API/2021-10-11-23-03-49.bpo-45434.tsS8I_.rst b/Misc/NEWS.d/next/C API/2021-10-11-23-03-49.bpo-45434.tsS8I_.rst deleted file mode 100644 index 627f687..0000000 --- a/Misc/NEWS.d/next/C API/2021-10-11-23-03-49.bpo-45434.tsS8I_.rst +++ /dev/null @@ -1,5 +0,0 @@ -```` no longer includes the header files ````, -````, ```` and ```` when the ``Py_LIMITED_API`` -macro is set to ``0x030b0000`` (Python 3.11) or higher. C extensions should -explicitly include the header files after ``#include ``. -Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/C API/2021-10-12-02-13-41.bpo-45440.Gf94rE.rst b/Misc/NEWS.d/next/C API/2021-10-12-02-13-41.bpo-45440.Gf94rE.rst deleted file mode 100644 index d9d695f..0000000 --- a/Misc/NEWS.d/next/C API/2021-10-12-02-13-41.bpo-45440.Gf94rE.rst +++ /dev/null @@ -1,2 +0,0 @@ -Remove the ``Py_FORCE_DOUBLE()`` macro. It was used by the ``Py_IS_INFINITY()`` -macro. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/C API/2021-10-13-14-42-46.bpo-45434.INNEEt.rst b/Misc/NEWS.d/next/C API/2021-10-13-14-42-46.bpo-45434.INNEEt.rst deleted file mode 100644 index 933f806..0000000 --- a/Misc/NEWS.d/next/C API/2021-10-13-14-42-46.bpo-45434.INNEEt.rst +++ /dev/null @@ -1,3 +0,0 @@ -Remove the ``pystrhex.h`` header file. It only contains private functions. C -extensions should only include the main ```` header file. Patch by -Victor Stinner. diff --git a/Misc/NEWS.d/next/C API/2021-10-14-22-16-56.bpo-45474.1OkJQh.rst b/Misc/NEWS.d/next/C API/2021-10-14-22-16-56.bpo-45474.1OkJQh.rst deleted file mode 100644 index d41f1b7..0000000 --- a/Misc/NEWS.d/next/C API/2021-10-14-22-16-56.bpo-45474.1OkJQh.rst +++ /dev/null @@ -1,11 +0,0 @@ -The following items are no longer available when ``Py_LIMITED_API`` is defined: - -* :c:func:`PyMarshal_WriteLongToFile` -* :c:func:`PyMarshal_WriteObjectToFile` -* :c:func:`PyMarshal_ReadObjectFromString` -* :c:func:`PyMarshal_WriteObjectToString` -* the ``Py_MARSHAL_VERSION`` macro - -These are not part of the :ref:`limited API `. - -Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/C API/2021-10-15-00-11-51.bpo-35134.eX4zqy.rst b/Misc/NEWS.d/next/C API/2021-10-15-00-11-51.bpo-35134.eX4zqy.rst deleted file mode 100644 index d0d3ce6..0000000 --- a/Misc/NEWS.d/next/C API/2021-10-15-00-11-51.bpo-35134.eX4zqy.rst +++ /dev/null @@ -1,7 +0,0 @@ -The non-limited API files ``cellobject.h``, ``classobject.h``, ``context.h``, -``funcobject.h``, ``genobject.h`` and ``longintrepr.h`` have been moved to -the ``Include/cpython`` directory. Moreover, the ``eval.h`` header file was -removed. These files must not be included directly, as they are already -included in ``Python.h``: :ref:`Include Files `. If they have -been included directly, consider including ``Python.h`` instead. -Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/C API/2021-10-15-09-29-59.bpo-35081.2teFD3.rst b/Misc/NEWS.d/next/C API/2021-10-15-09-29-59.bpo-35081.2teFD3.rst deleted file mode 100644 index 79d4a9b..0000000 --- a/Misc/NEWS.d/next/C API/2021-10-15-09-29-59.bpo-35081.2teFD3.rst +++ /dev/null @@ -1,3 +0,0 @@ -Move the ``interpreteridobject.h`` header file from ``Include/`` to -``Include/internal/``. It only provides private functions. Patch by Victor -Stinner. diff --git a/Misc/NEWS.d/next/C API/2021-10-19-00-20-40.bpo-35134.Z0Zk_m.rst b/Misc/NEWS.d/next/C API/2021-10-19-00-20-40.bpo-35134.Z0Zk_m.rst deleted file mode 100644 index 57c4fa5..0000000 --- a/Misc/NEWS.d/next/C API/2021-10-19-00-20-40.bpo-35134.Z0Zk_m.rst +++ /dev/null @@ -1,3 +0,0 @@ -Exclude :c:func:`PyWeakref_GET_OBJECT` from the limited C API. It never -worked since the :c:type:`PyWeakReference` structure is opaque in the -limited C API. diff --git a/Misc/NEWS.d/next/C API/2021-10-19-13-07-46.bpo-45522.kGAwmZ.rst b/Misc/NEWS.d/next/C API/2021-10-19-13-07-46.bpo-45522.kGAwmZ.rst deleted file mode 100644 index 658261f..0000000 --- a/Misc/NEWS.d/next/C API/2021-10-19-13-07-46.bpo-45522.kGAwmZ.rst +++ /dev/null @@ -1,2 +0,0 @@ -The internal freelists for frame, float, list, dict, async generators, and -context objects can now be disabled. diff --git a/Misc/NEWS.d/next/C API/2021-10-20-18-41-17.bpo-29103.CMRLyq.rst b/Misc/NEWS.d/next/C API/2021-10-20-18-41-17.bpo-29103.CMRLyq.rst deleted file mode 100644 index e923bfd..0000000 --- a/Misc/NEWS.d/next/C API/2021-10-20-18-41-17.bpo-29103.CMRLyq.rst +++ /dev/null @@ -1,3 +0,0 @@ -:c:func:`PyType_FromSpec* ` now copies the class name -from the spec to a buffer owned by the class, so the original can be safely -deallocated. Patch by Petr Viktorin. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-04-03-02-44-15.bpo-43706.jjsXlT.rst b/Misc/NEWS.d/next/Core and Builtins/2021-04-03-02-44-15.bpo-43706.jjsXlT.rst deleted file mode 100644 index ee859e3..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-04-03-02-44-15.bpo-43706.jjsXlT.rst +++ /dev/null @@ -1,2 +0,0 @@ -Speed up calls to ``enumerate()`` by using the :pep:`590` ``vectorcall`` -calling convention. Patch by Dong-hee Na. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-06-26-16-55-08.bpo-44511.k8sMvV.rst b/Misc/NEWS.d/next/Core and Builtins/2021-06-26-16-55-08.bpo-44511.k8sMvV.rst deleted file mode 100644 index 352e046..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-06-26-16-55-08.bpo-44511.k8sMvV.rst +++ /dev/null @@ -1 +0,0 @@ -Improve the generated bytecode for class and mapping patterns. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-06-28-22-23-59.bpo-44525.sSvUKG.rst b/Misc/NEWS.d/next/Core and Builtins/2021-06-28-22-23-59.bpo-44525.sSvUKG.rst deleted file mode 100644 index 8963d02..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-06-28-22-23-59.bpo-44525.sSvUKG.rst +++ /dev/null @@ -1,10 +0,0 @@ -Setup initial specialization infrastructure for the ``CALL_FUNCTION`` opcode. -Implemented initial specializations for C function calls: - -* ``CALL_FUNCTION_BUILTIN_O`` for ``METH_O`` flag. - -* ``CALL_FUNCTION_BUILTIN_FAST`` for ``METH_FASTCALL`` flag without keywords. - -* ``CALL_FUNCTION_LEN`` for ``len(o)``. - -* ``CALL_FUNCTION_ISINSTANCE`` for ``isinstance(o, t)``. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-09-08-00-30-09.bpo-44050.mFI15u.rst b/Misc/NEWS.d/next/Core and Builtins/2021-09-08-00-30-09.bpo-44050.mFI15u.rst deleted file mode 100644 index d6eed9f..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-09-08-00-30-09.bpo-44050.mFI15u.rst +++ /dev/null @@ -1,3 +0,0 @@ -Extensions that indicate they use global state (by setting ``m_size`` to -1) -can again be used in multiple interpreters. This reverts to behavior of -Python 3.8. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-09-23-14-00-05.bpo-40116.KaoeFs.rst b/Misc/NEWS.d/next/Core and Builtins/2021-09-23-14-00-05.bpo-40116.KaoeFs.rst deleted file mode 100644 index 24ce963..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-09-23-14-00-05.bpo-40116.KaoeFs.rst +++ /dev/null @@ -1,4 +0,0 @@ -Change to the implementation of split dictionaries. Classes where the -instances differ either in the exact set of attributes, or in the order in -which those attributes are set, can still share keys. This should have no -observable effect on users of Python or the C-API. Patch by Mark Shannon. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-09-26-18-18-50.bpo-45292.aX5HVr.rst b/Misc/NEWS.d/next/Core and Builtins/2021-09-26-18-18-50.bpo-45292.aX5HVr.rst deleted file mode 100644 index 55ca14f..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-09-26-18-18-50.bpo-45292.aX5HVr.rst +++ /dev/null @@ -1 +0,0 @@ -Implement :pep:`654`. Add :class:`ExceptionGroup` and :class:`BaseExceptionGroup`. Update traceback display code. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-09-29-12-02-39.bpo-45324.BTQElX.rst b/Misc/NEWS.d/next/Core and Builtins/2021-09-29-12-02-39.bpo-45324.BTQElX.rst deleted file mode 100644 index 7b16847..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-09-29-12-02-39.bpo-45324.BTQElX.rst +++ /dev/null @@ -1,3 +0,0 @@ -In FrozenImporter.find_spec(), we now preserve the information needed in -exec_module() to load the module. This change mostly impacts internal -details, rather than changing the importer's behavior. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-01-09-06-54.bpo-45020.Cj5VQN.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-01-09-06-54.bpo-45020.Cj5VQN.rst deleted file mode 100644 index 8396043..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-01-09-06-54.bpo-45020.Cj5VQN.rst +++ /dev/null @@ -1,5 +0,0 @@ -For frozen stdlib modules, record the original module name as -``module.__spec__.loader_state.origname``. If the value is different than -``module.__spec__.name`` then the module was defined as an alias in -Tools/scripts/freeze_modules.py. If it is ``None`` then the module comes -from a source file outside the stdlib. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-01-09-21-02.bpo-21736.RI47BU.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-01-09-21-02.bpo-21736.RI47BU.rst deleted file mode 100644 index 8396a49..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-01-09-21-02.bpo-21736.RI47BU.rst +++ /dev/null @@ -1,9 +0,0 @@ -Frozen stdlib modules now have ``__file__`` to the .py file they would -otherwise be loaded from, if possible. For packages, ``__path__`` now has -the correct entry instead of being an empty list, which allows unfrozen -submodules to be imported. These are set only if the stdlib directory is -known when the runtime is initialized. Note that the file at ``__file__`` -is not guaranteed to exist. None of this affects non-stdlib frozen modules -nor, for now, frozen modules imported using -``PyImport_ImportFrozenModule()``. Also, at the moment ``co_filename`` is -not updated for the module. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-05-03-49-07.bpo-45367._astoU.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-05-03-49-07.bpo-45367._astoU.rst deleted file mode 100644 index aae518d..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-05-03-49-07.bpo-45367._astoU.rst +++ /dev/null @@ -1 +0,0 @@ -Specialized the ``BINARY_MULTIPLY`` opcode to ``BINARY_MULTIPLY_INT`` and ``BINARY_MULTIPLY_FLOAT`` using the PEP 659 machinery. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-06-21-20-11.bpo-45385.CTUT8s.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-06-21-20-11.bpo-45385.CTUT8s.rst deleted file mode 100644 index 8047c10..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-06-21-20-11.bpo-45385.CTUT8s.rst +++ /dev/null @@ -1 +0,0 @@ -Fix reference leak from descr_check. Patch by Dong-hee Na. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-07-19-09-12.bpo-29410.bg5SYp.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-07-19-09-12.bpo-29410.bg5SYp.rst deleted file mode 100644 index b08999e..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-07-19-09-12.bpo-29410.bg5SYp.rst +++ /dev/null @@ -1 +0,0 @@ -Add SipHash13 for string hash algorithm and use it by default. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-07-21-26-44.bpo-45408.qUqzcd.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-07-21-26-44.bpo-45408.qUqzcd.rst deleted file mode 100644 index e4d4db9..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-07-21-26-44.bpo-45408.qUqzcd.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a crash in the parser when reporting tokenizer errors that occur at the -same time unclosed parentheses are detected. Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-08-09-47-38.bpo-45340.ukHgDb.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-08-09-47-38.bpo-45340.ukHgDb.rst deleted file mode 100644 index 7760773..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-08-09-47-38.bpo-45340.ukHgDb.rst +++ /dev/null @@ -1,3 +0,0 @@ -Object attributes are held in an array instead of a dictionary. An object's -dictionary are created lazily, only when needed. Reduces the memory -consumption of a typical Python object by about 30%. Patch by Mark Shannon. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-12-14-41-39.bpo-45445._F5cMf.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-12-14-41-39.bpo-45445._F5cMf.rst deleted file mode 100644 index d497ae2..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-12-14-41-39.bpo-45445._F5cMf.rst +++ /dev/null @@ -1,2 +0,0 @@ -Python now fails to initialize if it finds an invalid :option:`-X` option in the -command line. Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-16-17-27-48.bpo-45494.vMt1g4.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-16-17-27-48.bpo-45494.vMt1g4.rst deleted file mode 100644 index 97e2981..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-16-17-27-48.bpo-45494.vMt1g4.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix parser crash when reporting errors involving invalid continuation -characters. Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-18-22-40-33.bpo-45521.GdMiuW.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-18-22-40-33.bpo-45521.GdMiuW.rst deleted file mode 100644 index 3a082a4..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-18-22-40-33.bpo-45521.GdMiuW.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix a bug in the obmalloc radix tree code. On 64-bit machines, the bug -causes the tree to hold 46-bits of virtual addresses, rather than the -intended 48-bits. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-19-01-04-08.bpo-30570._G30Ms.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-19-01-04-08.bpo-30570._G30Ms.rst deleted file mode 100644 index d9ab60c..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-19-01-04-08.bpo-30570._G30Ms.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed a crash in ``issubclass()`` from infinite recursion when searching pathological ``__bases__`` tuples. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-19-10-29-47.bpo-45526.WQnvW9.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-19-10-29-47.bpo-45526.WQnvW9.rst deleted file mode 100644 index c35e5f5..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-19-10-29-47.bpo-45526.WQnvW9.rst +++ /dev/null @@ -1,3 +0,0 @@ -In obmalloc, set ADDRESS_BITS to not ignore any bits (ignored 16 before). That is -safer in the case that the kernel gives user-space virtual addresses that span -a range greater than 48 bits. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-20-01-28-26.bpo-45530.5r7n4m.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-20-01-28-26.bpo-45530.5r7n4m.rst deleted file mode 100644 index a8b155e..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-20-01-28-26.bpo-45530.5r7n4m.rst +++ /dev/null @@ -1,8 +0,0 @@ -Cases of sorting using tuples as keys may now be significantly faster -in some cases. Patch by Tim Peters. - -The order of the result may differ from earlier releases if the tuple -elements don't define a total ordering (see -:ref:`expressions-value-comparisons` for information on -total ordering). It's generally true that the result of sorting simply -isn't well-defined in the absence of a total ordering on list elements. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-20-11-57-31.bpo-44525.veL4lJ.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-20-11-57-31.bpo-44525.veL4lJ.rst deleted file mode 100644 index 6ab1d05..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-20-11-57-31.bpo-44525.veL4lJ.rst +++ /dev/null @@ -1 +0,0 @@ -Specialize simple calls to Python functions (no starargs, keyowrd dict, or closure) diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-10-23-13-49-00.bpo-45379.ZF7G3n.rst b/Misc/NEWS.d/next/Core and Builtins/2021-10-23-13-49-00.bpo-45379.ZF7G3n.rst deleted file mode 100644 index f8e2e50..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-10-23-13-49-00.bpo-45379.ZF7G3n.rst +++ /dev/null @@ -1,2 +0,0 @@ -Clarify :exc:`ImportError` message when we try to explicitly import a -frozen module but frozen modules are disabled. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-11-02-09-27-46.bpo-45688.v5Der1.rst b/Misc/NEWS.d/next/Core and Builtins/2021-11-02-09-27-46.bpo-45688.v5Der1.rst deleted file mode 100644 index afd73a1..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-11-02-09-27-46.bpo-45688.v5Der1.rst +++ /dev/null @@ -1,2 +0,0 @@ -:data:`sys.stdlib_module_names` now contains the macOS-specific module -:mod:`_scproxy`. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-11-04-20-19-07.bpo-45716.5C0pA1.rst b/Misc/NEWS.d/next/Core and Builtins/2021-11-04-20-19-07.bpo-45716.5C0pA1.rst deleted file mode 100644 index 682900c..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-11-04-20-19-07.bpo-45716.5C0pA1.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve the :exc:`SyntaxError` message when using ``True``, ``None`` or -``False`` as keywords in a function call. Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Documentation/2021-10-13-00-42-54.bpo-20692.K5rGtP.rst b/Misc/NEWS.d/next/Documentation/2021-10-13-00-42-54.bpo-20692.K5rGtP.rst deleted file mode 100644 index 44ae468..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-10-13-00-42-54.bpo-20692.K5rGtP.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add Programming FAQ entry explaining that int literal attribute access -requires either a space after or parentheses around the literal. diff --git a/Misc/NEWS.d/next/Documentation/2021-10-18-20-12-18.bpo-45516.EJh4K8.rst b/Misc/NEWS.d/next/Documentation/2021-10-18-20-12-18.bpo-45516.EJh4K8.rst deleted file mode 100644 index 98f5d34..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-10-18-20-12-18.bpo-45516.EJh4K8.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add protocol description to the :class:`importlib.abc.Traversable` -documentation. diff --git a/Misc/NEWS.d/next/Documentation/2021-10-19-01-41-40.bpo-45449.fjHZJc.rst b/Misc/NEWS.d/next/Documentation/2021-10-19-01-41-40.bpo-45449.fjHZJc.rst deleted file mode 100644 index fb81775..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-10-19-01-41-40.bpo-45449.fjHZJc.rst +++ /dev/null @@ -1 +0,0 @@ -Add note about :pep:`585` in :mod:`collections.abc`. diff --git a/Misc/NEWS.d/next/Documentation/2021-10-20-16-26-53.bpo-45464.mOISBs.rst b/Misc/NEWS.d/next/Documentation/2021-10-20-16-26-53.bpo-45464.mOISBs.rst deleted file mode 100644 index 1721aa2..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-10-20-16-26-53.bpo-45464.mOISBs.rst +++ /dev/null @@ -1,4 +0,0 @@ -Mention in the documentation of :ref:`Built-in Exceptions -` that inheriting from multiple exception types in a -single subclass is not recommended due to possible memory layout -incompatibility. diff --git a/Misc/NEWS.d/next/Documentation/2021-10-22-21-57-42.bpo-45516.7_RMEX.rst b/Misc/NEWS.d/next/Documentation/2021-10-22-21-57-42.bpo-45516.7_RMEX.rst deleted file mode 100644 index 6295dd0..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-10-22-21-57-42.bpo-45516.7_RMEX.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add protocol description to the :class:`importlib.abc.TraversableResources` -documentation. diff --git a/Misc/NEWS.d/next/Documentation/2021-10-26-10-00-45.bpo-45604.Dm-YhV.rst b/Misc/NEWS.d/next/Documentation/2021-10-26-10-00-45.bpo-45604.Dm-YhV.rst deleted file mode 100644 index 9da9cca..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-10-26-10-00-45.bpo-45604.Dm-YhV.rst +++ /dev/null @@ -1 +0,0 @@ -Add ``level`` argument to ``multiprocessing.log_to_stderr`` function docs. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Documentation/2021-10-28-19-22-55.bpo-45655.aPYGaS.rst b/Misc/NEWS.d/next/Documentation/2021-10-28-19-22-55.bpo-45655.aPYGaS.rst deleted file mode 100644 index fc5b3d0..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-10-28-19-22-55.bpo-45655.aPYGaS.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add a new "relevant PEPs" section to the top of the documentation for the -``typing`` module. Patch by Alex Waygood. diff --git a/Misc/NEWS.d/next/Documentation/2021-10-31-20-35-06.bpo-45618.RTcNXF.rst b/Misc/NEWS.d/next/Documentation/2021-10-31-20-35-06.bpo-45618.RTcNXF.rst deleted file mode 100644 index 47242b9..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-10-31-20-35-06.bpo-45618.RTcNXF.rst +++ /dev/null @@ -1,2 +0,0 @@ -Update Sphinx version used to build the documentation to 4.2.0. -Patch by Maciej Olko. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Documentation/2021-11-03-14-51-03.bpo-45680.9_NTFU.rst b/Misc/NEWS.d/next/Documentation/2021-11-03-14-51-03.bpo-45680.9_NTFU.rst deleted file mode 100644 index 79ea6e3..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-11-03-14-51-03.bpo-45680.9_NTFU.rst +++ /dev/null @@ -1,3 +0,0 @@ -Amend the docs on ``GenericAlias`` objects to clarify that non-container -classes can also implement ``__class_getitem__``. Patch contributed by Alex -Waygood. diff --git a/Misc/NEWS.d/next/Documentation/2021-11-05-12-15-24.bpo-45726.GwRr7e.rst b/Misc/NEWS.d/next/Documentation/2021-11-05-12-15-24.bpo-45726.GwRr7e.rst deleted file mode 100644 index 7ff6283..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-11-05-12-15-24.bpo-45726.GwRr7e.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve documentation for :func:`functools.singledispatch` and -:class:`functools.singledispatchmethod`. diff --git a/Misc/NEWS.d/next/IDLE/2021-10-16-17-20-32.bpo-45495.ST8RFt.rst b/Misc/NEWS.d/next/IDLE/2021-10-16-17-20-32.bpo-45495.ST8RFt.rst deleted file mode 100644 index 3868f8d..0000000 --- a/Misc/NEWS.d/next/IDLE/2021-10-16-17-20-32.bpo-45495.ST8RFt.rst +++ /dev/null @@ -1 +0,0 @@ -Add context keywords 'case' and 'match' to completions list. diff --git a/Misc/NEWS.d/next/Library/2019-02-11-19-06-10.bpo-35970.ZRvh51.rst b/Misc/NEWS.d/next/Library/2019-02-11-19-06-10.bpo-35970.ZRvh51.rst deleted file mode 100644 index bdae153..0000000 --- a/Misc/NEWS.d/next/Library/2019-02-11-19-06-10.bpo-35970.ZRvh51.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add help flag to the base64 module's command line interface. Patch contributed -by Robert Kuska. diff --git a/Misc/NEWS.d/next/Library/2020-07-27-19-21-05.bpo-41374.cd-kFL.rst b/Misc/NEWS.d/next/Library/2020-07-27-19-21-05.bpo-41374.cd-kFL.rst deleted file mode 100644 index a5b2e04..0000000 --- a/Misc/NEWS.d/next/Library/2020-07-27-19-21-05.bpo-41374.cd-kFL.rst +++ /dev/null @@ -1,2 +0,0 @@ -Ensure that ``socket.TCP_*`` constants are exposed on Cygwin 3.1.6 and -greater. diff --git a/Misc/NEWS.d/next/Library/2021-01-07-01-25-38.bpo-10572.gEEZ9z.rst b/Misc/NEWS.d/next/Library/2021-01-07-01-25-38.bpo-10572.gEEZ9z.rst deleted file mode 100644 index 45f44bc..0000000 --- a/Misc/NEWS.d/next/Library/2021-01-07-01-25-38.bpo-10572.gEEZ9z.rst +++ /dev/null @@ -1,2 +0,0 @@ -Move :mod:`sqlite3` tests to ``/Lib/test/test_sqlite3``. Patch by Erlend E. -Aasland. diff --git a/Misc/NEWS.d/next/Library/2021-07-22-21-25-56.bpo-40321.gBlFmw.rst b/Misc/NEWS.d/next/Library/2021-07-22-21-25-56.bpo-40321.gBlFmw.rst deleted file mode 100644 index fede2a0..0000000 --- a/Misc/NEWS.d/next/Library/2021-07-22-21-25-56.bpo-40321.gBlFmw.rst +++ /dev/null @@ -1,2 +0,0 @@ -Adds support for HTTP 308 redirects to :mod:`urllib`. See :rfc:`7538` for -details. Patch by Jochem Schulenklopper. diff --git a/Misc/NEWS.d/next/Library/2021-08-20-10-52-40.bpo-44547.eu0iJq.rst b/Misc/NEWS.d/next/Library/2021-08-20-10-52-40.bpo-44547.eu0iJq.rst deleted file mode 100644 index a5f425e..0000000 --- a/Misc/NEWS.d/next/Library/2021-08-20-10-52-40.bpo-44547.eu0iJq.rst +++ /dev/null @@ -1,2 +0,0 @@ -Implement ``Fraction.__int__``, so that a :class:`fractions.Fraction` -instance ``f`` passes an ``isinstance(f, typing.SupportsInt)`` check. diff --git a/Misc/NEWS.d/next/Library/2021-08-30-00-19-23.bpo-24444.Ki4bgz.rst b/Misc/NEWS.d/next/Library/2021-08-30-00-19-23.bpo-24444.Ki4bgz.rst deleted file mode 100644 index efcacb8..0000000 --- a/Misc/NEWS.d/next/Library/2021-08-30-00-19-23.bpo-24444.Ki4bgz.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed an error raised in :mod:`argparse` help display when help for an -option is set to 1+ blank spaces or when *choices* arg is an empty container. diff --git a/Misc/NEWS.d/next/Library/2021-08-30-23-10-48.bpo-24139.e38czf.rst b/Misc/NEWS.d/next/Library/2021-08-30-23-10-48.bpo-24139.e38czf.rst deleted file mode 100644 index b44d0cf..0000000 --- a/Misc/NEWS.d/next/Library/2021-08-30-23-10-48.bpo-24139.e38czf.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add support for SQLite extended result codes in :exc:`sqlite3.Error`. Patch -by Erlend E. Aasland. diff --git a/Misc/NEWS.d/next/Library/2021-09-10-12-53-28.bpo-25625.SzcBCw.rst b/Misc/NEWS.d/next/Library/2021-09-10-12-53-28.bpo-25625.SzcBCw.rst deleted file mode 100644 index c001683..0000000 --- a/Misc/NEWS.d/next/Library/2021-09-10-12-53-28.bpo-25625.SzcBCw.rst +++ /dev/null @@ -1,3 +0,0 @@ -Added non parallel-safe :func:`~contextlib.chdir` context manager to change -the current working directory and then restore it on exit. Simple wrapper -around :func:`~os.chdir`. diff --git a/Misc/NEWS.d/next/Library/2021-09-11-14-47-05.bpo-45160.VzMXbW.rst b/Misc/NEWS.d/next/Library/2021-09-11-14-47-05.bpo-45160.VzMXbW.rst deleted file mode 100644 index 9d11ed0..0000000 --- a/Misc/NEWS.d/next/Library/2021-09-11-14-47-05.bpo-45160.VzMXbW.rst +++ /dev/null @@ -1 +0,0 @@ -When tracing a tkinter variable used by a ttk OptionMenu, callbacks are no longer made twice. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-09-14-15-52-47.bpo-45192.DjA-BI.rst b/Misc/NEWS.d/next/Library/2021-09-14-15-52-47.bpo-45192.DjA-BI.rst deleted file mode 100644 index 7dd9795..0000000 --- a/Misc/NEWS.d/next/Library/2021-09-14-15-52-47.bpo-45192.DjA-BI.rst +++ /dev/null @@ -1,5 +0,0 @@ -Fix the ``tempfile._infer_return_type`` function so that the ``dir`` -argument of the :mod:`tempfile` functions accepts an object implementing the -``os.PathLike`` protocol. - -Patch by Kyungmin Lee. diff --git a/Misc/NEWS.d/next/Library/2021-09-15-10-21-10.bpo-45320.4qaf5x.rst b/Misc/NEWS.d/next/Library/2021-09-15-10-21-10.bpo-45320.4qaf5x.rst deleted file mode 100644 index 1f2236b..0000000 --- a/Misc/NEWS.d/next/Library/2021-09-15-10-21-10.bpo-45320.4qaf5x.rst +++ /dev/null @@ -1,15 +0,0 @@ -Removed from the :mod:`inspect` module: - -* the ``getargspec`` function, deprecated since Python 3.0; - use :func:`inspect.signature` or :func:`inspect.getfullargspec` instead. - -* the ``formatargspec`` function, deprecated since Python 3.5; - use the :func:`inspect.signature` function and :class:`Signature` object - directly. - -* the undocumented ``Signature.from_callable`` and ``Signature.from_function`` - functions, deprecated since Python 3.5; use the - :meth:`Signature.from_callable() ` method - instead. - -Patch by Hugo van Kemenade. diff --git a/Misc/NEWS.d/next/Library/2021-09-20-01-25-09.bpo-45243.0pJf0U.rst b/Misc/NEWS.d/next/Library/2021-09-20-01-25-09.bpo-45243.0pJf0U.rst deleted file mode 100644 index 8292e86..0000000 --- a/Misc/NEWS.d/next/Library/2021-09-20-01-25-09.bpo-45243.0pJf0U.rst +++ /dev/null @@ -1,4 +0,0 @@ -Add :meth:`~sqlite3.Connection.setlimit` and -:meth:`~sqlite3.Connection.getlimit` to :class:`sqlite3.Connection` for -setting and getting SQLite limits by connection basis. Patch by Erlend E. -Aasland. diff --git a/Misc/NEWS.d/next/Library/2021-09-30-08-22-44.bpo-45328.8Z-Q0B.rst b/Misc/NEWS.d/next/Library/2021-09-30-08-22-44.bpo-45328.8Z-Q0B.rst deleted file mode 100644 index eeb4931..0000000 --- a/Misc/NEWS.d/next/Library/2021-09-30-08-22-44.bpo-45328.8Z-Q0B.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed :class:`http.client.HTTPConnection` to work properly in OSs that don't support the ``TCP_NODELAY`` socket option. diff --git a/Misc/NEWS.d/next/Library/2021-10-01-23-07-02.bpo-45343.ixmctD.rst b/Misc/NEWS.d/next/Library/2021-10-01-23-07-02.bpo-45343.ixmctD.rst deleted file mode 100644 index 8dac4e6..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-01-23-07-02.bpo-45343.ixmctD.rst +++ /dev/null @@ -1 +0,0 @@ -Update bundled pip to 21.2.4 and setuptools to 58.1.0 diff --git a/Misc/NEWS.d/next/Library/2021-10-03-21-14-37.bpo-20028.zBA4RK.rst b/Misc/NEWS.d/next/Library/2021-10-03-21-14-37.bpo-20028.zBA4RK.rst deleted file mode 100644 index e756121..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-03-21-14-37.bpo-20028.zBA4RK.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve error message of :class:`csv.Dialect` when initializing. -Patch by Vajrasky Kok and Dong-hee Na. diff --git a/Misc/NEWS.d/next/Library/2021-10-07-00-05-05.bpo-45386.q9ORpA.rst b/Misc/NEWS.d/next/Library/2021-10-07-00-05-05.bpo-45386.q9ORpA.rst deleted file mode 100644 index eec77ce..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-07-00-05-05.bpo-45386.q9ORpA.rst +++ /dev/null @@ -1,3 +0,0 @@ -Make :mod:`xmlrpc.client` more robust to C runtimes where the underlying C -``strftime`` function results in a ``ValueError`` when testing for year -formatting options. diff --git a/Misc/NEWS.d/next/Library/2021-10-07-14-04-10.bpo-45262.HqF71Z.rst b/Misc/NEWS.d/next/Library/2021-10-07-14-04-10.bpo-45262.HqF71Z.rst deleted file mode 100644 index 4cd949f..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-07-14-04-10.bpo-45262.HqF71Z.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent use-after-free in asyncio. Make sure the cached running loop holder gets cleared on dealloc to prevent use-after-free in get_running_loop \ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-10-07-21-11-48.bpo-27580.tGcBTH.rst b/Misc/NEWS.d/next/Library/2021-10-07-21-11-48.bpo-27580.tGcBTH.rst deleted file mode 100644 index 15a8ff2..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-07-21-11-48.bpo-27580.tGcBTH.rst +++ /dev/null @@ -1 +0,0 @@ -Add support of null characters in :mod:`csv`. diff --git a/Misc/NEWS.d/next/Library/2021-10-08-04-11-55.bpo-10716.QSRVK2.rst b/Misc/NEWS.d/next/Library/2021-10-08-04-11-55.bpo-10716.QSRVK2.rst deleted file mode 100644 index 8ec9449..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-08-04-11-55.bpo-10716.QSRVK2.rst +++ /dev/null @@ -1,3 +0,0 @@ -Migrated pydoc to HTML5 (without changing the look of it). Side effect is to -update xmlrpc's ``ServerHTMLDoc`` which now uses the CSS too. cgitb now -relies less on pydoc (as it can't use the CSS file). diff --git a/Misc/NEWS.d/next/Library/2021-10-08-11-29-29.bpo-45411.4jR--U.rst b/Misc/NEWS.d/next/Library/2021-10-08-11-29-29.bpo-45411.4jR--U.rst deleted file mode 100644 index 5f774dc..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-08-11-29-29.bpo-45411.4jR--U.rst +++ /dev/null @@ -1 +0,0 @@ -Add extensions for files containing subtitles - .srt & .vtt - to the mimetypes.py module. diff --git a/Misc/NEWS.d/next/Library/2021-10-08-19-24-48.bpo-45406.Qh_Mz4.rst b/Misc/NEWS.d/next/Library/2021-10-08-19-24-48.bpo-45406.Qh_Mz4.rst deleted file mode 100644 index 2c3a816..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-08-19-24-48.bpo-45406.Qh_Mz4.rst +++ /dev/null @@ -1 +0,0 @@ -Make :func:`inspect.getmodule` catch ``FileNotFoundError`` raised by :'func:`inspect.getabsfile`, and return ``None`` to indicate that the module could not be determined. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-10-09-18-42-27.bpo-44904.RlW5h8.rst b/Misc/NEWS.d/next/Library/2021-10-09-18-42-27.bpo-44904.RlW5h8.rst deleted file mode 100644 index b02d499..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-09-18-42-27.bpo-44904.RlW5h8.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix bug in the :mod:`doctest` module that caused it to fail if a docstring -included an example with a ``classmethod`` ``property``. Patch by Alex -Waygood. diff --git a/Misc/NEWS.d/next/Library/2021-10-10-00-25-36.bpo-20028.bPx4Z8.rst b/Misc/NEWS.d/next/Library/2021-10-10-00-25-36.bpo-20028.bPx4Z8.rst deleted file mode 100644 index 9db15bc..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-10-00-25-36.bpo-20028.bPx4Z8.rst +++ /dev/null @@ -1,2 +0,0 @@ -Empty escapechar/quotechar is not allowed when initializing -:class:`csv.Dialect`. Patch by Vajrasky Kok and Dong-hee Na. diff --git a/Misc/NEWS.d/next/Library/2021-10-10-09-42-34.bpo-45416.n35O0_.rst b/Misc/NEWS.d/next/Library/2021-10-10-09-42-34.bpo-45416.n35O0_.rst deleted file mode 100644 index cf335d1..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-10-09-42-34.bpo-45416.n35O0_.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix use of :class:`asyncio.Condition` with explicit :class:`asyncio.Lock` objects, which was a regression due to removal of explicit loop arguments. -Patch by Joongi Kim. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-10-10-16-14-33.bpo-45249.xqLliz.rst b/Misc/NEWS.d/next/Library/2021-10-10-16-14-33.bpo-45249.xqLliz.rst deleted file mode 100644 index 1d5a857..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-10-16-14-33.bpo-45249.xqLliz.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix the behaviour of :func:`traceback.print_exc` when displaying the caret -when the ``end_offset`` in the exception is set to 0. Patch by Pablo Galindo diff --git a/Misc/NEWS.d/next/Library/2021-10-12-20-35-06.bpo-45417.gQM-O7.rst b/Misc/NEWS.d/next/Library/2021-10-12-20-35-06.bpo-45417.gQM-O7.rst deleted file mode 100644 index a15c239..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-12-20-35-06.bpo-45417.gQM-O7.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix quadratic behaviour in the enum module: Creation of enum classes with a -lot of entries was quadratic. diff --git a/Misc/NEWS.d/next/Library/2021-10-13-17-52-48.bpo-45239.7li1_0.rst b/Misc/NEWS.d/next/Library/2021-10-13-17-52-48.bpo-45239.7li1_0.rst deleted file mode 100644 index 9e5ec56..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-13-17-52-48.bpo-45239.7li1_0.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed :func:`email.utils.parsedate_tz` crashing with -:exc:`UnboundLocalError` on certain invalid input instead of returning -``None``. Patch by Ben Hoyt. diff --git a/Misc/NEWS.d/next/Library/2021-10-14-00-19-02.bpo-45461.4LB_tJ.rst b/Misc/NEWS.d/next/Library/2021-10-14-00-19-02.bpo-45461.4LB_tJ.rst deleted file mode 100644 index c1c4ed1..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-14-00-19-02.bpo-45461.4LB_tJ.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix incremental decoder and stream reader in the "unicode-escape" codec. -Previously they failed if the escape sequence was split. diff --git a/Misc/NEWS.d/next/Library/2021-10-14-13-31-19.bpo-45467.Q7Ma6A.rst b/Misc/NEWS.d/next/Library/2021-10-14-13-31-19.bpo-45467.Q7Ma6A.rst deleted file mode 100644 index f2c0ae4..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-14-13-31-19.bpo-45467.Q7Ma6A.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix incremental decoder and stream reader in the "raw-unicode-escape" codec. -Previously they failed if the escape sequence was split. diff --git a/Misc/NEWS.d/next/Library/2021-10-14-18-04-17.bpo-45428.mM2War.rst b/Misc/NEWS.d/next/Library/2021-10-14-18-04-17.bpo-45428.mM2War.rst deleted file mode 100644 index 556eca4..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-14-18-04-17.bpo-45428.mM2War.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a regression in py_compile when reading filenames from standard input. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-10-15-11-30-11.bpo-42222.hdHyac.rst b/Misc/NEWS.d/next/Library/2021-10-15-11-30-11.bpo-42222.hdHyac.rst deleted file mode 100644 index 9b29fa4..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-15-11-30-11.bpo-42222.hdHyac.rst +++ /dev/null @@ -1 +0,0 @@ -Removed deprecated support for float arguments in *randrange()*. diff --git a/Misc/NEWS.d/next/Library/2021-10-16-23-46-39.bpo-45489.QB0rhG.rst b/Misc/NEWS.d/next/Library/2021-10-16-23-46-39.bpo-45489.QB0rhG.rst deleted file mode 100644 index 3921437..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-16-23-46-39.bpo-45489.QB0rhG.rst +++ /dev/null @@ -1,2 +0,0 @@ -Update :class:`~typing.ForwardRef` to support ``|`` operator. Patch by -Dong-hee Na. diff --git a/Misc/NEWS.d/next/Library/2021-10-18-10-46-47.bpo-45475.sb9KDF.rst b/Misc/NEWS.d/next/Library/2021-10-18-10-46-47.bpo-45475.sb9KDF.rst deleted file mode 100644 index 6fce894..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-18-10-46-47.bpo-45475.sb9KDF.rst +++ /dev/null @@ -1,4 +0,0 @@ -Reverted optimization of iterating :class:`gzip.GzipFile`, -:class:`bz2.BZ2File`, and :class:`lzma.LZMAFile` (see bpo-43787) because it -caused regression when user iterate them without having reference of them. -Patch by Inada Naoki. diff --git a/Misc/NEWS.d/next/Library/2021-10-18-14-52-48.bpo-45515.aXdvm_.rst b/Misc/NEWS.d/next/Library/2021-10-18-14-52-48.bpo-45515.aXdvm_.rst deleted file mode 100644 index 382733f..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-18-14-52-48.bpo-45515.aXdvm_.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add references to :mod:`zoneinfo` in the :mod:`datetime` documentation, -mostly replacing outdated references to ``dateutil.tz``. Change by Paul -Ganssle. diff --git a/Misc/NEWS.d/next/Library/2021-10-18-18-12-47.bpo-35673.KOkHWe.rst b/Misc/NEWS.d/next/Library/2021-10-18-18-12-47.bpo-35673.KOkHWe.rst deleted file mode 100644 index e7d6a5f..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-18-18-12-47.bpo-35673.KOkHWe.rst +++ /dev/null @@ -1,4 +0,0 @@ -Improve the introspectability of the ``__loader__`` attribute for namespace -packages. :class:`importlib.machinery.NamespaceLoader` is now public, and -implements the :class:`importlib.abc.InspectLoader` interface. ``_NamespaceLoader`` -is kept for backward compatibility. diff --git a/Misc/NEWS.d/next/Library/2021-10-19-01-30-57.bpo-42174.O2w9bi.rst b/Misc/NEWS.d/next/Library/2021-10-19-01-30-57.bpo-42174.O2w9bi.rst deleted file mode 100644 index 412582d..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-19-01-30-57.bpo-42174.O2w9bi.rst +++ /dev/null @@ -1,2 +0,0 @@ -:meth:`shutil.get_terminal_size` now falls back to sane values if the column -or line count are 0. diff --git a/Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst b/Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst deleted file mode 100644 index 1793603..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-21-10-14-22.bpo-44019.Xk4Ncr.rst +++ /dev/null @@ -1 +0,0 @@ -Add :func:`operator.call` to ``operator.__all__``. Patch by Kreusada. diff --git a/Misc/NEWS.d/next/Library/2021-10-21-16-18-51.bpo-45557.4MQt4r.rst b/Misc/NEWS.d/next/Library/2021-10-21-16-18-51.bpo-45557.4MQt4r.rst deleted file mode 100644 index 7472b08..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-21-16-18-51.bpo-45557.4MQt4r.rst +++ /dev/null @@ -1,2 +0,0 @@ -pprint.pprint() now handles underscore_numbers correctly. Previously it was -always setting it to False. diff --git a/Misc/NEWS.d/next/Library/2021-10-22-21-57-02.bpo-45581.rlH6ay.rst b/Misc/NEWS.d/next/Library/2021-10-22-21-57-02.bpo-45581.rlH6ay.rst deleted file mode 100644 index 13a3b23..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-22-21-57-02.bpo-45581.rlH6ay.rst +++ /dev/null @@ -1,2 +0,0 @@ -:meth:`sqlite3.connect` now correctly raises :exc:`MemoryError` if the -underlying SQLite API signals memory error. Patch by Erlend E. Aasland. diff --git a/Misc/NEWS.d/next/Library/2021-10-22-23-06-33.bpo-45574.svqA84.rst b/Misc/NEWS.d/next/Library/2021-10-22-23-06-33.bpo-45574.svqA84.rst deleted file mode 100644 index b404d24..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-22-23-06-33.bpo-45574.svqA84.rst +++ /dev/null @@ -1 +0,0 @@ -Fix warning about ``print_escape`` being unused. diff --git a/Misc/NEWS.d/next/Library/2021-10-26-14-29-54.bpo-45613.55Ie3c.rst b/Misc/NEWS.d/next/Library/2021-10-26-14-29-54.bpo-45613.55Ie3c.rst deleted file mode 100644 index ac0937b..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-26-14-29-54.bpo-45613.55Ie3c.rst +++ /dev/null @@ -1,3 +0,0 @@ -:mod:`sqlite3` now sets :attr:`sqlite3.threadsafety` based on the default -threading mode the underlying SQLite library has been compiled with. Patch by -Erlend E. Aasland. diff --git a/Misc/NEWS.d/next/Library/2021-10-27-10-05-39.bpo-45438.Xz5lGU.rst b/Misc/NEWS.d/next/Library/2021-10-27-10-05-39.bpo-45438.Xz5lGU.rst deleted file mode 100644 index cd6cfc1..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-27-10-05-39.bpo-45438.Xz5lGU.rst +++ /dev/null @@ -1 +0,0 @@ -Fix typing.Signature string representation for generic builtin types. diff --git a/Misc/NEWS.d/next/Library/2021-10-27-13-28-52.bpo-42064.UK4jgV.rst b/Misc/NEWS.d/next/Library/2021-10-27-13-28-52.bpo-42064.UK4jgV.rst deleted file mode 100644 index bcb3307..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-27-13-28-52.bpo-42064.UK4jgV.rst +++ /dev/null @@ -1,2 +0,0 @@ -Convert :mod:`sqlite3` to multi-phase initialisation (PEP 489). Patches by -Erlend E. Aasland. diff --git a/Misc/NEWS.d/next/Library/2021-10-30-21-11-37.bpo-45679.Dq8Cpu.rst b/Misc/NEWS.d/next/Library/2021-10-30-21-11-37.bpo-45679.Dq8Cpu.rst deleted file mode 100644 index a644492..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-30-21-11-37.bpo-45679.Dq8Cpu.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix caching of multi-value :data:`typing.Literal`. ``Literal[True, 2]`` is no -longer equal to ``Literal[1, 2]``. diff --git a/Misc/NEWS.d/next/Tests/2021-10-07-13-11-45.bpo-45400.h3iT7V.rst b/Misc/NEWS.d/next/Tests/2021-10-07-13-11-45.bpo-45400.h3iT7V.rst deleted file mode 100644 index 61b6653..0000000 --- a/Misc/NEWS.d/next/Tests/2021-10-07-13-11-45.bpo-45400.h3iT7V.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix test_name_error_suggestions_do_not_trigger_for_too_many_locals() of -test_exceptions if a directory name contains "a1" (like "Python-3.11.0a1"): -use a stricter regular expression. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Tests/2021-10-07-13-27-12.bpo-45403.7QiDvw.rst b/Misc/NEWS.d/next/Tests/2021-10-07-13-27-12.bpo-45403.7QiDvw.rst deleted file mode 100644 index e4d1709..0000000 --- a/Misc/NEWS.d/next/Tests/2021-10-07-13-27-12.bpo-45403.7QiDvw.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix test_sys.test_stdlib_dir() when Python is built outside the source tree: -compare normalized paths. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Tests/2021-10-07-13-43-01.bpo-45402.jlQvep.rst b/Misc/NEWS.d/next/Tests/2021-10-07-13-43-01.bpo-45402.jlQvep.rst deleted file mode 100644 index d8c6553..0000000 --- a/Misc/NEWS.d/next/Tests/2021-10-07-13-43-01.bpo-45402.jlQvep.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix test_tools.test_sundry() when Python is built out of tree: fix how -the freeze_modules.py tool locates the _freeze_module program. -Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Tests/2021-10-08-14-03-20.bpo-45410.Ex9xe2.rst b/Misc/NEWS.d/next/Tests/2021-10-08-14-03-20.bpo-45410.Ex9xe2.rst deleted file mode 100644 index 5f7b8bf..0000000 --- a/Misc/NEWS.d/next/Tests/2021-10-08-14-03-20.bpo-45410.Ex9xe2.rst +++ /dev/null @@ -1,4 +0,0 @@ -When libregrtest spawns a worker process, stderr is now written into stdout -to keep messages order. Use a single pipe for stdout and stderr, rather than -two pipes. Previously, messages were out of order which made analysis of -buildbot logs harder Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Tests/2021-10-18-16-18-41.bpo-39679.F18qcE.rst b/Misc/NEWS.d/next/Tests/2021-10-18-16-18-41.bpo-39679.F18qcE.rst deleted file mode 100644 index b0d1b68..0000000 --- a/Misc/NEWS.d/next/Tests/2021-10-18-16-18-41.bpo-39679.F18qcE.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add more test cases for `@functools.singledispatchmethod` when combined with -`@classmethod` or `@staticmethod`. diff --git a/Misc/NEWS.d/next/Tests/2021-10-21-17-22-26.bpo-43592.kHRsra.rst b/Misc/NEWS.d/next/Tests/2021-10-21-17-22-26.bpo-43592.kHRsra.rst deleted file mode 100644 index 2528857..0000000 --- a/Misc/NEWS.d/next/Tests/2021-10-21-17-22-26.bpo-43592.kHRsra.rst +++ /dev/null @@ -1,3 +0,0 @@ -:mod:`test.libregrtest` now raises the soft resource limit for the maximum -number of file descriptors when the default is too low for our test suite as -was often the case on macOS. diff --git a/Misc/NEWS.d/next/Tests/2021-10-22-12-05-21.bpo-45566.2gQ3ZB.rst b/Misc/NEWS.d/next/Tests/2021-10-22-12-05-21.bpo-45566.2gQ3ZB.rst deleted file mode 100644 index a2ecf72..0000000 --- a/Misc/NEWS.d/next/Tests/2021-10-22-12-05-21.bpo-45566.2gQ3ZB.rst +++ /dev/null @@ -1 +0,0 @@ -Fix ``test_frozen_pickle`` in ``test_dataclasses`` to check all ``pickle`` versions. diff --git a/Misc/NEWS.d/next/Tests/2021-10-22-19-44-13.bpo-45577.dSaNvK.rst b/Misc/NEWS.d/next/Tests/2021-10-22-19-44-13.bpo-45577.dSaNvK.rst deleted file mode 100644 index fc9783e..0000000 --- a/Misc/NEWS.d/next/Tests/2021-10-22-19-44-13.bpo-45577.dSaNvK.rst +++ /dev/null @@ -1 +0,0 @@ -Add subtests for all ``pickle`` protocols in ``test_zoneinfo``. diff --git a/Misc/NEWS.d/next/Tests/2021-10-29-17-18-56.bpo-45668.MfAw4i.rst b/Misc/NEWS.d/next/Tests/2021-10-29-17-18-56.bpo-45668.MfAw4i.rst deleted file mode 100644 index 2ef6a02..0000000 --- a/Misc/NEWS.d/next/Tests/2021-10-29-17-18-56.bpo-45668.MfAw4i.rst +++ /dev/null @@ -1 +0,0 @@ -PGO tests now pass when Python is built without test extension modules. diff --git a/Misc/NEWS.d/next/Tests/2021-10-30-13-12-20.bpo-45678.bKrYeS.rst b/Misc/NEWS.d/next/Tests/2021-10-30-13-12-20.bpo-45678.bKrYeS.rst deleted file mode 100644 index 885b2fa..0000000 --- a/Misc/NEWS.d/next/Tests/2021-10-30-13-12-20.bpo-45678.bKrYeS.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add tests to ensure that ``functools.singledispatchmethod`` correctly wraps -the attributes of the target function. diff --git a/Misc/NEWS.d/next/Tests/2021-10-30-19-00-25.bpo-45578.bvu6X2.rst b/Misc/NEWS.d/next/Tests/2021-10-30-19-00-25.bpo-45578.bvu6X2.rst deleted file mode 100644 index 3d0e0ca..0000000 --- a/Misc/NEWS.d/next/Tests/2021-10-30-19-00-25.bpo-45578.bvu6X2.rst +++ /dev/null @@ -1 +0,0 @@ -Add tests for :func:`dis.distb` diff --git a/Misc/NEWS.d/next/Tests/2021-11-04-20-03-32.bpo-45678.1xNMjN.rst b/Misc/NEWS.d/next/Tests/2021-11-04-20-03-32.bpo-45678.1xNMjN.rst deleted file mode 100644 index 736d5f6..0000000 --- a/Misc/NEWS.d/next/Tests/2021-11-04-20-03-32.bpo-45678.1xNMjN.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add tests for scenarios in which :class:`functools.singledispatchmethod` is -stacked on top of a method that has already been wrapped by two other -decorators. Patch by Alex Waygood. diff --git a/Misc/NEWS.d/next/Windows/2021-04-15-01-23-10.bpo-43851.qgU0gy.rst b/Misc/NEWS.d/next/Windows/2021-04-15-01-23-10.bpo-43851.qgU0gy.rst deleted file mode 100644 index e9555d5..0000000 --- a/Misc/NEWS.d/next/Windows/2021-04-15-01-23-10.bpo-43851.qgU0gy.rst +++ /dev/null @@ -1 +0,0 @@ -Build SQLite ``SQLITE_OMIT_AUTOINIT`` on Windows. Patch by Erlend E. Aasland. diff --git a/Misc/NEWS.d/next/Windows/2021-09-30-23-17-27.bpo-45337.qg7U_h.rst b/Misc/NEWS.d/next/Windows/2021-09-30-23-17-27.bpo-45337.qg7U_h.rst deleted file mode 100644 index 007ee87..0000000 --- a/Misc/NEWS.d/next/Windows/2021-09-30-23-17-27.bpo-45337.qg7U_h.rst +++ /dev/null @@ -1,4 +0,0 @@ -venv now warns when the created environment may need to be accessed at a -different path, due to redirections, links or junctions. It also now -correctly installs or upgrades components when the alternate path is -required. diff --git a/Misc/NEWS.d/next/Windows/2021-11-04-00-41-50.bpo-43652.RnqV7I.rst b/Misc/NEWS.d/next/Windows/2021-11-04-00-41-50.bpo-43652.RnqV7I.rst deleted file mode 100644 index 7da8fc7..0000000 --- a/Misc/NEWS.d/next/Windows/2021-11-04-00-41-50.bpo-43652.RnqV7I.rst +++ /dev/null @@ -1,2 +0,0 @@ -Update Tcl/Tk to 8.6.11, actually this time. The previous update incorrectly -included 8.6.10. diff --git a/Misc/NEWS.d/next/macOS/2021-10-25-02-02-21.bpo-44828.XBdXlJ.rst b/Misc/NEWS.d/next/macOS/2021-10-25-02-02-21.bpo-44828.XBdXlJ.rst deleted file mode 100644 index 021d7e4..0000000 --- a/Misc/NEWS.d/next/macOS/2021-10-25-02-02-21.bpo-44828.XBdXlJ.rst +++ /dev/null @@ -1,3 +0,0 @@ -Avoid tkinter file dialog failure on macOS 12 Monterey when using the Tk -8.6.11 provided by python.org macOS installers. Patch by Marc Culler of the -Tk project. diff --git a/README.rst b/README.rst index a789408..d43f6fa 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -This is Python version 3.11.0 alpha 1 +This is Python version 3.11.0 alpha 2 ===================================== .. image:: https://travis-ci.com/python/cpython.svg?branch=main diff --git a/configure b/configure index f0046ff..00bea71 100755 --- a/configure +++ b/configure @@ -10159,13 +10159,15 @@ $as_echo "no" >&6; } fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# check for libuuid from util-linux save_LIBS=$LIBS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing uuid_generate_time_safe" >&5 -$as_echo_n "checking for library containing uuid_generate_time_safe... " >&6; } -if ${ac_cv_search_uuid_generate_time_safe+:} false; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time in -luuid" >&5 +$as_echo_n "checking for uuid_generate_time in -luuid... " >&6; } +if ${ac_cv_lib_uuid_uuid_generate_time+:} false; then : $as_echo_n "(cached) " >&6 else - ac_func_search_save_LIBS=$LIBS + ac_check_lib_save_LIBS=$LIBS +LIBS="-luuid $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -10175,61 +10177,39 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char uuid_generate_time_safe (); +char uuid_generate_time (); int main () { -return uuid_generate_time_safe (); +return uuid_generate_time (); ; return 0; } _ACEOF -for ac_lib in '' uuid; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_uuid_generate_time_safe=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_uuid_generate_time_safe+:} false; then : - break -fi -done -if ${ac_cv_search_uuid_generate_time_safe+:} false; then : - +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_uuid_uuid_generate_time=yes else - ac_cv_search_uuid_generate_time_safe=no + ac_cv_lib_uuid_uuid_generate_time=no fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_uuid_generate_time_safe" >&5 -$as_echo "$ac_cv_search_uuid_generate_time_safe" >&6; } -ac_res=$ac_cv_search_uuid_generate_time_safe -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - - -$as_echo "#define HAVE_LIBUUID 1" >>confdefs.h -, - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time" >&5 +$as_echo "$ac_cv_lib_uuid_uuid_generate_time" >&6; } +if test "x$ac_cv_lib_uuid_uuid_generate_time" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBUUID 1 +_ACEOF -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + LIBS="-luuid $LIBS" fi LIBS=$save_LIBS # AIX provides support for RFC4122 (uuid) in libc.a starting with AIX 6.1 (anno 2007) -# FreeBSD and OpenBSD provides support as well +# FreeBSD and OpenBSD provides support in libc as well. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_create" >&5 $as_echo_n "checking for uuid_create... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext diff --git a/pyconfig.h.in b/pyconfig.h.in index 108a13d..b89377d 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -604,7 +604,7 @@ /* Define to 1 if you have the header file. */ #undef HAVE_LIBUTIL_H -/* Define you have libuuid. */ +/* Define to 1 if you have the `uuid' library (-luuid). */ #undef HAVE_LIBUUID /* Define if you have the 'link' function. */ -- cgit v0.12