diff options
Diffstat (limited to 'Misc')
78 files changed, 778 insertions, 152 deletions
diff --git a/Misc/NEWS.d/3.8.1rc1.rst b/Misc/NEWS.d/3.8.1rc1.rst new file mode 100644 index 0000000000..958a8b7b80 --- /dev/null +++ b/Misc/NEWS.d/3.8.1rc1.rst @@ -0,0 +1,778 @@ +.. bpo: 38945 +.. date: 2019-12-01-22-44-40 +.. nonce: ztmNXc +.. release date: 2019-12-09 +.. section: Security + +Newline characters have been escaped when performing uu encoding to prevent +them from overflowing into to content section of the encoded file. This +prevents malicious or accidental modification of data during the decoding +process. + +.. + +.. bpo: 37228 +.. date: 2019-11-21-21-36-54 +.. nonce: yBZnFG +.. section: Security + +Due to significant security concerns, the *reuse_address* parameter of +:meth:`asyncio.loop.create_datagram_endpoint` is no longer supported. This +is because of the behavior of ``SO_REUSEADDR`` in UDP. For more details, see +the documentation for ``loop.create_datagram_endpoint()``. (Contributed by +Kyle Stanley, Antoine Pitrou, and Yury Selivanov in :issue:`37228`.) + +.. + +.. bpo: 38722 +.. date: 2019-11-18-16-17-56 +.. nonce: x3mECW +.. section: Security + +:mod:`runpy` now uses :meth:`io.open_code` to open code files. Patch by +Jason Killen. + +.. + +.. bpo: 38804 +.. date: 2019-11-15-00-54-42 +.. nonce: vjbM8V +.. section: Security + +Fixes a ReDoS vulnerability in :mod:`http.cookiejar`. Patch by Ben Caller. + +.. + +.. bpo: 38622 +.. date: 2019-11-14-16-13-23 +.. nonce: 3DYkfb +.. section: Security + +Add additional audit events for the :mod:`ctypes` module. + +.. + +.. bpo: 38418 +.. date: 2019-10-08-19-29-55 +.. nonce: QL7s0- +.. section: Security + +Fixes audit event for :func:`os.system` to be named ``os.system``. + +.. + +.. bpo: 38673 +.. date: 2019-12-01-00-17-44 +.. nonce: K_Tze- +.. section: Core and Builtins + +In REPL mode, don't switch to PS2 if the line starts with comment or +whitespace. Based on work by Batuhan Taşkaya. + +.. + +.. bpo: 38922 +.. date: 2019-11-26-12-20-34 +.. nonce: i6ja-i +.. section: Core and Builtins + +Calling ``replace`` on a code object now raises the ``code.__new__`` audit +event. + +.. + +.. bpo: 38920 +.. date: 2019-11-26-09-16-47 +.. nonce: Vx__sT +.. section: Core and Builtins + +Add audit hooks for when :func:`sys.excepthook` and +:func:`sys.unraisablehook` are invoked + +.. + +.. bpo: 38892 +.. date: 2019-11-22-22-18-50 +.. nonce: LS586s +.. section: Core and Builtins + +Improve documentation for audit events table and functions. + +.. + +.. bpo: 38707 +.. date: 2019-11-08-00-36-10 +.. nonce: SZL036 +.. section: Core and Builtins + +``MainThread.native_id`` is now correctly reset in child processes spawned +using :class:`multiprocessing.Process`, instead of retaining the parent's +value. + +.. + +.. bpo: 38640 +.. date: 2019-10-30-11-25-25 +.. nonce: 4sAFh5 +.. section: Core and Builtins + +Fixed a bug in the compiler that was causing to raise in the presence of +break statements and continue statements inside always false while loops. +Patch by Pablo Galindo. + +.. + +.. bpo: 38535 +.. date: 2019-10-20-12-43-48 +.. nonce: ESMkVN +.. section: Core and Builtins + +Fixed line numbers and column offsets for AST nodes for calls without +arguments in decorators. + +.. + +.. bpo: 38525 +.. date: 2019-10-20-00-36-18 +.. nonce: Vty1cA +.. section: Core and Builtins + +Fix a segmentation fault when using reverse iterators of empty ``dict`` +objects. Patch by Dong-hee Na and Inada Naoki. + +.. + +.. bpo: 35409 +.. date: 2019-07-13-18-01-13 +.. nonce: ozbcsR +.. section: Core and Builtins + +Ignore GeneratorExit exceptions when throwing an exception into the aclose +coroutine of an asynchronous generator. + +.. + +.. bpo: 39006 +.. date: 2019-12-09-14-40-09 +.. nonce: v4VsPg +.. section: Library + +Fix asyncio when the ssl module is missing: only check for ssl.SSLSocket +instance if the ssl module is available. + +.. + +.. bpo: 38708 +.. date: 2019-12-07-22-25-39 +.. nonce: rZTUfk +.. section: Library + +Fix a potential IndexError in email parser when parsing an empty msg-id. + +.. + +.. bpo: 38698 +.. date: 2019-12-07-21-49-50 +.. nonce: HxoSym +.. section: Library + +Add a new ``InvalidMessageID`` token to email parser to represent invalid +Message-ID headers. Also, add defects when there is remaining value after +parsing the header. + +.. + +.. bpo: 38979 +.. date: 2019-12-07-16-32-42 +.. nonce: q0sIHy +.. section: Library + +Return class from ``ContextVar.__class_getitem__`` to simplify subclassing. + +.. + +.. bpo: 38986 +.. date: 2019-12-06-15-11-42 +.. nonce: bg6iZt +.. section: Library + +Make repr of C accelerated TaskWakeupMethWrapper the same as of pure Python +version. + +.. + +.. bpo: 38529 +.. date: 2019-12-05-16-13-25 +.. nonce: yvQgx3 +.. section: Library + +Drop too noisy asyncio warning about deletion of a stream without explicit +``.close()`` call. + +.. + +.. bpo: 38634 +.. date: 2019-12-04-15-56-28 +.. nonce: pq0ZWa +.. section: Library + +The :mod:`readline` module now detects if Python is linked to libedit at +runtime on all platforms. Previously, the check was only done on macOS. + +.. + +.. bpo: 33684 +.. date: 2019-12-04-15-28-40 +.. nonce: QeSmQP +.. section: Library + +Fix ``json.tool`` failed to read a JSON file with non-ASCII characters when +locale encoding is not UTF-8. + +.. + +.. bpo: 38698 +.. date: 2019-12-02-10-35-19 +.. nonce: WZnAPQ +.. section: Library + +Prevent UnboundLocalError to pop up in parse_message_id + +parse_message_id() was improperly using a token defined inside an exception +handler, which was raising `UnboundLocalError` on parsing an invalid value. +Patch by Claudiu Popa. + +.. + +.. bpo: 26730 +.. date: 2019-11-27-16-30-02 +.. nonce: 56cdBn +.. section: Library + +Fix ``SpooledTemporaryFile.rollover()`` might corrupt the file when it is in +text mode. Patch by Serhiy Storchaka. + +.. + +.. bpo: 38668 +.. date: 2019-11-22-10-45-03 +.. nonce: iKx23z +.. section: Library + +Calling func:`shutil.copytree` to copy a directory tree from one directory +to another subdirectory resulted in an endless loop and a RecursionError. A +fix was added to consume an iterator and create the list of the entries to +be copied, avoiding the recursion for newly created directories. Patch by +Bruno P. Kinoshita. + +.. + +.. bpo: 37838 +.. date: 2019-11-21-11-39-17 +.. nonce: lRFcEC +.. section: Library + +:meth:`typing.get_type_hints` properly handles functions decorated with +:meth:`functools.wraps`. + +.. + +.. bpo: 38859 +.. date: 2019-11-19-16-30-46 +.. nonce: AZUzL8 +.. section: Library + +AsyncMock now returns StopAsyncIteration on the exaustion of a side_effects +iterable. Since PEP-479 its Impossible to raise a StopIteration exception +from a coroutine. + +.. + +.. bpo: 38857 +.. date: 2019-11-19-16-28-25 +.. nonce: YPUkU9 +.. section: Library + +AsyncMock fix for return values that are awaitable types. This also covers +side_effect iterable values that happend to be awaitable, and wraps +callables that return an awaitable type. Before these awaitables were being +awaited instead of being returned as is. + +.. + +.. bpo: 38821 +.. date: 2019-11-16-23-26-25 +.. nonce: -albNN +.. section: Library + +Fix unhandled exceptions in :mod:`argparse` when internationalizing error +messages for arguments with ``nargs`` set to special (non-integer) values. +Patch by Federico Bond. + +.. + +.. bpo: 38820 +.. date: 2019-11-16-16-09-07 +.. nonce: ivhUSV +.. section: Library + +Make Python compatible with OpenSSL 3.0.0. :func:`ssl.SSLSocket.getpeercert` +no longer returns IPv6 addresses with a trailing new line. + +.. + +.. bpo: 38807 +.. date: 2019-11-15-09-30-29 +.. nonce: PsmRog +.. section: Library + +Update :exc:`TypeError` messages for :meth:`os.path.join` to include +:class:`os.PathLike` objects as acceptable input types. + +.. + +.. bpo: 38785 +.. date: 2019-11-13-16-17-43 +.. nonce: NEOEfk +.. section: Library + +Prevent asyncio from crashing if parent ``__init__`` is not called from a +constructor of object derived from ``asyncio.Future``. + +.. + +.. bpo: 38723 +.. date: 2019-11-12-15-46-28 +.. nonce: gcdMFn +.. section: Library + +:mod:`pdb` now uses :meth:`io.open_code` to trigger auditing events. + +.. + +.. bpo: 27805 +.. date: 2019-11-11-21-43-06 +.. nonce: D3zl1_ +.. section: Library + +Allow opening pipes and other non-seekable files in append mode with +:func:`open`. + +.. + +.. bpo: 38686 +.. date: 2019-11-06-15-26-15 +.. nonce: HNFBce +.. section: Library + +Added support for multiple ``qop`` values in +:class:`urllib.request.AbstractDigestAuthHandler`. + +.. + +.. bpo: 38334 +.. date: 2019-10-27-00-08-49 +.. nonce: pfLLmc +.. section: Library + +Fixed seeking backward on an encrypted :class:`zipfile.ZipExtFile`. + +.. + +.. bpo: 34679 +.. date: 2019-10-23-16-25-12 +.. nonce: Bnw8o3 +.. section: Library + +asynci.ProactorEventLoop.close() now only calls signal.set_wakeup_fd() in +the main thread. + +.. + +.. bpo: 31202 +.. date: 2019-10-20-12-04-48 +.. nonce: NfdIus +.. section: Library + +The case the result of :func:`pathlib.WindowsPath.glob` matches now the case +of the pattern for literal parts. + +.. + +.. bpo: 38521 +.. date: 2019-10-18-13-57-31 +.. nonce: U-7aaM +.. section: Library + +Fixed erroneous equality comparison in statistics.NormalDist(). + +.. + +.. bpo: 38478 +.. date: 2019-10-15-11-37-57 +.. nonce: A87OPO +.. section: Library + +Fixed a bug in :meth:`inspect.signature.bind` that was causing it to fail +when handling a keyword argument with same name as positional-only +parameter. Patch by Pablo Galindo. + +.. + +.. bpo: 33604 +.. date: 2019-10-15-09-47-40 +.. nonce: J12cWT +.. section: Library + +Fixed `hmac.new` and `hmac.HMAC` to raise TypeError instead of ValueError +when the digestmod parameter, now required in 3.8, is omitted. Also +clarified the hmac module documentation and docstrings. + +.. + +.. bpo: 38422 +.. date: 2019-10-09-18-16-51 +.. nonce: aiM5bq +.. section: Library + +Clarify docstrings of pathlib suffix(es) + +.. + +.. bpo: 36993 +.. date: 2019-07-09-05-44-39 +.. nonce: 4javqu +.. section: Library + +Improve error reporting for corrupt zip files with bad zip64 extra data. +Patch by Daniel Hillier. + +.. + +.. bpo: 36820 +.. date: 2019-05-06-15-34-17 +.. nonce: Eh5mIB +.. section: Library + +Break cycle generated when saving an exception in socket.py, codeop.py and +dyld.py as they keep alive not only the exception but user objects through +the ``__traceback__`` attribute. Patch by Mario Corchero. + +.. + +.. bpo: 34776 +.. date: 2018-09-23-14-24-37 +.. nonce: 1SrQe3 +.. section: Library + +Fix dataclasses to support forward references in type annotations + +.. + +.. bpo: 33348 +.. date: 2018-04-24-13-18-48 +.. nonce: XaJDei +.. section: Library + +lib2to3 now recognizes expressions after ``*`` and `**` like in ``f(*[] or +[])``. + +.. + +.. bpo: 27657 +.. date: 2017-12-26-14-32-23 +.. nonce: 6BhyVK +.. section: Library + +Fix urllib.parse.urlparse() with numeric paths. A string like "path:80" is +no longer parsed as a path but as a scheme ("path") and a path ("80"). + +.. + +.. bpo: 38816 +.. date: 2019-11-15-11-39-13 +.. nonce: vUaSVL +.. section: Documentation + +Provides more details about the interaction between :c:func:`fork` and +CPython's runtime, focusing just on the C-API. This includes cautions about +where :c:func:`fork` should and shouldn't be called. + +.. + +.. bpo: 38351 +.. date: 2019-11-15-09-22-28 +.. nonce: xwhlse +.. section: Documentation + +Modernize :mod:`email` examples from %-formatting to f-strings. + +.. + +.. bpo: 38778 +.. date: 2019-11-12-15-31-09 +.. nonce: PHhTlv +.. section: Documentation + +Document the fact that :exc:`RuntimeError` is raised if :meth:`os.fork` is +called in a subinterpreter. + +.. + +.. bpo: 38592 +.. date: 2019-10-26-13-19-07 +.. nonce: Y96BYO +.. section: Documentation + +Add Brazilian Portuguese to the language switcher at Python Documentation +website. + +.. + +.. bpo: 38547 +.. date: 2019-12-09-11-32-34 +.. nonce: Juw54e +.. section: Tests + +Fix test_pty: if the process is the session leader, closing the master file +descriptor raises a SIGHUP signal: simply ignore SIGHUP when running the +tests. + +.. + +.. bpo: 38992 +.. date: 2019-12-08-15-11-06 +.. nonce: cVoHOZ +.. section: Tests + +Fix a test for :func:`math.fsum` that was failing due to constant folding. + +.. + +.. bpo: 38965 +.. date: 2019-12-04-17-08-55 +.. nonce: yqax3m +.. section: Tests + +Fix test_faulthandler on GCC 10. Use the "volatile" keyword in +``faulthandler._stack_overflow()`` to prevent tail call optimization on any +compiler, rather than relying on compiler specific pragma. + +.. + +.. bpo: 38875 +.. date: 2019-11-21-09-11-06 +.. nonce: wSZJal +.. section: Tests + +test_capi: trashcan tests now require the test "cpu" resource. + +.. + +.. bpo: 38841 +.. date: 2019-11-20-16-08-19 +.. nonce: 5F5Lbw +.. section: Tests + +Skip asyncio test_create_datagram_endpoint_existing_sock_unix on platforms +lacking a functional bind() for named unix domain sockets. + +.. + +.. bpo: 38669 +.. date: 2019-11-04-02-54-16 +.. nonce: pazXZ8 +.. section: Tests + +Raise :exc:`TypeError` when passing target as a string with +:meth:`unittest.mock.patch.object`. + +.. + +.. bpo: 35998 +.. date: 2019-10-16-01-36-15 +.. nonce: G305Bf +.. section: Tests + +Fix a race condition in test_asyncio.test_start_tls_server_1(). Previously, +there was a race condition between the test main() function which replaces +the protocol and the test ServerProto protocol which sends ANSWER once it +gets HELLO. Now, only the test main() function is responsible to send data, +ServerProto no longer sends data. + +.. + +.. bpo: 37404 +.. date: 2019-12-01-21-45-24 +.. nonce: cNsA7S +.. section: Build + +:mod:`asyncio` now raises :exc:`TyperError` when calling incompatible +methods with an :class:`ssl.SSLSocket` socket. Patch by Ido Michael. + +.. + +.. bpo: 38809 +.. date: 2019-11-15-09-25-44 +.. nonce: 9jwta6 +.. section: Build + +On Windows, build scripts will now recognize and use python.exe from an +active virtual env. + +.. + +.. bpo: 38684 +.. date: 2019-11-04-14-30-37 +.. nonce: aed593 +.. section: Build + +Fix _hashlib build when Blake2 is disabled, but OpenSSL supports it. + +.. + +.. bpo: 37415 +.. date: 2019-10-11-15-32-58 +.. nonce: D9RXrq +.. section: Build + +Fix stdatomic.h header check for ICC compiler: the ICC implementation lacks +atomic_uintptr_t type which is needed by Python. + +.. + +.. bpo: 33125 +.. date: 2019-11-14-08-57-50 +.. nonce: EN5MWS +.. section: Windows + +Add support for building and releasing Windows ARM64 packages. + +.. + +.. bpo: 38589 +.. date: 2019-10-28-10-48-16 +.. nonce: V69Q1a +.. section: Windows + +Fixes HTML Help shortcut when Windows is not installed to C drive + +.. + +.. bpo: 38453 +.. date: 2019-10-28-10-32-43 +.. nonce: NwwatW +.. section: Windows + +Ensure ntpath.realpath() correctly resolves relative paths. + +.. + +.. bpo: 38519 +.. date: 2019-10-28-05-01-29 +.. nonce: dCkY66 +.. section: Windows + +Restores the internal C headers that were missing from the nuget.org and +Microsoft Store packages. + +.. + +.. bpo: 38492 +.. date: 2019-10-16-09-49-09 +.. nonce: Te1LxC +.. section: Windows + +Remove ``pythonw.exe`` dependency on the Microsoft C++ runtime. + +.. + +.. bpo: 37931 +.. date: 2019-08-23-12-14-34 +.. nonce: goYgQj +.. section: macOS + +Fixed a crash on OSX dynamic builds that occurred when re-initializing the +posix module after a Py_Finalize if the environment had changed since the +previous `import posix`. Patch by Benoît Hudson. + +.. + +.. bpo: 38862 +.. date: 2019-11-23-21-50-57 +.. nonce: KQ9A0m +.. section: IDLE + +'Strip Trailing Whitespace' on the Format menu removes extra newlines at the +end of non-shell files. + +.. + +.. bpo: 26353 +.. date: 2019-11-09-23-55-59 +.. nonce: duYZiF +.. section: IDLE + +Stop adding newline when saving an IDLE shell window. + +.. + +.. bpo: 38636 +.. date: 2019-10-30-22-11-16 +.. nonce: hUhDeB +.. section: IDLE + +Fix IDLE Format menu tab toggle and file indent width. These functions +(default shortcuts Alt-T and Alt-U) were mistakenly disabled in 3.7.5 and +3.8.0. + +.. + +.. bpo: 4630 +.. date: 2019-10-28-04-48-03 +.. nonce: upgjiV +.. section: IDLE + +Add an option to toggle IDLE's cursor blink for shell, editor, and output +windows. See Settings, General, Window Preferences, Cursor Blink. Patch by +Zachary Spytz. + +.. + +.. bpo: 38598 +.. date: 2019-10-26-18-16-24 +.. nonce: 6kH9FY +.. section: IDLE + +Do not try to compile IDLE shell or output windows + +.. + +.. bpo: 37633 +.. date: 2019-11-04-21-10-47 +.. nonce: oOGVdo +.. section: C API + +Reëxport some function compatibility wrappers for macros in ``pythonrun.h``. + +.. + +.. bpo: 38540 +.. date: 2019-10-21-09-24-03 +.. nonce: 314N_T +.. section: C API + +Fixed possible leak in :c:func:`PyArg_Parse` and similar functions for +format units ``"es#"`` and ``"et#"`` when the macro +:c:macro:`PY_SSIZE_T_CLEAN` is not defined. + +.. + +.. bpo: 36389 +.. date: 2019-10-07-17-15-09 +.. nonce: hFX_jD +.. section: C API + +The ``_PyObject_CheckConsistency()`` function is now also available in +release mode. For example, it can be used to debug a crash in the +``visit_decref()`` function of the GC. diff --git a/Misc/NEWS.d/next/Build/2019-10-11-15-32-58.bpo-37415.D9RXrq.rst b/Misc/NEWS.d/next/Build/2019-10-11-15-32-58.bpo-37415.D9RXrq.rst deleted file mode 100644 index 98f4a3bf4f..0000000000 --- a/Misc/NEWS.d/next/Build/2019-10-11-15-32-58.bpo-37415.D9RXrq.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix stdatomic.h header check for ICC compiler: the ICC implementation lacks -atomic_uintptr_t type which is needed by Python. diff --git a/Misc/NEWS.d/next/Build/2019-11-04-14-30-37.bpo-38684.aed593.rst b/Misc/NEWS.d/next/Build/2019-11-04-14-30-37.bpo-38684.aed593.rst deleted file mode 100644 index c715ff9704..0000000000 --- a/Misc/NEWS.d/next/Build/2019-11-04-14-30-37.bpo-38684.aed593.rst +++ /dev/null @@ -1 +0,0 @@ -Fix _hashlib build when Blake2 is disabled, but OpenSSL supports it. diff --git a/Misc/NEWS.d/next/Build/2019-11-15-09-25-44.bpo-38809.9jwta6.rst b/Misc/NEWS.d/next/Build/2019-11-15-09-25-44.bpo-38809.9jwta6.rst deleted file mode 100644 index 10eaf844e8..0000000000 --- a/Misc/NEWS.d/next/Build/2019-11-15-09-25-44.bpo-38809.9jwta6.rst +++ /dev/null @@ -1,2 +0,0 @@ -On Windows, build scripts will now recognize and use python.exe from an -active virtual env. diff --git a/Misc/NEWS.d/next/Build/2019-12-01-21-45-24.bpo-37404.cNsA7S.rst b/Misc/NEWS.d/next/Build/2019-12-01-21-45-24.bpo-37404.cNsA7S.rst deleted file mode 100644 index 067fc9d3f1..0000000000 --- a/Misc/NEWS.d/next/Build/2019-12-01-21-45-24.bpo-37404.cNsA7S.rst +++ /dev/null @@ -1,2 +0,0 @@ -:mod:`asyncio` now raises :exc:`TyperError` when calling incompatible methods -with an :class:`ssl.SSLSocket` socket. Patch by Ido Michael. diff --git a/Misc/NEWS.d/next/C API/2019-10-07-17-15-09.bpo-36389.hFX_jD.rst b/Misc/NEWS.d/next/C API/2019-10-07-17-15-09.bpo-36389.hFX_jD.rst deleted file mode 100644 index 6c42882cdb..0000000000 --- a/Misc/NEWS.d/next/C API/2019-10-07-17-15-09.bpo-36389.hFX_jD.rst +++ /dev/null @@ -1,3 +0,0 @@ -The ``_PyObject_CheckConsistency()`` function is now also available in release -mode. For example, it can be used to debug a crash in the ``visit_decref()`` -function of the GC. diff --git a/Misc/NEWS.d/next/C API/2019-10-21-09-24-03.bpo-38540.314N_T.rst b/Misc/NEWS.d/next/C API/2019-10-21-09-24-03.bpo-38540.314N_T.rst deleted file mode 100644 index 1d73ad8fe9..0000000000 --- a/Misc/NEWS.d/next/C API/2019-10-21-09-24-03.bpo-38540.314N_T.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed possible leak in :c:func:`PyArg_Parse` and similar functions for -format units ``"es#"`` and ``"et#"`` when the macro -:c:macro:`PY_SSIZE_T_CLEAN` is not defined. diff --git a/Misc/NEWS.d/next/C API/2019-11-04-21-10-47.bpo-37633.oOGVdo.rst b/Misc/NEWS.d/next/C API/2019-11-04-21-10-47.bpo-37633.oOGVdo.rst deleted file mode 100644 index fdf6abbf1c..0000000000 --- a/Misc/NEWS.d/next/C API/2019-11-04-21-10-47.bpo-37633.oOGVdo.rst +++ /dev/null @@ -1 +0,0 @@ -Reëxport some function compatibility wrappers for macros in ``pythonrun.h``. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-07-13-18-01-13.bpo-35409.ozbcsR.rst b/Misc/NEWS.d/next/Core and Builtins/2019-07-13-18-01-13.bpo-35409.ozbcsR.rst deleted file mode 100644 index 0f35a91ec7..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-07-13-18-01-13.bpo-35409.ozbcsR.rst +++ /dev/null @@ -1,2 +0,0 @@ -Ignore GeneratorExit exceptions when throwing an exception into the aclose -coroutine of an asynchronous generator. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-10-20-00-36-18.bpo-38525.Vty1cA.rst b/Misc/NEWS.d/next/Core and Builtins/2019-10-20-00-36-18.bpo-38525.Vty1cA.rst deleted file mode 100644 index c74d143762..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-10-20-00-36-18.bpo-38525.Vty1cA.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a segmentation fault when using reverse iterators of empty ``dict`` objects. -Patch by Dong-hee Na and Inada Naoki. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-10-20-12-43-48.bpo-38535.ESMkVN.rst b/Misc/NEWS.d/next/Core and Builtins/2019-10-20-12-43-48.bpo-38535.ESMkVN.rst deleted file mode 100644 index 7671fd0647..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-10-20-12-43-48.bpo-38535.ESMkVN.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed line numbers and column offsets for AST nodes for calls without -arguments in decorators. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-10-30-11-25-25.bpo-38640.4sAFh5.rst b/Misc/NEWS.d/next/Core and Builtins/2019-10-30-11-25-25.bpo-38640.4sAFh5.rst deleted file mode 100644 index d99db3cce4..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-10-30-11-25-25.bpo-38640.4sAFh5.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed a bug in the compiler that was causing to raise in the presence of -break statements and continue statements inside always false while loops. -Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-11-08-00-36-10.bpo-38707.SZL036.rst b/Misc/NEWS.d/next/Core and Builtins/2019-11-08-00-36-10.bpo-38707.SZL036.rst deleted file mode 100644 index 4ef9ed8193..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-11-08-00-36-10.bpo-38707.SZL036.rst +++ /dev/null @@ -1 +0,0 @@ -``MainThread.native_id`` is now correctly reset in child processes spawned using :class:`multiprocessing.Process`, instead of retaining the parent's value. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-11-22-22-18-50.bpo-38892.LS586s.rst b/Misc/NEWS.d/next/Core and Builtins/2019-11-22-22-18-50.bpo-38892.LS586s.rst deleted file mode 100644 index 5df67dcbfe..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-11-22-22-18-50.bpo-38892.LS586s.rst +++ /dev/null @@ -1 +0,0 @@ -Improve documentation for audit events table and functions. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-11-26-09-16-47.bpo-38920.Vx__sT.rst b/Misc/NEWS.d/next/Core and Builtins/2019-11-26-09-16-47.bpo-38920.Vx__sT.rst deleted file mode 100644 index 2e9e443dd9..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-11-26-09-16-47.bpo-38920.Vx__sT.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add audit hooks for when :func:`sys.excepthook` and -:func:`sys.unraisablehook` are invoked diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-11-26-12-20-34.bpo-38922.i6ja-i.rst b/Misc/NEWS.d/next/Core and Builtins/2019-11-26-12-20-34.bpo-38922.i6ja-i.rst deleted file mode 100644 index a7af652e5a..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-11-26-12-20-34.bpo-38922.i6ja-i.rst +++ /dev/null @@ -1,2 +0,0 @@ -Calling ``replace`` on a code object now raises the ``code.__new__`` audit -event. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-12-01-00-17-44.bpo-38673.K_Tze-.rst b/Misc/NEWS.d/next/Core and Builtins/2019-12-01-00-17-44.bpo-38673.K_Tze-.rst deleted file mode 100644 index 8f8cf88e5e..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-12-01-00-17-44.bpo-38673.K_Tze-.rst +++ /dev/null @@ -1 +0,0 @@ -In REPL mode, don't switch to PS2 if the line starts with comment or whitespace. Based on work by Batuhan Taşkaya. diff --git a/Misc/NEWS.d/next/Documentation/2019-10-26-13-19-07.bpo-38592.Y96BYO.rst b/Misc/NEWS.d/next/Documentation/2019-10-26-13-19-07.bpo-38592.Y96BYO.rst deleted file mode 100644 index 3752d48a7c..0000000000 --- a/Misc/NEWS.d/next/Documentation/2019-10-26-13-19-07.bpo-38592.Y96BYO.rst +++ /dev/null @@ -1 +0,0 @@ -Add Brazilian Portuguese to the language switcher at Python Documentation website.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Documentation/2019-11-12-15-31-09.bpo-38778.PHhTlv.rst b/Misc/NEWS.d/next/Documentation/2019-11-12-15-31-09.bpo-38778.PHhTlv.rst deleted file mode 100644 index 053e1d294b..0000000000 --- a/Misc/NEWS.d/next/Documentation/2019-11-12-15-31-09.bpo-38778.PHhTlv.rst +++ /dev/null @@ -1 +0,0 @@ -Document the fact that :exc:`RuntimeError` is raised if :meth:`os.fork` is called in a subinterpreter. diff --git a/Misc/NEWS.d/next/Documentation/2019-11-15-09-22-28.bpo-38351.xwhlse.rst b/Misc/NEWS.d/next/Documentation/2019-11-15-09-22-28.bpo-38351.xwhlse.rst deleted file mode 100644 index 8e0dc9eb4c..0000000000 --- a/Misc/NEWS.d/next/Documentation/2019-11-15-09-22-28.bpo-38351.xwhlse.rst +++ /dev/null @@ -1 +0,0 @@ -Modernize :mod:`email` examples from %-formatting to f-strings.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Documentation/2019-11-15-11-39-13.bpo-38816.vUaSVL.rst b/Misc/NEWS.d/next/Documentation/2019-11-15-11-39-13.bpo-38816.vUaSVL.rst deleted file mode 100644 index 49accbc706..0000000000 --- a/Misc/NEWS.d/next/Documentation/2019-11-15-11-39-13.bpo-38816.vUaSVL.rst +++ /dev/null @@ -1,3 +0,0 @@ -Provides more details about the interaction between :c:func:`fork` and -CPython's runtime, focusing just on the C-API. This includes cautions -about where :c:func:`fork` should and shouldn't be called. diff --git a/Misc/NEWS.d/next/IDLE/2019-10-26-18-16-24.bpo-38598.6kH9FY.rst b/Misc/NEWS.d/next/IDLE/2019-10-26-18-16-24.bpo-38598.6kH9FY.rst deleted file mode 100644 index 5d04e4a79b..0000000000 --- a/Misc/NEWS.d/next/IDLE/2019-10-26-18-16-24.bpo-38598.6kH9FY.rst +++ /dev/null @@ -1 +0,0 @@ -Do not try to compile IDLE shell or output windows diff --git a/Misc/NEWS.d/next/IDLE/2019-10-28-04-48-03.bpo-4630.upgjiV.rst b/Misc/NEWS.d/next/IDLE/2019-10-28-04-48-03.bpo-4630.upgjiV.rst deleted file mode 100644 index 759b35b77f..0000000000 --- a/Misc/NEWS.d/next/IDLE/2019-10-28-04-48-03.bpo-4630.upgjiV.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add an option to toggle IDLE's cursor blink for shell, editor, and output -windows. See Settings, General, Window Preferences, Cursor Blink. -Patch by Zachary Spytz. diff --git a/Misc/NEWS.d/next/IDLE/2019-10-30-22-11-16.bpo-38636.hUhDeB.rst b/Misc/NEWS.d/next/IDLE/2019-10-30-22-11-16.bpo-38636.hUhDeB.rst deleted file mode 100644 index 4262dbea6d..0000000000 --- a/Misc/NEWS.d/next/IDLE/2019-10-30-22-11-16.bpo-38636.hUhDeB.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix IDLE Format menu tab toggle and file indent width. These functions -(default shortcuts Alt-T and Alt-U) were mistakenly disabled in 3.7.5 -and 3.8.0. diff --git a/Misc/NEWS.d/next/IDLE/2019-11-09-23-55-59.bpo-26353.duYZiF.rst b/Misc/NEWS.d/next/IDLE/2019-11-09-23-55-59.bpo-26353.duYZiF.rst deleted file mode 100644 index fd0a2a3682..0000000000 --- a/Misc/NEWS.d/next/IDLE/2019-11-09-23-55-59.bpo-26353.duYZiF.rst +++ /dev/null @@ -1,2 +0,0 @@ -Stop adding newline when saving an IDLE shell window. - diff --git a/Misc/NEWS.d/next/IDLE/2019-11-23-21-50-57.bpo-38862.KQ9A0m.rst b/Misc/NEWS.d/next/IDLE/2019-11-23-21-50-57.bpo-38862.KQ9A0m.rst deleted file mode 100644 index 14bab9e854..0000000000 --- a/Misc/NEWS.d/next/IDLE/2019-11-23-21-50-57.bpo-38862.KQ9A0m.rst +++ /dev/null @@ -1,2 +0,0 @@ -'Strip Trailing Whitespace' on the Format menu removes extra newlines -at the end of non-shell files. diff --git a/Misc/NEWS.d/next/Library/2017-12-26-14-32-23.bpo-27657.6BhyVK.rst b/Misc/NEWS.d/next/Library/2017-12-26-14-32-23.bpo-27657.6BhyVK.rst deleted file mode 100644 index 77746c0ce6..0000000000 --- a/Misc/NEWS.d/next/Library/2017-12-26-14-32-23.bpo-27657.6BhyVK.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix urllib.parse.urlparse() with numeric paths. A string like "path:80" is -no longer parsed as a path but as a scheme ("path") and a path ("80"). diff --git a/Misc/NEWS.d/next/Library/2018-04-24-13-18-48.bpo-33348.XaJDei.rst b/Misc/NEWS.d/next/Library/2018-04-24-13-18-48.bpo-33348.XaJDei.rst deleted file mode 100644 index f95a73fb57..0000000000 --- a/Misc/NEWS.d/next/Library/2018-04-24-13-18-48.bpo-33348.XaJDei.rst +++ /dev/null @@ -1,2 +0,0 @@ -lib2to3 now recognizes expressions after ``*`` and `**` like in ``f(*[] or -[])``. diff --git a/Misc/NEWS.d/next/Library/2018-09-23-14-24-37.bpo-34776.1SrQe3.rst b/Misc/NEWS.d/next/Library/2018-09-23-14-24-37.bpo-34776.1SrQe3.rst deleted file mode 100644 index 815a4876e0..0000000000 --- a/Misc/NEWS.d/next/Library/2018-09-23-14-24-37.bpo-34776.1SrQe3.rst +++ /dev/null @@ -1 +0,0 @@ -Fix dataclasses to support forward references in type annotations diff --git a/Misc/NEWS.d/next/Library/2019-05-06-15-34-17.bpo-36820.Eh5mIB.rst b/Misc/NEWS.d/next/Library/2019-05-06-15-34-17.bpo-36820.Eh5mIB.rst deleted file mode 100644 index 82f6635c81..0000000000 --- a/Misc/NEWS.d/next/Library/2019-05-06-15-34-17.bpo-36820.Eh5mIB.rst +++ /dev/null @@ -1,3 +0,0 @@ -Break cycle generated when saving an exception in socket.py, codeop.py and -dyld.py as they keep alive not only the exception but user objects through -the ``__traceback__`` attribute. Patch by Mario Corchero. diff --git a/Misc/NEWS.d/next/Library/2019-07-09-05-44-39.bpo-36993.4javqu.rst b/Misc/NEWS.d/next/Library/2019-07-09-05-44-39.bpo-36993.4javqu.rst deleted file mode 100644 index 009e07b92d..0000000000 --- a/Misc/NEWS.d/next/Library/2019-07-09-05-44-39.bpo-36993.4javqu.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve error reporting for corrupt zip files with bad zip64 extra data. Patch -by Daniel Hillier. diff --git a/Misc/NEWS.d/next/Library/2019-10-09-18-16-51.bpo-38422.aiM5bq.rst b/Misc/NEWS.d/next/Library/2019-10-09-18-16-51.bpo-38422.aiM5bq.rst deleted file mode 100644 index 0958fe265d..0000000000 --- a/Misc/NEWS.d/next/Library/2019-10-09-18-16-51.bpo-38422.aiM5bq.rst +++ /dev/null @@ -1 +0,0 @@ -Clarify docstrings of pathlib suffix(es) diff --git a/Misc/NEWS.d/next/Library/2019-10-15-09-47-40.bpo-33604.J12cWT.rst b/Misc/NEWS.d/next/Library/2019-10-15-09-47-40.bpo-33604.J12cWT.rst deleted file mode 100644 index fbd73003cf..0000000000 --- a/Misc/NEWS.d/next/Library/2019-10-15-09-47-40.bpo-33604.J12cWT.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed `hmac.new` and `hmac.HMAC` to raise TypeError instead of ValueError -when the digestmod parameter, now required in 3.8, is omitted. Also -clarified the hmac module documentation and docstrings. diff --git a/Misc/NEWS.d/next/Library/2019-10-15-11-37-57.bpo-38478.A87OPO.rst b/Misc/NEWS.d/next/Library/2019-10-15-11-37-57.bpo-38478.A87OPO.rst deleted file mode 100644 index b19fa23639..0000000000 --- a/Misc/NEWS.d/next/Library/2019-10-15-11-37-57.bpo-38478.A87OPO.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed a bug in :meth:`inspect.signature.bind` that was causing it to fail -when handling a keyword argument with same name as positional-only parameter. -Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Library/2019-10-18-13-57-31.bpo-38521.U-7aaM.rst b/Misc/NEWS.d/next/Library/2019-10-18-13-57-31.bpo-38521.U-7aaM.rst deleted file mode 100644 index 9335bdc954..0000000000 --- a/Misc/NEWS.d/next/Library/2019-10-18-13-57-31.bpo-38521.U-7aaM.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed erroneous equality comparison in statistics.NormalDist(). diff --git a/Misc/NEWS.d/next/Library/2019-10-20-12-04-48.bpo-31202.NfdIus.rst b/Misc/NEWS.d/next/Library/2019-10-20-12-04-48.bpo-31202.NfdIus.rst deleted file mode 100644 index 8edb09d613..0000000000 --- a/Misc/NEWS.d/next/Library/2019-10-20-12-04-48.bpo-31202.NfdIus.rst +++ /dev/null @@ -1,2 +0,0 @@ -The case the result of :func:`pathlib.WindowsPath.glob` matches now the case -of the pattern for literal parts. diff --git a/Misc/NEWS.d/next/Library/2019-10-23-16-25-12.bpo-34679.Bnw8o3.rst b/Misc/NEWS.d/next/Library/2019-10-23-16-25-12.bpo-34679.Bnw8o3.rst deleted file mode 100644 index 34334db603..0000000000 --- a/Misc/NEWS.d/next/Library/2019-10-23-16-25-12.bpo-34679.Bnw8o3.rst +++ /dev/null @@ -1,2 +0,0 @@ -asynci.ProactorEventLoop.close() now only calls signal.set_wakeup_fd() in the -main thread. diff --git a/Misc/NEWS.d/next/Library/2019-10-27-00-08-49.bpo-38334.pfLLmc.rst b/Misc/NEWS.d/next/Library/2019-10-27-00-08-49.bpo-38334.pfLLmc.rst deleted file mode 100644 index 0d05d3f6e6..0000000000 --- a/Misc/NEWS.d/next/Library/2019-10-27-00-08-49.bpo-38334.pfLLmc.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed seeking backward on an encrypted :class:`zipfile.ZipExtFile`. diff --git a/Misc/NEWS.d/next/Library/2019-11-06-15-26-15.bpo-38686.HNFBce.rst b/Misc/NEWS.d/next/Library/2019-11-06-15-26-15.bpo-38686.HNFBce.rst deleted file mode 100644 index 7a419ff1e3..0000000000 --- a/Misc/NEWS.d/next/Library/2019-11-06-15-26-15.bpo-38686.HNFBce.rst +++ /dev/null @@ -1 +0,0 @@ -Added support for multiple ``qop`` values in :class:`urllib.request.AbstractDigestAuthHandler`.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2019-11-11-21-43-06.bpo-27805.D3zl1_.rst b/Misc/NEWS.d/next/Library/2019-11-11-21-43-06.bpo-27805.D3zl1_.rst deleted file mode 100644 index 37be6a5d0b..0000000000 --- a/Misc/NEWS.d/next/Library/2019-11-11-21-43-06.bpo-27805.D3zl1_.rst +++ /dev/null @@ -1,2 +0,0 @@ -Allow opening pipes and other non-seekable files in append mode with -:func:`open`. diff --git a/Misc/NEWS.d/next/Library/2019-11-12-15-46-28.bpo-38723.gcdMFn.rst b/Misc/NEWS.d/next/Library/2019-11-12-15-46-28.bpo-38723.gcdMFn.rst deleted file mode 100644 index c84bb8589d..0000000000 --- a/Misc/NEWS.d/next/Library/2019-11-12-15-46-28.bpo-38723.gcdMFn.rst +++ /dev/null @@ -1 +0,0 @@ -:mod:`pdb` now uses :meth:`io.open_code` to trigger auditing events. diff --git a/Misc/NEWS.d/next/Library/2019-11-13-16-17-43.bpo-38785.NEOEfk.rst b/Misc/NEWS.d/next/Library/2019-11-13-16-17-43.bpo-38785.NEOEfk.rst deleted file mode 100644 index 49e9937998..0000000000 --- a/Misc/NEWS.d/next/Library/2019-11-13-16-17-43.bpo-38785.NEOEfk.rst +++ /dev/null @@ -1,2 +0,0 @@ -Prevent asyncio from crashing if parent ``__init__`` is not called from a -constructor of object derived from ``asyncio.Future``. diff --git a/Misc/NEWS.d/next/Library/2019-11-15-09-30-29.bpo-38807.PsmRog.rst b/Misc/NEWS.d/next/Library/2019-11-15-09-30-29.bpo-38807.PsmRog.rst deleted file mode 100644 index 2bd7e3deb1..0000000000 --- a/Misc/NEWS.d/next/Library/2019-11-15-09-30-29.bpo-38807.PsmRog.rst +++ /dev/null @@ -1 +0,0 @@ -Update :exc:`TypeError` messages for :meth:`os.path.join` to include :class:`os.PathLike` objects as acceptable input types.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2019-11-16-16-09-07.bpo-38820.ivhUSV.rst b/Misc/NEWS.d/next/Library/2019-11-16-16-09-07.bpo-38820.ivhUSV.rst deleted file mode 100644 index 2c6a6e853c..0000000000 --- a/Misc/NEWS.d/next/Library/2019-11-16-16-09-07.bpo-38820.ivhUSV.rst +++ /dev/null @@ -1,2 +0,0 @@ -Make Python compatible with OpenSSL 3.0.0. :func:`ssl.SSLSocket.getpeercert` -no longer returns IPv6 addresses with a trailing new line. diff --git a/Misc/NEWS.d/next/Library/2019-11-16-23-26-25.bpo-38821.-albNN.rst b/Misc/NEWS.d/next/Library/2019-11-16-23-26-25.bpo-38821.-albNN.rst deleted file mode 100644 index 2e7a22f661..0000000000 --- a/Misc/NEWS.d/next/Library/2019-11-16-23-26-25.bpo-38821.-albNN.rst +++ /dev/null @@ -1 +0,0 @@ -Fix unhandled exceptions in :mod:`argparse` when internationalizing error messages for arguments with ``nargs`` set to special (non-integer) values. Patch by Federico Bond. diff --git a/Misc/NEWS.d/next/Library/2019-11-19-16-28-25.bpo-38857.YPUkU9.rst b/Misc/NEWS.d/next/Library/2019-11-19-16-28-25.bpo-38857.YPUkU9.rst deleted file mode 100644 index f28df2811f..0000000000 --- a/Misc/NEWS.d/next/Library/2019-11-19-16-28-25.bpo-38857.YPUkU9.rst +++ /dev/null @@ -1,4 +0,0 @@ -AsyncMock fix for return values that are awaitable types. This also covers -side_effect iterable values that happend to be awaitable, and wraps -callables that return an awaitable type. Before these awaitables were being -awaited instead of being returned as is. diff --git a/Misc/NEWS.d/next/Library/2019-11-19-16-30-46.bpo-38859.AZUzL8.rst b/Misc/NEWS.d/next/Library/2019-11-19-16-30-46.bpo-38859.AZUzL8.rst deleted file mode 100644 index c059539a1d..0000000000 --- a/Misc/NEWS.d/next/Library/2019-11-19-16-30-46.bpo-38859.AZUzL8.rst +++ /dev/null @@ -1,3 +0,0 @@ -AsyncMock now returns StopAsyncIteration on the exaustion of a side_effects -iterable. Since PEP-479 its Impossible to raise a StopIteration exception -from a coroutine. diff --git a/Misc/NEWS.d/next/Library/2019-11-21-11-39-17.bpo-37838.lRFcEC.rst b/Misc/NEWS.d/next/Library/2019-11-21-11-39-17.bpo-37838.lRFcEC.rst deleted file mode 100644 index 96d804adde..0000000000 --- a/Misc/NEWS.d/next/Library/2019-11-21-11-39-17.bpo-37838.lRFcEC.rst +++ /dev/null @@ -1 +0,0 @@ -:meth:`typing.get_type_hints` properly handles functions decorated with :meth:`functools.wraps`. diff --git a/Misc/NEWS.d/next/Library/2019-11-22-10-45-03.bpo-38668.iKx23z.rst b/Misc/NEWS.d/next/Library/2019-11-22-10-45-03.bpo-38668.iKx23z.rst deleted file mode 100644 index 28b82ab161..0000000000 --- a/Misc/NEWS.d/next/Library/2019-11-22-10-45-03.bpo-38668.iKx23z.rst +++ /dev/null @@ -1,5 +0,0 @@ -Calling func:`shutil.copytree` to copy a directory tree from one directory -to another subdirectory resulted in an endless loop and a RecursionError. A -fix was added to consume an iterator and create the list of the entries to -be copied, avoiding the recursion for newly created directories. Patch by -Bruno P. Kinoshita. diff --git a/Misc/NEWS.d/next/Library/2019-11-27-16-30-02.bpo-26730.56cdBn.rst b/Misc/NEWS.d/next/Library/2019-11-27-16-30-02.bpo-26730.56cdBn.rst deleted file mode 100644 index a92b90a495..0000000000 --- a/Misc/NEWS.d/next/Library/2019-11-27-16-30-02.bpo-26730.56cdBn.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix ``SpooledTemporaryFile.rollover()`` might corrupt the file when it is in -text mode. Patch by Serhiy Storchaka. diff --git a/Misc/NEWS.d/next/Library/2019-12-02-10-35-19.bpo-38698.WZnAPQ.rst b/Misc/NEWS.d/next/Library/2019-12-02-10-35-19.bpo-38698.WZnAPQ.rst deleted file mode 100644 index e606acb5dc..0000000000 --- a/Misc/NEWS.d/next/Library/2019-12-02-10-35-19.bpo-38698.WZnAPQ.rst +++ /dev/null @@ -1,5 +0,0 @@ -Prevent UnboundLocalError to pop up in parse_message_id - -parse_message_id() was improperly using a token defined inside an exception -handler, which was raising `UnboundLocalError` on parsing an invalid value. -Patch by Claudiu Popa. diff --git a/Misc/NEWS.d/next/Library/2019-12-04-15-28-40.bpo-33684.QeSmQP.rst b/Misc/NEWS.d/next/Library/2019-12-04-15-28-40.bpo-33684.QeSmQP.rst deleted file mode 100644 index 107f9bb008..0000000000 --- a/Misc/NEWS.d/next/Library/2019-12-04-15-28-40.bpo-33684.QeSmQP.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix ``json.tool`` failed to read a JSON file with non-ASCII characters when -locale encoding is not UTF-8. diff --git a/Misc/NEWS.d/next/Library/2019-12-04-15-56-28.bpo-38634.pq0ZWa.rst b/Misc/NEWS.d/next/Library/2019-12-04-15-56-28.bpo-38634.pq0ZWa.rst deleted file mode 100644 index d60c3172c2..0000000000 --- a/Misc/NEWS.d/next/Library/2019-12-04-15-56-28.bpo-38634.pq0ZWa.rst +++ /dev/null @@ -1,2 +0,0 @@ -The :mod:`readline` module now detects if Python is linked to libedit at runtime -on all platforms. Previously, the check was only done on macOS. diff --git a/Misc/NEWS.d/next/Library/2019-12-05-16-13-25.bpo-38529.yvQgx3.rst b/Misc/NEWS.d/next/Library/2019-12-05-16-13-25.bpo-38529.yvQgx3.rst deleted file mode 100644 index c688926b4a..0000000000 --- a/Misc/NEWS.d/next/Library/2019-12-05-16-13-25.bpo-38529.yvQgx3.rst +++ /dev/null @@ -1,2 +0,0 @@ -Drop too noisy asyncio warning about deletion of a stream without explicit -``.close()`` call. diff --git a/Misc/NEWS.d/next/Library/2019-12-06-15-11-42.bpo-38986.bg6iZt.rst b/Misc/NEWS.d/next/Library/2019-12-06-15-11-42.bpo-38986.bg6iZt.rst deleted file mode 100644 index 777535299b..0000000000 --- a/Misc/NEWS.d/next/Library/2019-12-06-15-11-42.bpo-38986.bg6iZt.rst +++ /dev/null @@ -1,2 +0,0 @@ -Make repr of C accelerated TaskWakeupMethWrapper the same as of pure Python -version. diff --git a/Misc/NEWS.d/next/Library/2019-12-07-16-32-42.bpo-38979.q0sIHy.rst b/Misc/NEWS.d/next/Library/2019-12-07-16-32-42.bpo-38979.q0sIHy.rst deleted file mode 100644 index 6a91a12e49..0000000000 --- a/Misc/NEWS.d/next/Library/2019-12-07-16-32-42.bpo-38979.q0sIHy.rst +++ /dev/null @@ -1 +0,0 @@ -Return class from ``ContextVar.__class_getitem__`` to simplify subclassing. diff --git a/Misc/NEWS.d/next/Library/2019-12-07-21-49-50.bpo-38698.HxoSym.rst b/Misc/NEWS.d/next/Library/2019-12-07-21-49-50.bpo-38698.HxoSym.rst deleted file mode 100644 index b930dea0fa..0000000000 --- a/Misc/NEWS.d/next/Library/2019-12-07-21-49-50.bpo-38698.HxoSym.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add a new ``InvalidMessageID`` token to email parser to represent invalid -Message-ID headers. Also, add defects when there is remaining value after -parsing the header. diff --git a/Misc/NEWS.d/next/Library/2019-12-07-22-25-39.bpo-38708.rZTUfk.rst b/Misc/NEWS.d/next/Library/2019-12-07-22-25-39.bpo-38708.rZTUfk.rst deleted file mode 100644 index 23a0a46d1f..0000000000 --- a/Misc/NEWS.d/next/Library/2019-12-07-22-25-39.bpo-38708.rZTUfk.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a potential IndexError in email parser when parsing an empty msg-id. diff --git a/Misc/NEWS.d/next/Library/2019-12-09-14-40-09.bpo-39006.v4VsPg.rst b/Misc/NEWS.d/next/Library/2019-12-09-14-40-09.bpo-39006.v4VsPg.rst deleted file mode 100644 index 8402845a5a..0000000000 --- a/Misc/NEWS.d/next/Library/2019-12-09-14-40-09.bpo-39006.v4VsPg.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix asyncio when the ssl module is missing: only check for ssl.SSLSocket -instance if the ssl module is available. diff --git a/Misc/NEWS.d/next/Security/2019-10-08-19-29-55.bpo-38418.QL7s0-.rst b/Misc/NEWS.d/next/Security/2019-10-08-19-29-55.bpo-38418.QL7s0-.rst deleted file mode 100644 index b42a00047b..0000000000 --- a/Misc/NEWS.d/next/Security/2019-10-08-19-29-55.bpo-38418.QL7s0-.rst +++ /dev/null @@ -1 +0,0 @@ -Fixes audit event for :func:`os.system` to be named ``os.system``. diff --git a/Misc/NEWS.d/next/Security/2019-11-14-16-13-23.bpo-38622.3DYkfb.rst b/Misc/NEWS.d/next/Security/2019-11-14-16-13-23.bpo-38622.3DYkfb.rst deleted file mode 100644 index 0373c14d0a..0000000000 --- a/Misc/NEWS.d/next/Security/2019-11-14-16-13-23.bpo-38622.3DYkfb.rst +++ /dev/null @@ -1 +0,0 @@ -Add additional audit events for the :mod:`ctypes` module. diff --git a/Misc/NEWS.d/next/Security/2019-11-15-00-54-42.bpo-38804.vjbM8V.rst b/Misc/NEWS.d/next/Security/2019-11-15-00-54-42.bpo-38804.vjbM8V.rst deleted file mode 100644 index 1f45142d9f..0000000000 --- a/Misc/NEWS.d/next/Security/2019-11-15-00-54-42.bpo-38804.vjbM8V.rst +++ /dev/null @@ -1 +0,0 @@ -Fixes a ReDoS vulnerability in :mod:`http.cookiejar`. Patch by Ben Caller. diff --git a/Misc/NEWS.d/next/Security/2019-11-18-16-17-56.bpo-38722.x3mECW.rst b/Misc/NEWS.d/next/Security/2019-11-18-16-17-56.bpo-38722.x3mECW.rst deleted file mode 100644 index 0277d3e568..0000000000 --- a/Misc/NEWS.d/next/Security/2019-11-18-16-17-56.bpo-38722.x3mECW.rst +++ /dev/null @@ -1,2 +0,0 @@ -:mod:`runpy` now uses :meth:`io.open_code` to open code files. -Patch by Jason Killen. diff --git a/Misc/NEWS.d/next/Security/2019-11-21-21-36-54.bpo-37228.yBZnFG.rst b/Misc/NEWS.d/next/Security/2019-11-21-21-36-54.bpo-37228.yBZnFG.rst deleted file mode 100644 index 0fafb63402..0000000000 --- a/Misc/NEWS.d/next/Security/2019-11-21-21-36-54.bpo-37228.yBZnFG.rst +++ /dev/null @@ -1,6 +0,0 @@ -Due to significant security concerns, the *reuse_address* parameter of
-:meth:`asyncio.loop.create_datagram_endpoint` is no longer supported. This is
-because of the behavior of ``SO_REUSEADDR`` in UDP. For more details, see the
-documentation for ``loop.create_datagram_endpoint()``.
-(Contributed by Kyle Stanley, Antoine Pitrou, and Yury Selivanov in
-:issue:`37228`.)
diff --git a/Misc/NEWS.d/next/Security/2019-12-01-22-44-40.bpo-38945.ztmNXc.rst b/Misc/NEWS.d/next/Security/2019-12-01-22-44-40.bpo-38945.ztmNXc.rst deleted file mode 100644 index 1bf6ed567b..0000000000 --- a/Misc/NEWS.d/next/Security/2019-12-01-22-44-40.bpo-38945.ztmNXc.rst +++ /dev/null @@ -1 +0,0 @@ -Newline characters have been escaped when performing uu encoding to prevent them from overflowing into to content section of the encoded file. This prevents malicious or accidental modification of data during the decoding process.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Tests/2019-10-16-01-36-15.bpo-35998.G305Bf.rst b/Misc/NEWS.d/next/Tests/2019-10-16-01-36-15.bpo-35998.G305Bf.rst deleted file mode 100644 index 43d3942fd0..0000000000 --- a/Misc/NEWS.d/next/Tests/2019-10-16-01-36-15.bpo-35998.G305Bf.rst +++ /dev/null @@ -1,5 +0,0 @@ -Fix a race condition in test_asyncio.test_start_tls_server_1(). Previously, -there was a race condition between the test main() function which replaces the -protocol and the test ServerProto protocol which sends ANSWER once it gets -HELLO. Now, only the test main() function is responsible to send data, -ServerProto no longer sends data. diff --git a/Misc/NEWS.d/next/Tests/2019-11-04-02-54-16.bpo-38669.pazXZ8.rst b/Misc/NEWS.d/next/Tests/2019-11-04-02-54-16.bpo-38669.pazXZ8.rst deleted file mode 100644 index 5060ecf2dc..0000000000 --- a/Misc/NEWS.d/next/Tests/2019-11-04-02-54-16.bpo-38669.pazXZ8.rst +++ /dev/null @@ -1 +0,0 @@ -Raise :exc:`TypeError` when passing target as a string with :meth:`unittest.mock.patch.object`.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Tests/2019-11-20-16-08-19.bpo-38841.5F5Lbw.rst b/Misc/NEWS.d/next/Tests/2019-11-20-16-08-19.bpo-38841.5F5Lbw.rst deleted file mode 100644 index 1f4ae424bb..0000000000 --- a/Misc/NEWS.d/next/Tests/2019-11-20-16-08-19.bpo-38841.5F5Lbw.rst +++ /dev/null @@ -1,2 +0,0 @@ -Skip asyncio test_create_datagram_endpoint_existing_sock_unix on platforms -lacking a functional bind() for named unix domain sockets. diff --git a/Misc/NEWS.d/next/Tests/2019-11-21-09-11-06.bpo-38875.wSZJal.rst b/Misc/NEWS.d/next/Tests/2019-11-21-09-11-06.bpo-38875.wSZJal.rst deleted file mode 100644 index 3f6c86d322..0000000000 --- a/Misc/NEWS.d/next/Tests/2019-11-21-09-11-06.bpo-38875.wSZJal.rst +++ /dev/null @@ -1 +0,0 @@ -test_capi: trashcan tests now require the test "cpu" resource. diff --git a/Misc/NEWS.d/next/Tests/2019-12-04-17-08-55.bpo-38965.yqax3m.rst b/Misc/NEWS.d/next/Tests/2019-12-04-17-08-55.bpo-38965.yqax3m.rst deleted file mode 100644 index 517a1371ea..0000000000 --- a/Misc/NEWS.d/next/Tests/2019-12-04-17-08-55.bpo-38965.yqax3m.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix test_faulthandler on GCC 10. Use the "volatile" keyword in -``faulthandler._stack_overflow()`` to prevent tail call optimization on any -compiler, rather than relying on compiler specific pragma. diff --git a/Misc/NEWS.d/next/Tests/2019-12-08-15-11-06.bpo-38992.cVoHOZ.rst b/Misc/NEWS.d/next/Tests/2019-12-08-15-11-06.bpo-38992.cVoHOZ.rst deleted file mode 100644 index 815ae0f65c..0000000000 --- a/Misc/NEWS.d/next/Tests/2019-12-08-15-11-06.bpo-38992.cVoHOZ.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a test for :func:`math.fsum` that was failing due to constant folding. diff --git a/Misc/NEWS.d/next/Tests/2019-12-09-11-32-34.bpo-38547.Juw54e.rst b/Misc/NEWS.d/next/Tests/2019-12-09-11-32-34.bpo-38547.Juw54e.rst deleted file mode 100644 index 10f3cc0851..0000000000 --- a/Misc/NEWS.d/next/Tests/2019-12-09-11-32-34.bpo-38547.Juw54e.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix test_pty: if the process is the session leader, closing the master file -descriptor raises a SIGHUP signal: simply ignore SIGHUP when running the -tests. diff --git a/Misc/NEWS.d/next/Windows/2019-10-16-09-49-09.bpo-38492.Te1LxC.rst b/Misc/NEWS.d/next/Windows/2019-10-16-09-49-09.bpo-38492.Te1LxC.rst deleted file mode 100644 index 41fe695413..0000000000 --- a/Misc/NEWS.d/next/Windows/2019-10-16-09-49-09.bpo-38492.Te1LxC.rst +++ /dev/null @@ -1 +0,0 @@ -Remove ``pythonw.exe`` dependency on the Microsoft C++ runtime. diff --git a/Misc/NEWS.d/next/Windows/2019-10-28-05-01-29.bpo-38519.dCkY66.rst b/Misc/NEWS.d/next/Windows/2019-10-28-05-01-29.bpo-38519.dCkY66.rst deleted file mode 100644 index 56d8bb2b34..0000000000 --- a/Misc/NEWS.d/next/Windows/2019-10-28-05-01-29.bpo-38519.dCkY66.rst +++ /dev/null @@ -1,2 +0,0 @@ -Restores the internal C headers that were missing from the nuget.org and -Microsoft Store packages. diff --git a/Misc/NEWS.d/next/Windows/2019-10-28-10-32-43.bpo-38453.NwwatW.rst b/Misc/NEWS.d/next/Windows/2019-10-28-10-32-43.bpo-38453.NwwatW.rst deleted file mode 100644 index deacb03c6f..0000000000 --- a/Misc/NEWS.d/next/Windows/2019-10-28-10-32-43.bpo-38453.NwwatW.rst +++ /dev/null @@ -1 +0,0 @@ -Ensure ntpath.realpath() correctly resolves relative paths. diff --git a/Misc/NEWS.d/next/Windows/2019-10-28-10-48-16.bpo-38589.V69Q1a.rst b/Misc/NEWS.d/next/Windows/2019-10-28-10-48-16.bpo-38589.V69Q1a.rst deleted file mode 100644 index e864290723..0000000000 --- a/Misc/NEWS.d/next/Windows/2019-10-28-10-48-16.bpo-38589.V69Q1a.rst +++ /dev/null @@ -1 +0,0 @@ -Fixes HTML Help shortcut when Windows is not installed to C drive diff --git a/Misc/NEWS.d/next/Windows/2019-11-14-08-57-50.bpo-33125.EN5MWS.rst b/Misc/NEWS.d/next/Windows/2019-11-14-08-57-50.bpo-33125.EN5MWS.rst deleted file mode 100644 index 0bc98c1a2f..0000000000 --- a/Misc/NEWS.d/next/Windows/2019-11-14-08-57-50.bpo-33125.EN5MWS.rst +++ /dev/null @@ -1 +0,0 @@ -Add support for building and releasing Windows ARM64 packages. diff --git a/Misc/NEWS.d/next/macOS/2019-08-23-12-14-34.bpo-37931.goYgQj.rst b/Misc/NEWS.d/next/macOS/2019-08-23-12-14-34.bpo-37931.goYgQj.rst deleted file mode 100644 index 45b54e89cb..0000000000 --- a/Misc/NEWS.d/next/macOS/2019-08-23-12-14-34.bpo-37931.goYgQj.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed a crash on OSX dynamic builds that occurred when re-initializing the -posix module after a Py_Finalize if the environment had changed since the -previous `import posix`. Patch by Benoît Hudson. |