From 4e7efa9c6f3518c4dd4c332cf7929168e7d44e25 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Thu, 29 Mar 2018 07:57:55 -0400 Subject: [PATCH] 3.7.0b3 --- Include/patchlevel.h | 4 +- Lib/pydoc_data/topics.py | 56 +- Misc/NEWS.d/3.7.0b3.rst | 541 ++++++++++++++++++ .../2018-03-28-04-15-03.bpo-33163.hfpWuU.rst | 1 - .../2018-01-09-17-03-54.bpo-32374.SwwLoz.rst | 2 - .../2018-03-20-21-43-09.bpo-33042.FPFp64.rst | 2 - .../2018-02-14-12-35-47.bpo-32836.bThJnx.rst | 1 - .../2018-02-27-13-36-21.bpo-17288.Gdj24S.rst | 1 - .../2018-03-06-12-19-19.bpo-33005.LP-V2U.rst | 4 - .../2018-03-08-09-48-38.bpo-33026.QZA3Ba.rst | 1 - .../2018-03-18-13-56-14.bpo-33041.XwPhI2.rst | 1 - .../2018-03-22-23-09-06.bpo-33018.0ncEJV.rst | 3 - .../2018-03-25-19-49-06.bpo-33053.V3xlsH.rst | 4 - .../2018-03-11-00-16-56.bpo-27428.B7A8FT.rst | 2 - .../2018-03-11-18-53-47.bpo-18802.JhAqH3.rst | 1 - .../2018-03-20-20-11-05.bpo-28247.-V-WS-.rst | 2 - .../2018-03-22-19-23-04.bpo-27212.wrE5KR.rst | 2 - .../2018-03-28-17-03-17.bpo-33126.5UGkNv.rst | 1 - .../2018-02-24-18-20-50.bpo-32940.ZaJ1Rf.rst | 1 - .../2018-03-05-01-29-05.bpo-32984.NGjgT4.rst | 7 - .../2017-10-05-20-41-48.bpo-27645.1Y_Wag.rst | 3 - .../2017-12-27-21-55-19.bpo-31639.l3avDJ.rst | 2 - .../2018-02-16-14-37-14.bpo-32857.-XljAx.rst | 1 - .../2018-02-28-13-08-00.bpo-32844.u8tnAe.rst | 2 - .../2018-03-01-17-49-56.bpo-32056.IlpfgE.rst | 3 - .../2018-03-06-00-19-41.bpo-32969.rGTKa0.rst | 2 - .../2018-03-06-11-54-59.bpo-33009.-Ekysb.rst | 1 - .../2018-03-06-20-30-20.bpo-32999.lgFXWl.rst | 2 - .../2018-03-07-22-28-17.bpo-27683.572Rv4.rst | 3 - .../2018-03-09-23-07-07.bpo-33037.nAJ3at.rst | 1 - .../2018-03-11-19-03-52.bpo-31804.i8KUMp.rst | 2 - .../2018-03-12-00-27-56.bpo-33021.m19B9T.rst | 2 - .../2018-03-12-16-40-00.bpo-33056.lNN9Eh.rst | 1 - .../2018-03-12-19-58-25.bpo-33064.LO2KIY.rst | 2 - .../2018-03-15-07-38-00.bpo-33078.RmjUF5.rst | 2 - .../2018-03-16-16-07-33.bpo-33061.TRTTek.rst | 1 - .../2018-03-18-17-38-48.bpo-32953.t8WAWN.rst | 4 - .../2018-03-19-20-47-00.bpo-33100.chyIO4.rst | 2 - .../2018-03-20-20-53-21.bpo-32896.ewW3Ln.rst | 2 - .../2018-03-21-16-52-26.bpo-33116.Tvzerj.rst | 1 - .../2018-03-21-17-59-39.bpo-33078.PQOniT.rst | 1 - .../2018-03-22-16-05-56.bpo-32505.YK1N8v.rst | 2 - .../2018-03-24-15-08-24.bpo-33127.olJmHv.rst | 1 - .../2018-03-24-19-34-26.bpo-33134.hbVeIX.rst | 3 - .../2018-03-24-19-54-48.bpo-32873.cHyoAm.rst | 3 - .../2018-03-25-13-18-16.bpo-33096.ofdbe7.rst | 4 - .../2018-03-26-12-33-13.bpo-33141.23wlxf.rst | 2 - .../2018-03-02-10-24-52.bpo-32981.O_qDyj.rst | 4 - .../2018-03-05-10-09-51.bpo-33001.elj4Aa.rst | 1 - .../2018-03-25-12-05-43.bpo-33136.TzSN4x.rst | 3 - .../2018-01-08-13-33-47.bpo-19417.2asoXy.rst | 1 - .../2018-03-09-07-05-12.bpo-32517.ugc1iW.rst | 2 - .../2018-03-28-01-35-02.bpo-32872.J5NDUj.rst | 1 - .../2018-02-20-12-16-47.bpo-32885.dL5x7C.rst | 2 - .../2018-02-28-11-03-24.bpo-32903.1SXY4t.rst | 2 - .../2018-03-07-01-33-33.bpo-33016.Z_Med0.rst | 1 - .../2018-03-29-06-56-12.bpo-32726.urS9uX.rst | 5 - README.rst | 4 +- 58 files changed, 589 insertions(+), 129 deletions(-) create mode 100644 Misc/NEWS.d/3.7.0b3.rst delete mode 100644 Misc/NEWS.d/next/Build/2018-03-28-04-15-03.bpo-33163.hfpWuU.rst delete mode 100644 Misc/NEWS.d/next/C API/2018-01-09-17-03-54.bpo-32374.SwwLoz.rst delete mode 100644 Misc/NEWS.d/next/C API/2018-03-20-21-43-09.bpo-33042.FPFp64.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2018-02-14-12-35-47.bpo-32836.bThJnx.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2018-02-27-13-36-21.bpo-17288.Gdj24S.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2018-03-06-12-19-19.bpo-33005.LP-V2U.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2018-03-08-09-48-38.bpo-33026.QZA3Ba.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2018-03-18-13-56-14.bpo-33041.XwPhI2.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2018-03-22-23-09-06.bpo-33018.0ncEJV.rst delete mode 100644 Misc/NEWS.d/next/Core and Builtins/2018-03-25-19-49-06.bpo-33053.V3xlsH.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2018-03-11-18-53-47.bpo-18802.JhAqH3.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2018-03-20-20-11-05.bpo-28247.-V-WS-.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2018-03-22-19-23-04.bpo-27212.wrE5KR.rst delete mode 100644 Misc/NEWS.d/next/Documentation/2018-03-28-17-03-17.bpo-33126.5UGkNv.rst delete mode 100644 Misc/NEWS.d/next/IDLE/2018-02-24-18-20-50.bpo-32940.ZaJ1Rf.rst delete mode 100644 Misc/NEWS.d/next/IDLE/2018-03-05-01-29-05.bpo-32984.NGjgT4.rst delete mode 100644 Misc/NEWS.d/next/Library/2017-10-05-20-41-48.bpo-27645.1Y_Wag.rst delete mode 100644 Misc/NEWS.d/next/Library/2017-12-27-21-55-19.bpo-31639.l3avDJ.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-02-16-14-37-14.bpo-32857.-XljAx.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-02-28-13-08-00.bpo-32844.u8tnAe.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-01-17-49-56.bpo-32056.IlpfgE.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-06-00-19-41.bpo-32969.rGTKa0.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-06-11-54-59.bpo-33009.-Ekysb.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-06-20-30-20.bpo-32999.lgFXWl.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-07-22-28-17.bpo-27683.572Rv4.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-09-23-07-07.bpo-33037.nAJ3at.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-11-19-03-52.bpo-31804.i8KUMp.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-12-00-27-56.bpo-33021.m19B9T.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-12-16-40-00.bpo-33056.lNN9Eh.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-12-19-58-25.bpo-33064.LO2KIY.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-15-07-38-00.bpo-33078.RmjUF5.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-16-16-07-33.bpo-33061.TRTTek.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-18-17-38-48.bpo-32953.t8WAWN.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-19-20-47-00.bpo-33100.chyIO4.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-20-20-53-21.bpo-32896.ewW3Ln.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-21-16-52-26.bpo-33116.Tvzerj.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-21-17-59-39.bpo-33078.PQOniT.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-22-16-05-56.bpo-32505.YK1N8v.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-24-15-08-24.bpo-33127.olJmHv.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-24-19-34-26.bpo-33134.hbVeIX.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-24-19-54-48.bpo-32873.cHyoAm.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-25-13-18-16.bpo-33096.ofdbe7.rst delete mode 100644 Misc/NEWS.d/next/Library/2018-03-26-12-33-13.bpo-33141.23wlxf.rst delete mode 100644 Misc/NEWS.d/next/Security/2018-03-02-10-24-52.bpo-32981.O_qDyj.rst delete mode 100644 Misc/NEWS.d/next/Security/2018-03-05-10-09-51.bpo-33001.elj4Aa.rst delete mode 100644 Misc/NEWS.d/next/Security/2018-03-25-12-05-43.bpo-33136.TzSN4x.rst delete mode 100644 Misc/NEWS.d/next/Tests/2018-01-08-13-33-47.bpo-19417.2asoXy.rst delete mode 100644 Misc/NEWS.d/next/Tests/2018-03-09-07-05-12.bpo-32517.ugc1iW.rst delete mode 100644 Misc/NEWS.d/next/Tests/2018-03-28-01-35-02.bpo-32872.J5NDUj.rst delete mode 100644 Misc/NEWS.d/next/Tools-Demos/2018-02-20-12-16-47.bpo-32885.dL5x7C.rst delete mode 100644 Misc/NEWS.d/next/Windows/2018-02-28-11-03-24.bpo-32903.1SXY4t.rst delete mode 100644 Misc/NEWS.d/next/Windows/2018-03-07-01-33-33.bpo-33016.Z_Med0.rst delete mode 100644 Misc/NEWS.d/next/macOS/2018-03-29-06-56-12.bpo-32726.urS9uX.rst diff --git a/Include/patchlevel.h b/Include/patchlevel.h index f500dac164e..e290cd91b59 100644 --- a/Include/patchlevel.h +++ b/Include/patchlevel.h @@ -20,10 +20,10 @@ #define PY_MINOR_VERSION 7 #define PY_MICRO_VERSION 0 #define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA -#define PY_RELEASE_SERIAL 2 +#define PY_RELEASE_SERIAL 3 /* Version as a string */ -#define PY_VERSION "3.7.0b2+" +#define PY_VERSION "3.7.0b3" /*--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 ede9385886a..abface57b09 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 Feb 27 19:39:14 2018 +# Autogenerated by Sphinx on Thu Mar 29 07:53:04 2018 topics = {'assert': 'The "assert" statement\n' '**********************\n' '\n' @@ -6665,13 +6665,11 @@ topics = {'assert': 'The "assert" statement\n' 'object.__complex__(self)\n' 'object.__int__(self)\n' 'object.__float__(self)\n' - 'object.__round__(self[, n])\n' '\n' ' Called to implement the built-in functions "complex()", ' - '"int()",\n' - ' "float()" and "round()". Should return a value of the ' - 'appropriate\n' - ' type.\n' + '"int()" and\n' + ' "float()". Should return a value of the appropriate ' + 'type.\n' '\n' 'object.__index__(self)\n' '\n' @@ -6689,7 +6687,25 @@ topics = {'assert': 'The "assert" statement\n' 'when\n' ' "__index__()" is defined "__int__()" should also be ' 'defined, and\n' - ' both should return the same value.\n', + ' both should return the same value.\n' + '\n' + 'object.__round__(self[, ndigits])\n' + 'object.__trunc__(self)\n' + 'object.__floor__(self)\n' + 'object.__ceil__(self)\n' + '\n' + ' Called to implement the built-in function "round()" and ' + '"math"\n' + ' functions "trunc()", "floor()" and "ceil()". Unless ' + '*ndigits* is\n' + ' passed to "__round__()" all these methods should return ' + 'the value\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', 'objects': 'Objects, values and types\n' '*************************\n' '\n' @@ -9261,13 +9277,11 @@ topics = {'assert': 'The "assert" statement\n' 'object.__complex__(self)\n' 'object.__int__(self)\n' 'object.__float__(self)\n' - 'object.__round__(self[, n])\n' '\n' ' Called to implement the built-in functions "complex()", ' - '"int()",\n' - ' "float()" and "round()". Should return a value of the ' - 'appropriate\n' - ' type.\n' + '"int()" and\n' + ' "float()". Should return a value of the appropriate ' + 'type.\n' '\n' 'object.__index__(self)\n' '\n' @@ -9287,6 +9301,24 @@ topics = {'assert': 'The "assert" statement\n' 'defined, and\n' ' both should return the same value.\n' '\n' + 'object.__round__(self[, ndigits])\n' + 'object.__trunc__(self)\n' + 'object.__floor__(self)\n' + 'object.__ceil__(self)\n' + '\n' + ' Called to implement the built-in function "round()" and ' + '"math"\n' + ' functions "trunc()", "floor()" and "ceil()". Unless ' + '*ndigits* is\n' + ' passed to "__round__()" all these methods should return ' + 'the value\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' + '\n' '\n' 'With Statement Context Managers\n' '===============================\n' diff --git a/Misc/NEWS.d/3.7.0b3.rst b/Misc/NEWS.d/3.7.0b3.rst new file mode 100644 index 00000000000..876463d10ec --- /dev/null +++ b/Misc/NEWS.d/3.7.0b3.rst @@ -0,0 +1,541 @@ +.. bpo: 33136 +.. date: 2018-03-25-12-05-43 +.. nonce: TzSN4x +.. release date: 2018-03-29 +.. section: Security + +Harden ssl module against LibreSSL CVE-2018-8970. +X509_VERIFY_PARAM_set1_host() is called with an explicit namelen. A new test +ensures that NULL bytes are not allowed. + +.. + +.. bpo: 33001 +.. date: 2018-03-05-10-09-51 +.. nonce: elj4Aa +.. section: Security + +Minimal fix to prevent buffer overrun in os.symlink on Windows + +.. + +.. bpo: 32981 +.. date: 2018-03-02-10-24-52 +.. nonce: O_qDyj +.. section: Security + +Regexes in difflib and poplib were vulnerable to catastrophic backtracking. +These regexes formed potential DOS vectors (REDOS). They have been +refactored. This resolves CVE-2018-1060 and CVE-2018-1061. Patch by Jamie +Davis. + +.. + +.. bpo: 33053 +.. date: 2018-03-25-19-49-06 +.. nonce: V3xlsH +.. section: Core and Builtins + +When using the -m switch, sys.path[0] is now explicitly expanded as the +*starting* working directory, rather than being left as the empty path +(which allows imports from the current working directory at the time of the +import) + +.. + +.. bpo: 33018 +.. date: 2018-03-22-23-09-06 +.. nonce: 0ncEJV +.. section: Core and Builtins + +Improve consistency of errors raised by ``issubclass()`` when called with a +non-class and an abstract base class as the first and second arguments, +respectively. Patch by Josh Bronson. + +.. + +.. bpo: 33041 +.. date: 2018-03-18-13-56-14 +.. nonce: XwPhI2 +.. section: Core and Builtins + +Fixed jumping when the function contains an ``async for`` loop. + +.. + +.. bpo: 33026 +.. date: 2018-03-08-09-48-38 +.. nonce: QZA3Ba +.. section: Core and Builtins + +Fixed jumping out of "with" block by setting f_lineno. + +.. + +.. bpo: 33005 +.. date: 2018-03-06-12-19-19 +.. nonce: LP-V2U +.. section: Core and Builtins + +Fix a crash on fork when using a custom memory allocator (ex: using +PYTHONMALLOC env var). _PyGILState_Reinit() and _PyInterpreterState_Enable() +now use the default RAW memory allocator to allocate a new interpreters +mutex on fork. + +.. + +.. bpo: 17288 +.. date: 2018-02-27-13-36-21 +.. nonce: Gdj24S +.. section: Core and Builtins + +Prevent jumps from 'return' and 'exception' trace events. + +.. + +.. bpo: 32836 +.. date: 2018-02-14-12-35-47 +.. nonce: bThJnx +.. section: Core and Builtins + +Don't use temporary variables in cases of list/dict/set comprehensions + +.. + +.. bpo: 33141 +.. date: 2018-03-26-12-33-13 +.. nonce: 23wlxf +.. section: Library + +Have Field objects pass through __set_name__ to their default values, if +they have their own __set_name__. + +.. + +.. bpo: 33096 +.. date: 2018-03-25-13-18-16 +.. nonce: ofdbe7 +.. section: Library + +Allow ttk.Treeview.insert to insert iid that has a false boolean value. Note +iid=0 and iid=False would be same. Patch by Garvit Khatri. + +.. + +.. bpo: 32873 +.. date: 2018-03-24-19-54-48 +.. nonce: cHyoAm +.. section: Library + +Treat type variables and special typing forms as immutable by copy and +pickle. This fixes several minor issues and inconsistencies, and improves +backwards compatibility with Python 3.6. + +.. + +.. bpo: 33134 +.. date: 2018-03-24-19-34-26 +.. nonce: hbVeIX +.. section: Library + +When computing dataclass's __hash__, use the lookup table to contain the +function which returns the __hash__ value. This is an improvement over +looking up a string, and then testing that string to see what to do. + +.. + +.. bpo: 33127 +.. date: 2018-03-24-15-08-24 +.. nonce: olJmHv +.. section: Library + +The ssl module now compiles with LibreSSL 2.7.1. + +.. + +.. bpo: 32505 +.. date: 2018-03-22-16-05-56 +.. nonce: YK1N8v +.. section: Library + +Raise TypeError if a member variable of a dataclass is of type Field, but +doesn't have a type annotation. + +.. + +.. bpo: 33078 +.. date: 2018-03-21-17-59-39 +.. nonce: PQOniT +.. section: Library + +Fix the failure on OSX caused by the tests relying on sem_getvalue + +.. + +.. bpo: 33116 +.. date: 2018-03-21-16-52-26 +.. nonce: Tvzerj +.. section: Library + +Add 'Field' to dataclasses.__all__. + +.. + +.. bpo: 32896 +.. date: 2018-03-20-20-53-21 +.. nonce: ewW3Ln +.. section: Library + +Fix an error where subclassing a dataclass with a field that uses a +default_factory would generate an incorrect class. + +.. + +.. bpo: 33100 +.. date: 2018-03-19-20-47-00 +.. nonce: chyIO4 +.. section: Library + +Dataclasses: If a field has a default value that's a MemberDescriptorType, +then it's from that field being in __slots__, not an actual default value. + +.. + +.. bpo: 32953 +.. date: 2018-03-18-17-38-48 +.. nonce: t8WAWN +.. section: Library + +If a non-dataclass inherits from a frozen dataclass, allow attributes to be +added to the derived class. Only attributes from the frozen dataclass +cannot be assigned to. Require all dataclasses in a hierarchy to be either +all frozen or all non-frozen. + +.. + +.. bpo: 33061 +.. date: 2018-03-16-16-07-33 +.. nonce: TRTTek +.. section: Library + +Add missing ``NoReturn`` to ``__all__`` in typing.py + +.. + +.. bpo: 33078 +.. date: 2018-03-15-07-38-00 +.. nonce: RmjUF5 +.. section: Library + +Fix the size handling in multiprocessing.Queue when a pickling error occurs. + +.. + +.. bpo: 33064 +.. date: 2018-03-12-19-58-25 +.. nonce: LO2KIY +.. section: Library + +lib2to3 now properly supports trailing commas after ``*args`` and +``**kwargs`` in function signatures. + +.. + +.. bpo: 33056 +.. date: 2018-03-12-16-40-00 +.. nonce: lNN9Eh +.. section: Library + +FIX properly close leaking fds in concurrent.futures.ProcessPoolExecutor. + +.. + +.. bpo: 33021 +.. date: 2018-03-12-00-27-56 +.. nonce: m19B9T +.. section: Library + +Release the GIL during fstat() calls, avoiding hang of all threads when +calling mmap.mmap(), os.urandom(), and random.seed(). Patch by Nir Soffer. + +.. + +.. bpo: 31804 +.. date: 2018-03-11-19-03-52 +.. nonce: i8KUMp +.. section: Library + +Avoid failing in multiprocessing.Process if the standard streams are closed +or None at exit. + +.. + +.. bpo: 33037 +.. date: 2018-03-09-23-07-07 +.. nonce: nAJ3at +.. section: Library + +Skip sending/receiving data after SSL transport closing. + +.. + +.. bpo: 27683 +.. date: 2018-03-07-22-28-17 +.. nonce: 572Rv4 +.. section: Library + +Fix a regression in :mod:`ipaddress` that result of :meth:`hosts` is empty +when the network is constructed by a tuple containing an integer mask and +only 1 bit left for addresses. + +.. + +.. bpo: 32999 +.. date: 2018-03-06-20-30-20 +.. nonce: lgFXWl +.. section: Library + +Fix C implemetation of ``ABC.__subclasscheck__(cls, subclass)`` crashed when +``subclass`` is not a type object. + +.. + +.. bpo: 33009 +.. date: 2018-03-06-11-54-59 +.. nonce: -Ekysb +.. section: Library + +Fix inspect.signature() for single-parameter partialmethods. + +.. + +.. bpo: 32969 +.. date: 2018-03-06-00-19-41 +.. nonce: rGTKa0 +.. section: Library + +Expose several missing constants in zlib and fix corresponding +documentation. + +.. + +.. bpo: 32056 +.. date: 2018-03-01-17-49-56 +.. nonce: IlpfgE +.. section: Library + +Improved exceptions raised for invalid number of channels and sample width +when read an audio file in modules :mod:`aifc`, :mod:`wave` and +:mod:`sunau`. + +.. + +.. bpo: 32844 +.. date: 2018-02-28-13-08-00 +.. nonce: u8tnAe +.. section: Library + +Fix wrong redirection of a low descriptor (0 or 1) to stderr in subprocess +if another low descriptor is closed. + +.. + +.. bpo: 32857 +.. date: 2018-02-16-14-37-14 +.. nonce: -XljAx +.. section: Library + +In :mod:`tkinter`, ``after_cancel(None)`` now raises a :exc:`ValueError` +instead of canceling the first scheduled function. Patch by Cheryl Sabella. + +.. + +.. bpo: 31639 +.. date: 2017-12-27-21-55-19 +.. nonce: l3avDJ +.. section: Library + +http.server now exposes a ThreadedHTTPServer class and uses it when the +module is run with ``-m`` to cope with web browsers pre-opening sockets. + +.. + +.. bpo: 27645 +.. date: 2017-10-05-20-41-48 +.. nonce: 1Y_Wag +.. section: Library + +:class:`sqlite3.Connection` now exposes a +:class:`~sqlite3.Connection.backup` method, if the underlying SQLite library +is at version 3.6.11 or higher. Patch by Lele Gaifax. + +.. + +.. bpo: 33126 +.. date: 2018-03-28-17-03-17 +.. nonce: 5UGkNv +.. section: Documentation + +Document PyBuffer_ToContiguous(). + +.. + +.. bpo: 27212 +.. date: 2018-03-22-19-23-04 +.. nonce: wrE5KR +.. section: Documentation + +Modify documentation for the :func:`islice` recipe to consume initial values +up to the start index. + +.. + +.. bpo: 28247 +.. date: 2018-03-20-20-11-05 +.. nonce: -V-WS- +.. section: Documentation + +Update :mod:`zipapp` documentation to describe how to make standalone +applications. + +.. + +.. bpo: 18802 +.. date: 2018-03-11-18-53-47 +.. nonce: JhAqH3 +.. section: Documentation + +Documentation changes for ipaddress. Patch by Jon Foster and Berker Peksag. + +.. + +.. bpo: 27428 +.. date: 2018-03-11-00-16-56 +.. nonce: B7A8FT +.. section: Documentation + +Update documentation to clarify that ``WindowsRegistryFinder`` implements +``MetaPathFinder``. (Patch by Himanshu Lakhara) + +.. + +.. bpo: 32872 +.. date: 2018-03-28-01-35-02 +.. nonce: J5NDUj +.. section: Tests + +Avoid regrtest compatibility issue with namespace packages. + +.. + +.. bpo: 32517 +.. date: 2018-03-09-07-05-12 +.. nonce: ugc1iW +.. section: Tests + +Fix failing ``test_asyncio`` on macOS 10.12.2+ due to transport of +``KqueueSelector`` loop was not being closed. + +.. + +.. bpo: 19417 +.. date: 2018-01-08-13-33-47 +.. nonce: 2asoXy +.. section: Tests + +Add test_bdb.py. + +.. + +.. bpo: 33163 +.. date: 2018-03-28-04-15-03 +.. nonce: hfpWuU +.. section: Build + +Upgrade pip to 9.0.3 and setuptools to v39.0.1. + +.. + +.. bpo: 33016 +.. date: 2018-03-07-01-33-33 +.. nonce: Z_Med0 +.. section: Windows + +Fix potential use of uninitialized memory in nt._getfinalpathname + +.. + +.. bpo: 32903 +.. date: 2018-02-28-11-03-24 +.. nonce: 1SXY4t +.. section: Windows + +Fix a memory leak in os.chdir() on Windows if the current directory is set +to a UNC path. + +.. + +.. bpo: 32726 +.. date: 2018-03-29-06-56-12 +.. nonce: urS9uX +.. section: macOS + +Build and link with private copy of Tcl/Tk 8.6 for the macOS 10.6+ +installer. The 10.9+ installer variant already does this. This means that +the Python 3.7 provided by the python.org macOS installers no longer need or +use any external versions of Tcl/Tk, either system-provided or user- +installed, such as ActiveTcl. + +.. + +.. bpo: 32984 +.. date: 2018-03-05-01-29-05 +.. nonce: NGjgT4 +.. section: IDLE + +Set ``__file__`` while running a startup file. Like Python, IDLE optionally +runs one startup file in the Shell window before presenting the first +interactive input prompt. For IDLE, ``-s`` runs a file named in +environmental variable :envvar:`IDLESTARTUP` or :envvar:`PYTHONSTARTUP`; +``-r file`` runs ``file``. Python sets ``__file__`` to the startup file +name before running the file and unsets it before the first prompt. IDLE +now does the same when run normally, without the ``-n`` option. + +.. + +.. bpo: 32940 +.. date: 2018-02-24-18-20-50 +.. nonce: ZaJ1Rf +.. section: IDLE + +Simplify and rename StringTranslatePseudoMapping in pyparse. + +.. + +.. bpo: 32885 +.. date: 2018-02-20-12-16-47 +.. nonce: dL5x7C +.. section: Tools/Demos + +Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disbale automatic +backup creation (files with ``~`` suffix). + +.. + +.. bpo: 33042 +.. date: 2018-03-20-21-43-09 +.. nonce: FPFp64 +.. section: C API + +Embedding applications may once again call PySys_ResetWarnOptions, +PySys_AddWarnOption, and PySys_AddXOption prior to calling Py_Initialize. + +.. + +.. bpo: 32374 +.. date: 2018-01-09-17-03-54 +.. nonce: SwwLoz +.. section: C API + +Document that m_traverse for multi-phase initialized modules can be called +with m_state=NULL, and add a sanity check diff --git a/Misc/NEWS.d/next/Build/2018-03-28-04-15-03.bpo-33163.hfpWuU.rst b/Misc/NEWS.d/next/Build/2018-03-28-04-15-03.bpo-33163.hfpWuU.rst deleted file mode 100644 index b3f04e3f800..00000000000 --- a/Misc/NEWS.d/next/Build/2018-03-28-04-15-03.bpo-33163.hfpWuU.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade pip to 9.0.3 and setuptools to v39.0.1. diff --git a/Misc/NEWS.d/next/C API/2018-01-09-17-03-54.bpo-32374.SwwLoz.rst b/Misc/NEWS.d/next/C API/2018-01-09-17-03-54.bpo-32374.SwwLoz.rst deleted file mode 100644 index f9cf6d6b99c..00000000000 --- a/Misc/NEWS.d/next/C API/2018-01-09-17-03-54.bpo-32374.SwwLoz.rst +++ /dev/null @@ -1,2 +0,0 @@ -Document that m_traverse for multi-phase initialized modules can be called -with m_state=NULL, and add a sanity check diff --git a/Misc/NEWS.d/next/C API/2018-03-20-21-43-09.bpo-33042.FPFp64.rst b/Misc/NEWS.d/next/C API/2018-03-20-21-43-09.bpo-33042.FPFp64.rst deleted file mode 100644 index f840b55869c..00000000000 --- a/Misc/NEWS.d/next/C API/2018-03-20-21-43-09.bpo-33042.FPFp64.rst +++ /dev/null @@ -1,2 +0,0 @@ -Embedding applications may once again call PySys_ResetWarnOptions, -PySys_AddWarnOption, and PySys_AddXOption prior to calling Py_Initialize. \ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-02-14-12-35-47.bpo-32836.bThJnx.rst b/Misc/NEWS.d/next/Core and Builtins/2018-02-14-12-35-47.bpo-32836.bThJnx.rst deleted file mode 100644 index 4eeb9aa2e52..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-02-14-12-35-47.bpo-32836.bThJnx.rst +++ /dev/null @@ -1 +0,0 @@ -Don't use temporary variables in cases of list/dict/set comprehensions diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-02-27-13-36-21.bpo-17288.Gdj24S.rst b/Misc/NEWS.d/next/Core and Builtins/2018-02-27-13-36-21.bpo-17288.Gdj24S.rst deleted file mode 100644 index ce9e84c4031..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-02-27-13-36-21.bpo-17288.Gdj24S.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent jumps from 'return' and 'exception' trace events. diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-03-06-12-19-19.bpo-33005.LP-V2U.rst b/Misc/NEWS.d/next/Core and Builtins/2018-03-06-12-19-19.bpo-33005.LP-V2U.rst deleted file mode 100644 index 6c8b99cbb89..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-03-06-12-19-19.bpo-33005.LP-V2U.rst +++ /dev/null @@ -1,4 +0,0 @@ -Fix a crash on fork when using a custom memory allocator (ex: using -PYTHONMALLOC env var). _PyGILState_Reinit() and _PyInterpreterState_Enable() -now use the default RAW memory allocator to allocate a new interpreters mutex -on fork. diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-03-08-09-48-38.bpo-33026.QZA3Ba.rst b/Misc/NEWS.d/next/Core and Builtins/2018-03-08-09-48-38.bpo-33026.QZA3Ba.rst deleted file mode 100644 index dc166d1e577..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-03-08-09-48-38.bpo-33026.QZA3Ba.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed jumping out of "with" block by setting f_lineno. diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-03-18-13-56-14.bpo-33041.XwPhI2.rst b/Misc/NEWS.d/next/Core and Builtins/2018-03-18-13-56-14.bpo-33041.XwPhI2.rst deleted file mode 100644 index 97b5e2ef1e5..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-03-18-13-56-14.bpo-33041.XwPhI2.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed jumping when the function contains an ``async for`` loop. diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-03-22-23-09-06.bpo-33018.0ncEJV.rst b/Misc/NEWS.d/next/Core and Builtins/2018-03-22-23-09-06.bpo-33018.0ncEJV.rst deleted file mode 100644 index e799e9834aa..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-03-22-23-09-06.bpo-33018.0ncEJV.rst +++ /dev/null @@ -1,3 +0,0 @@ -Improve consistency of errors raised by ``issubclass()`` when called with a -non-class and an abstract base class as the first and second arguments, -respectively. Patch by Josh Bronson. diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-03-25-19-49-06.bpo-33053.V3xlsH.rst b/Misc/NEWS.d/next/Core and Builtins/2018-03-25-19-49-06.bpo-33053.V3xlsH.rst deleted file mode 100644 index fd32ac150e4..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-03-25-19-49-06.bpo-33053.V3xlsH.rst +++ /dev/null @@ -1,4 +0,0 @@ -When using the -m switch, sys.path[0] is now explicitly expanded as the -*starting* working directory, rather than being left as the empty path -(which allows imports from the current working directory at the time of the -import) diff --git a/Misc/NEWS.d/next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst b/Misc/NEWS.d/next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst deleted file mode 100644 index c9ac8e22df0..00000000000 --- a/Misc/NEWS.d/next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst +++ /dev/null @@ -1,2 +0,0 @@ -Update documentation to clarify that ``WindowsRegistryFinder`` implements -``MetaPathFinder``. (Patch by Himanshu Lakhara) diff --git a/Misc/NEWS.d/next/Documentation/2018-03-11-18-53-47.bpo-18802.JhAqH3.rst b/Misc/NEWS.d/next/Documentation/2018-03-11-18-53-47.bpo-18802.JhAqH3.rst deleted file mode 100644 index cb9cc2599ac..00000000000 --- a/Misc/NEWS.d/next/Documentation/2018-03-11-18-53-47.bpo-18802.JhAqH3.rst +++ /dev/null @@ -1 +0,0 @@ -Documentation changes for ipaddress. Patch by Jon Foster and Berker Peksag. diff --git a/Misc/NEWS.d/next/Documentation/2018-03-20-20-11-05.bpo-28247.-V-WS-.rst b/Misc/NEWS.d/next/Documentation/2018-03-20-20-11-05.bpo-28247.-V-WS-.rst deleted file mode 100644 index 28a802136fa..00000000000 --- a/Misc/NEWS.d/next/Documentation/2018-03-20-20-11-05.bpo-28247.-V-WS-.rst +++ /dev/null @@ -1,2 +0,0 @@ -Update :mod:`zipapp` documentation to describe how to make standalone -applications. diff --git a/Misc/NEWS.d/next/Documentation/2018-03-22-19-23-04.bpo-27212.wrE5KR.rst b/Misc/NEWS.d/next/Documentation/2018-03-22-19-23-04.bpo-27212.wrE5KR.rst deleted file mode 100644 index 5910d2c1734..00000000000 --- a/Misc/NEWS.d/next/Documentation/2018-03-22-19-23-04.bpo-27212.wrE5KR.rst +++ /dev/null @@ -1,2 +0,0 @@ -Modify documentation for the :func:`islice` recipe to consume initial values -up to the start index. diff --git a/Misc/NEWS.d/next/Documentation/2018-03-28-17-03-17.bpo-33126.5UGkNv.rst b/Misc/NEWS.d/next/Documentation/2018-03-28-17-03-17.bpo-33126.5UGkNv.rst deleted file mode 100644 index 1219790e79e..00000000000 --- a/Misc/NEWS.d/next/Documentation/2018-03-28-17-03-17.bpo-33126.5UGkNv.rst +++ /dev/null @@ -1 +0,0 @@ -Document PyBuffer_ToContiguous(). diff --git a/Misc/NEWS.d/next/IDLE/2018-02-24-18-20-50.bpo-32940.ZaJ1Rf.rst b/Misc/NEWS.d/next/IDLE/2018-02-24-18-20-50.bpo-32940.ZaJ1Rf.rst deleted file mode 100644 index 958f9522d4f..00000000000 --- a/Misc/NEWS.d/next/IDLE/2018-02-24-18-20-50.bpo-32940.ZaJ1Rf.rst +++ /dev/null @@ -1 +0,0 @@ -Simplify and rename StringTranslatePseudoMapping in pyparse. diff --git a/Misc/NEWS.d/next/IDLE/2018-03-05-01-29-05.bpo-32984.NGjgT4.rst b/Misc/NEWS.d/next/IDLE/2018-03-05-01-29-05.bpo-32984.NGjgT4.rst deleted file mode 100644 index 15d40b72caa..00000000000 --- a/Misc/NEWS.d/next/IDLE/2018-03-05-01-29-05.bpo-32984.NGjgT4.rst +++ /dev/null @@ -1,7 +0,0 @@ -Set ``__file__`` while running a startup file. Like Python, IDLE optionally -runs one startup file in the Shell window before presenting the first interactive -input prompt. For IDLE, ``-s`` runs a file named in environmental variable - :envvar:`IDLESTARTUP` or :envvar:`PYTHONSTARTUP`; ``-r file`` runs -``file``. Python sets ``__file__`` to the startup file name before running the -file and unsets it before the first prompt. IDLE now does the same when run -normally, without the ``-n`` option. diff --git a/Misc/NEWS.d/next/Library/2017-10-05-20-41-48.bpo-27645.1Y_Wag.rst b/Misc/NEWS.d/next/Library/2017-10-05-20-41-48.bpo-27645.1Y_Wag.rst deleted file mode 100644 index c4b7185614a..00000000000 --- a/Misc/NEWS.d/next/Library/2017-10-05-20-41-48.bpo-27645.1Y_Wag.rst +++ /dev/null @@ -1,3 +0,0 @@ -:class:`sqlite3.Connection` now exposes a :class:`~sqlite3.Connection.backup` -method, if the underlying SQLite library is at version 3.6.11 -or higher. Patch by Lele Gaifax. diff --git a/Misc/NEWS.d/next/Library/2017-12-27-21-55-19.bpo-31639.l3avDJ.rst b/Misc/NEWS.d/next/Library/2017-12-27-21-55-19.bpo-31639.l3avDJ.rst deleted file mode 100644 index 581ac8266b1..00000000000 --- a/Misc/NEWS.d/next/Library/2017-12-27-21-55-19.bpo-31639.l3avDJ.rst +++ /dev/null @@ -1,2 +0,0 @@ -http.server now exposes a ThreadedHTTPServer class and uses it when the -module is run with ``-m`` to cope with web browsers pre-opening sockets. diff --git a/Misc/NEWS.d/next/Library/2018-02-16-14-37-14.bpo-32857.-XljAx.rst b/Misc/NEWS.d/next/Library/2018-02-16-14-37-14.bpo-32857.-XljAx.rst deleted file mode 100644 index 4ebbde4d194..00000000000 --- a/Misc/NEWS.d/next/Library/2018-02-16-14-37-14.bpo-32857.-XljAx.rst +++ /dev/null @@ -1 +0,0 @@ -In :mod:`tkinter`, ``after_cancel(None)`` now raises a :exc:`ValueError` instead of canceling the first scheduled function. Patch by Cheryl Sabella. diff --git a/Misc/NEWS.d/next/Library/2018-02-28-13-08-00.bpo-32844.u8tnAe.rst b/Misc/NEWS.d/next/Library/2018-02-28-13-08-00.bpo-32844.u8tnAe.rst deleted file mode 100644 index 67412fe5ba4..00000000000 --- a/Misc/NEWS.d/next/Library/2018-02-28-13-08-00.bpo-32844.u8tnAe.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix wrong redirection of a low descriptor (0 or 1) to stderr in subprocess -if another low descriptor is closed. diff --git a/Misc/NEWS.d/next/Library/2018-03-01-17-49-56.bpo-32056.IlpfgE.rst b/Misc/NEWS.d/next/Library/2018-03-01-17-49-56.bpo-32056.IlpfgE.rst deleted file mode 100644 index 421aa376779..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-01-17-49-56.bpo-32056.IlpfgE.rst +++ /dev/null @@ -1,3 +0,0 @@ -Improved exceptions raised for invalid number of channels and sample width -when read an audio file in modules :mod:`aifc`, :mod:`wave` and -:mod:`sunau`. diff --git a/Misc/NEWS.d/next/Library/2018-03-06-00-19-41.bpo-32969.rGTKa0.rst b/Misc/NEWS.d/next/Library/2018-03-06-00-19-41.bpo-32969.rGTKa0.rst deleted file mode 100644 index a92307e67bf..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-06-00-19-41.bpo-32969.rGTKa0.rst +++ /dev/null @@ -1,2 +0,0 @@ -Expose several missing constants in zlib and fix corresponding -documentation. diff --git a/Misc/NEWS.d/next/Library/2018-03-06-11-54-59.bpo-33009.-Ekysb.rst b/Misc/NEWS.d/next/Library/2018-03-06-11-54-59.bpo-33009.-Ekysb.rst deleted file mode 100644 index 96bc70a8c94..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-06-11-54-59.bpo-33009.-Ekysb.rst +++ /dev/null @@ -1 +0,0 @@ -Fix inspect.signature() for single-parameter partialmethods. diff --git a/Misc/NEWS.d/next/Library/2018-03-06-20-30-20.bpo-32999.lgFXWl.rst b/Misc/NEWS.d/next/Library/2018-03-06-20-30-20.bpo-32999.lgFXWl.rst deleted file mode 100644 index 45e75f93931..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-06-20-30-20.bpo-32999.lgFXWl.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix C implemetation of ``ABC.__subclasscheck__(cls, subclass)`` crashed when -``subclass`` is not a type object. diff --git a/Misc/NEWS.d/next/Library/2018-03-07-22-28-17.bpo-27683.572Rv4.rst b/Misc/NEWS.d/next/Library/2018-03-07-22-28-17.bpo-27683.572Rv4.rst deleted file mode 100644 index 4e6dfa8e978..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-07-22-28-17.bpo-27683.572Rv4.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix a regression in :mod:`ipaddress` that result of :meth:`hosts` -is empty when the network is constructed by a tuple containing an -integer mask and only 1 bit left for addresses. diff --git a/Misc/NEWS.d/next/Library/2018-03-09-23-07-07.bpo-33037.nAJ3at.rst b/Misc/NEWS.d/next/Library/2018-03-09-23-07-07.bpo-33037.nAJ3at.rst deleted file mode 100644 index 2732eeb4534..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-09-23-07-07.bpo-33037.nAJ3at.rst +++ /dev/null @@ -1 +0,0 @@ -Skip sending/receiving data after SSL transport closing. diff --git a/Misc/NEWS.d/next/Library/2018-03-11-19-03-52.bpo-31804.i8KUMp.rst b/Misc/NEWS.d/next/Library/2018-03-11-19-03-52.bpo-31804.i8KUMp.rst deleted file mode 100644 index 7fcede297ac..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-11-19-03-52.bpo-31804.i8KUMp.rst +++ /dev/null @@ -1,2 +0,0 @@ -Avoid failing in multiprocessing.Process if the standard streams are closed -or None at exit. diff --git a/Misc/NEWS.d/next/Library/2018-03-12-00-27-56.bpo-33021.m19B9T.rst b/Misc/NEWS.d/next/Library/2018-03-12-00-27-56.bpo-33021.m19B9T.rst deleted file mode 100644 index 50dfafe600d..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-12-00-27-56.bpo-33021.m19B9T.rst +++ /dev/null @@ -1,2 +0,0 @@ -Release the GIL during fstat() calls, avoiding hang of all threads when -calling mmap.mmap(), os.urandom(), and random.seed(). Patch by Nir Soffer. diff --git a/Misc/NEWS.d/next/Library/2018-03-12-16-40-00.bpo-33056.lNN9Eh.rst b/Misc/NEWS.d/next/Library/2018-03-12-16-40-00.bpo-33056.lNN9Eh.rst deleted file mode 100644 index 6acc19a36dc..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-12-16-40-00.bpo-33056.lNN9Eh.rst +++ /dev/null @@ -1 +0,0 @@ -FIX properly close leaking fds in concurrent.futures.ProcessPoolExecutor. diff --git a/Misc/NEWS.d/next/Library/2018-03-12-19-58-25.bpo-33064.LO2KIY.rst b/Misc/NEWS.d/next/Library/2018-03-12-19-58-25.bpo-33064.LO2KIY.rst deleted file mode 100644 index c8e955e335c..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-12-19-58-25.bpo-33064.LO2KIY.rst +++ /dev/null @@ -1,2 +0,0 @@ -lib2to3 now properly supports trailing commas after ``*args`` and -``**kwargs`` in function signatures. diff --git a/Misc/NEWS.d/next/Library/2018-03-15-07-38-00.bpo-33078.RmjUF5.rst b/Misc/NEWS.d/next/Library/2018-03-15-07-38-00.bpo-33078.RmjUF5.rst deleted file mode 100644 index 55c2b1de866..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-15-07-38-00.bpo-33078.RmjUF5.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix the size handling in multiprocessing.Queue when a pickling error -occurs. diff --git a/Misc/NEWS.d/next/Library/2018-03-16-16-07-33.bpo-33061.TRTTek.rst b/Misc/NEWS.d/next/Library/2018-03-16-16-07-33.bpo-33061.TRTTek.rst deleted file mode 100644 index b82ffb73a14..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-16-16-07-33.bpo-33061.TRTTek.rst +++ /dev/null @@ -1 +0,0 @@ -Add missing ``NoReturn`` to ``__all__`` in typing.py diff --git a/Misc/NEWS.d/next/Library/2018-03-18-17-38-48.bpo-32953.t8WAWN.rst b/Misc/NEWS.d/next/Library/2018-03-18-17-38-48.bpo-32953.t8WAWN.rst deleted file mode 100644 index 03c1162c783..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-18-17-38-48.bpo-32953.t8WAWN.rst +++ /dev/null @@ -1,4 +0,0 @@ -If a non-dataclass inherits from a frozen dataclass, allow attributes to be -added to the derived class. Only attributes from the frozen dataclass -cannot be assigned to. Require all dataclasses in a hierarchy to be either -all frozen or all non-frozen. diff --git a/Misc/NEWS.d/next/Library/2018-03-19-20-47-00.bpo-33100.chyIO4.rst b/Misc/NEWS.d/next/Library/2018-03-19-20-47-00.bpo-33100.chyIO4.rst deleted file mode 100644 index 080a55c0cfb..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-19-20-47-00.bpo-33100.chyIO4.rst +++ /dev/null @@ -1,2 +0,0 @@ -Dataclasses: If a field has a default value that's a MemberDescriptorType, -then it's from that field being in __slots__, not an actual default value. diff --git a/Misc/NEWS.d/next/Library/2018-03-20-20-53-21.bpo-32896.ewW3Ln.rst b/Misc/NEWS.d/next/Library/2018-03-20-20-53-21.bpo-32896.ewW3Ln.rst deleted file mode 100644 index 8363da4667a..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-20-20-53-21.bpo-32896.ewW3Ln.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix an error where subclassing a dataclass with a field that uses a -default_factory would generate an incorrect class. diff --git a/Misc/NEWS.d/next/Library/2018-03-21-16-52-26.bpo-33116.Tvzerj.rst b/Misc/NEWS.d/next/Library/2018-03-21-16-52-26.bpo-33116.Tvzerj.rst deleted file mode 100644 index 90072d8e303..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-21-16-52-26.bpo-33116.Tvzerj.rst +++ /dev/null @@ -1 +0,0 @@ -Add 'Field' to dataclasses.__all__. diff --git a/Misc/NEWS.d/next/Library/2018-03-21-17-59-39.bpo-33078.PQOniT.rst b/Misc/NEWS.d/next/Library/2018-03-21-17-59-39.bpo-33078.PQOniT.rst deleted file mode 100644 index 8b71bb32e0e..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-21-17-59-39.bpo-33078.PQOniT.rst +++ /dev/null @@ -1 +0,0 @@ -Fix the failure on OSX caused by the tests relying on sem_getvalue diff --git a/Misc/NEWS.d/next/Library/2018-03-22-16-05-56.bpo-32505.YK1N8v.rst b/Misc/NEWS.d/next/Library/2018-03-22-16-05-56.bpo-32505.YK1N8v.rst deleted file mode 100644 index 91e97bf53f6..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-22-16-05-56.bpo-32505.YK1N8v.rst +++ /dev/null @@ -1,2 +0,0 @@ -Raise TypeError if a member variable of a dataclass is of type Field, but -doesn't have a type annotation. diff --git a/Misc/NEWS.d/next/Library/2018-03-24-15-08-24.bpo-33127.olJmHv.rst b/Misc/NEWS.d/next/Library/2018-03-24-15-08-24.bpo-33127.olJmHv.rst deleted file mode 100644 index 635aabbde03..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-24-15-08-24.bpo-33127.olJmHv.rst +++ /dev/null @@ -1 +0,0 @@ -The ssl module now compiles with LibreSSL 2.7.1. diff --git a/Misc/NEWS.d/next/Library/2018-03-24-19-34-26.bpo-33134.hbVeIX.rst b/Misc/NEWS.d/next/Library/2018-03-24-19-34-26.bpo-33134.hbVeIX.rst deleted file mode 100644 index 3f4ce84bef7..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-24-19-34-26.bpo-33134.hbVeIX.rst +++ /dev/null @@ -1,3 +0,0 @@ -When computing dataclass's __hash__, use the lookup table to contain the -function which returns the __hash__ value. This is an improvement over -looking up a string, and then testing that string to see what to do. diff --git a/Misc/NEWS.d/next/Library/2018-03-24-19-54-48.bpo-32873.cHyoAm.rst b/Misc/NEWS.d/next/Library/2018-03-24-19-54-48.bpo-32873.cHyoAm.rst deleted file mode 100644 index 99f8088cf13..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-24-19-54-48.bpo-32873.cHyoAm.rst +++ /dev/null @@ -1,3 +0,0 @@ -Treat type variables and special typing forms as immutable by copy and -pickle. This fixes several minor issues and inconsistencies, and improves -backwards compatibility with Python 3.6. diff --git a/Misc/NEWS.d/next/Library/2018-03-25-13-18-16.bpo-33096.ofdbe7.rst b/Misc/NEWS.d/next/Library/2018-03-25-13-18-16.bpo-33096.ofdbe7.rst deleted file mode 100644 index c55ea20b337..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-25-13-18-16.bpo-33096.ofdbe7.rst +++ /dev/null @@ -1,4 +0,0 @@ -Allow ttk.Treeview.insert to insert iid that has a false boolean value. -Note iid=0 and iid=False would be same. -Patch by Garvit Khatri. - diff --git a/Misc/NEWS.d/next/Library/2018-03-26-12-33-13.bpo-33141.23wlxf.rst b/Misc/NEWS.d/next/Library/2018-03-26-12-33-13.bpo-33141.23wlxf.rst deleted file mode 100644 index 1d49c08fed5..00000000000 --- a/Misc/NEWS.d/next/Library/2018-03-26-12-33-13.bpo-33141.23wlxf.rst +++ /dev/null @@ -1,2 +0,0 @@ -Have Field objects pass through __set_name__ to their default values, if -they have their own __set_name__. diff --git a/Misc/NEWS.d/next/Security/2018-03-02-10-24-52.bpo-32981.O_qDyj.rst b/Misc/NEWS.d/next/Security/2018-03-02-10-24-52.bpo-32981.O_qDyj.rst deleted file mode 100644 index 9ebabb44f91..00000000000 --- a/Misc/NEWS.d/next/Security/2018-03-02-10-24-52.bpo-32981.O_qDyj.rst +++ /dev/null @@ -1,4 +0,0 @@ -Regexes in difflib and poplib were vulnerable to catastrophic backtracking. -These regexes formed potential DOS vectors (REDOS). They have been -refactored. This resolves CVE-2018-1060 and CVE-2018-1061. -Patch by Jamie Davis. diff --git a/Misc/NEWS.d/next/Security/2018-03-05-10-09-51.bpo-33001.elj4Aa.rst b/Misc/NEWS.d/next/Security/2018-03-05-10-09-51.bpo-33001.elj4Aa.rst deleted file mode 100644 index 2acbac9e1af..00000000000 --- a/Misc/NEWS.d/next/Security/2018-03-05-10-09-51.bpo-33001.elj4Aa.rst +++ /dev/null @@ -1 +0,0 @@ -Minimal fix to prevent buffer overrun in os.symlink on Windows diff --git a/Misc/NEWS.d/next/Security/2018-03-25-12-05-43.bpo-33136.TzSN4x.rst b/Misc/NEWS.d/next/Security/2018-03-25-12-05-43.bpo-33136.TzSN4x.rst deleted file mode 100644 index c3505167092..00000000000 --- a/Misc/NEWS.d/next/Security/2018-03-25-12-05-43.bpo-33136.TzSN4x.rst +++ /dev/null @@ -1,3 +0,0 @@ -Harden ssl module against LibreSSL CVE-2018-8970. -X509_VERIFY_PARAM_set1_host() is called with an explicit namelen. A new test -ensures that NULL bytes are not allowed. diff --git a/Misc/NEWS.d/next/Tests/2018-01-08-13-33-47.bpo-19417.2asoXy.rst b/Misc/NEWS.d/next/Tests/2018-01-08-13-33-47.bpo-19417.2asoXy.rst deleted file mode 100644 index 739352fcdd6..00000000000 --- a/Misc/NEWS.d/next/Tests/2018-01-08-13-33-47.bpo-19417.2asoXy.rst +++ /dev/null @@ -1 +0,0 @@ -Add test_bdb.py. diff --git a/Misc/NEWS.d/next/Tests/2018-03-09-07-05-12.bpo-32517.ugc1iW.rst b/Misc/NEWS.d/next/Tests/2018-03-09-07-05-12.bpo-32517.ugc1iW.rst deleted file mode 100644 index 43f148f06ec..00000000000 --- a/Misc/NEWS.d/next/Tests/2018-03-09-07-05-12.bpo-32517.ugc1iW.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix failing ``test_asyncio`` on macOS 10.12.2+ due to transport of -``KqueueSelector`` loop was not being closed. diff --git a/Misc/NEWS.d/next/Tests/2018-03-28-01-35-02.bpo-32872.J5NDUj.rst b/Misc/NEWS.d/next/Tests/2018-03-28-01-35-02.bpo-32872.J5NDUj.rst deleted file mode 100644 index 06d656bbfd6..00000000000 --- a/Misc/NEWS.d/next/Tests/2018-03-28-01-35-02.bpo-32872.J5NDUj.rst +++ /dev/null @@ -1 +0,0 @@ -Avoid regrtest compatibility issue with namespace packages. diff --git a/Misc/NEWS.d/next/Tools-Demos/2018-02-20-12-16-47.bpo-32885.dL5x7C.rst b/Misc/NEWS.d/next/Tools-Demos/2018-02-20-12-16-47.bpo-32885.dL5x7C.rst deleted file mode 100644 index e003e1d84fd..00000000000 --- a/Misc/NEWS.d/next/Tools-Demos/2018-02-20-12-16-47.bpo-32885.dL5x7C.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disbale automatic -backup creation (files with ``~`` suffix). diff --git a/Misc/NEWS.d/next/Windows/2018-02-28-11-03-24.bpo-32903.1SXY4t.rst b/Misc/NEWS.d/next/Windows/2018-02-28-11-03-24.bpo-32903.1SXY4t.rst deleted file mode 100644 index a20a414790f..00000000000 --- a/Misc/NEWS.d/next/Windows/2018-02-28-11-03-24.bpo-32903.1SXY4t.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a memory leak in os.chdir() on Windows if the current directory is set -to a UNC path. diff --git a/Misc/NEWS.d/next/Windows/2018-03-07-01-33-33.bpo-33016.Z_Med0.rst b/Misc/NEWS.d/next/Windows/2018-03-07-01-33-33.bpo-33016.Z_Med0.rst deleted file mode 100644 index f4f78d489bf..00000000000 --- a/Misc/NEWS.d/next/Windows/2018-03-07-01-33-33.bpo-33016.Z_Med0.rst +++ /dev/null @@ -1 +0,0 @@ -Fix potential use of uninitialized memory in nt._getfinalpathname diff --git a/Misc/NEWS.d/next/macOS/2018-03-29-06-56-12.bpo-32726.urS9uX.rst b/Misc/NEWS.d/next/macOS/2018-03-29-06-56-12.bpo-32726.urS9uX.rst deleted file mode 100644 index 470dc7f3eb1..00000000000 --- a/Misc/NEWS.d/next/macOS/2018-03-29-06-56-12.bpo-32726.urS9uX.rst +++ /dev/null @@ -1,5 +0,0 @@ -Build and link with private copy of Tcl/Tk 8.6 for the macOS 10.6+ -installer. The 10.9+ installer variant already does this. This means that -the Python 3.7 provided by the python.org macOS installers no longer need or -use any external versions of Tcl/Tk, either system-provided or user- -installed, such as ActiveTcl. diff --git a/README.rst b/README.rst index d6317608873..a01b069263e 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ -This is Python version 3.7.0 beta 2+ -==================================== +This is Python version 3.7.0 beta 3 +=================================== .. image:: https://travis-ci.org/python/cpython.svg?branch=master :alt: CPython build status on Travis CI