diff options
57 files changed, 555 insertions, 120 deletions
diff --git a/Include/patchlevel.h b/Include/patchlevel.h index 91efd27..d708a57 100644 --- a/Include/patchlevel.h +++ b/Include/patchlevel.h @@ -20,10 +20,10 @@ #define PY_MINOR_VERSION 8 #define PY_MICRO_VERSION 0 #define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA -#define PY_RELEASE_SERIAL 1 +#define PY_RELEASE_SERIAL 2 /* Version as a string */ -#define PY_VERSION "3.8.0a1+" +#define PY_VERSION "3.8.0a2" /*--end constants--*/ /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2. diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py index 4310ca5..c2f9fa8 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Autogenerated by Sphinx on Sun Feb 3 14:00:19 2019 +# Autogenerated by Sphinx on Mon Feb 25 13:03:43 2019 topics = {'assert': 'The "assert" statement\n' '**********************\n' '\n' @@ -962,7 +962,8 @@ topics = {'assert': 'The "assert" statement\n' 'in a parent.)\n' '\n' 'The space saved over using *__dict__* can be ' - 'significant.\n' + 'significant. Attribute\n' + 'lookup speed can be significantly improved as well.\n' '\n' 'object.__slots__\n' '\n' @@ -8572,7 +8573,9 @@ topics = {'assert': 'The "assert" statement\n' '(unless explicitly declared in *__slots__* or available in a ' 'parent.)\n' '\n' - 'The space saved over using *__dict__* can be significant.\n' + 'The space saved over using *__dict__* can be significant. ' + 'Attribute\n' + 'lookup speed can be significantly improved as well.\n' '\n' 'object.__slots__\n' '\n' @@ -11394,7 +11397,8 @@ topics = {'assert': 'The "assert" statement\n' ' Additional information about a function’s definition can be\n' ' retrieved from its code object; see the description of ' 'internal\n' - ' types below.\n' + ' types below. The "cell" type can be accessed in the "types"\n' + ' module.\n' '\n' ' Instance methods\n' ' An instance method object combines a class, a class instance ' diff --git a/Misc/NEWS.d/3.8.0a2.rst b/Misc/NEWS.d/3.8.0a2.rst new file mode 100644 index 0000000..4bf2269 --- /dev/null +++ b/Misc/NEWS.d/3.8.0a2.rst @@ -0,0 +1,544 @@ +.. bpo: 36052 +.. date: 2019-02-20-17-57-31 +.. nonce: l8lJSi +.. release date: 2019-02-25 +.. section: Core and Builtins + +Raise a :exc:`SyntaxError` when assigning a value to `__debug__` with the +Assignment Operator. Contributed by Stéphane Wirtel and Pablo Galindo. + +.. + +.. bpo: 36012 +.. date: 2019-02-19-10-47-51 +.. nonce: xq7C9E +.. section: Core and Builtins + +Doubled the speed of class variable writes. When a non-dunder attribute was +updated, there was an unnecessary call to update slots. + +.. + +.. bpo: 35942 +.. date: 2019-02-18-09-30-55 +.. nonce: oLhL2v +.. section: Core and Builtins + +The error message emmited when returning invalid types from ``__fspath__`` +in interfaces that allow passing :class:`~os.PathLike` objects has been +improved and now it does explain the origin of the error. + +.. + +.. bpo: 36016 +.. date: 2019-02-17-20-23-54 +.. nonce: 5Hns-f +.. section: Core and Builtins + +``gc.get_objects`` can now receive an optional parameter indicating a +generation to get objects from. Patch by Pablo Galindo. + +.. + +.. bpo: 1054041 +.. date: 2019-02-16-00-42-32 +.. nonce: BL-WLd +.. section: Core and Builtins + +When the main interpreter exits due to an uncaught KeyboardInterrupt, the +process now exits in the appropriate manner for its parent process to detect +that a SIGINT or ^C terminated the process. This allows shells and batch +scripts to understand that the user has asked them to stop. + +.. + +.. bpo: 35992 +.. date: 2019-02-14-12-01-44 +.. nonce: nG9e2L +.. section: Core and Builtins + +Fix ``__class_getitem__()`` not being called on a class with a custom +non-subscriptable metaclass. + +.. + +.. bpo: 35993 +.. date: 2019-02-14-09-17-54 +.. nonce: Bvm3fP +.. section: Core and Builtins + +Fix a crash on fork when using subinterpreters. Contributed by Stéphane +Wirtel + +.. + +.. bpo: 35991 +.. date: 2019-02-14-00-00-30 +.. nonce: xlbfSk +.. section: Core and Builtins + +Fix a potential double free in Modules/_randommodule.c. + +.. + +.. bpo: 35961 +.. date: 2019-02-12-20-16-34 +.. nonce: 7f7Sne +.. section: Core and Builtins + +Fix a crash in slice_richcompare(): use strong references rather than stolen +references for the two temporary internal tuples. + +.. + +.. bpo: 35911 +.. date: 2019-02-06-17-50-59 +.. nonce: oiWE8 +.. section: Core and Builtins + +Enable the creation of cell objects by adding a ``cell.__new__`` method, and +expose the type ``cell`` in ``Lib/types.py`` under the name CellType. Patch +by Pierre Glaser. + +.. + +.. bpo: 12822 +.. date: 2019-02-05-12-48-23 +.. nonce: 0x2NDx +.. section: Core and Builtins + +Use monotonic clock for ``pthread_cond_timedwait`` when +``pthread_condattr_setclock`` and ``CLOCK_MONOTONIC`` are available. + +.. + +.. bpo: 15248 +.. date: 2019-02-04-21-10-17 +.. nonce: 2sXSZZ +.. section: Core and Builtins + +The compiler emits now syntax warnings in the case when a comma is likely +missed before tuple or list. + +.. + +.. bpo: 35886 +.. date: 2019-02-01-18-12-14 +.. nonce: 0Z-C0V +.. section: Core and Builtins + +The implementation of PyInterpreterState has been moved into the internal +header files (guarded by Py_BUILD_CORE). + +.. + +.. bpo: 31506 +.. date: 2019-01-22-02-06-39 +.. nonce: eJ5FpV +.. section: Core and Builtins + +Clarify the errors reported when ``object.__new__`` and ``object.__init__`` +receive more than one argument. Contributed by Sanyam Khurana. + +.. + +.. bpo: 35724 +.. date: 2019-01-11-14-46-08 +.. nonce: Wv79MG +.. section: Core and Builtins + +Signal-handling is now guaranteed to happen relative to the main +interpreter. + +.. + +.. bpo: 33608 +.. date: 2018-09-15-12-13-46 +.. nonce: avmvVP +.. section: Core and Builtins + +We added a new internal _Py_AddPendingCall() that operates relative to the +provided interpreter. This allows us to use the existing implementation to +ask another interpreter to do work that cannot be done in the current +interpreter, like decref an object the other interpreter owns. The existing +Py_AddPendingCall() only operates relative to the main interpreter. + +.. + +.. bpo: 33989 +.. date: 2018-08-08-20-52-55 +.. nonce: TkLBui +.. section: Core and Builtins + +Fix a possible crash in :meth:`list.sort` when sorting objects with +``ob_type->tp_richcompare == NULL``. Patch by Zackery Spytz. + +.. + +.. bpo: 35512 +.. date: 2019-02-24-00-04-10 +.. nonce: eWDjCJ +.. section: Library + +:func:`unittest.mock.patch.dict` used as a decorator with string target +resolves the target during function call instead of during decorator +construction. Patch by Karthikeyan Singaravelan. + +.. + +.. bpo: 36018 +.. date: 2019-02-21-15-47-00 +.. nonce: qt7QUe +.. section: Library + +Add statistics.NormalDist, a tool for creating and manipulating normal +distributions of random variable. Features a composite class that treats +the mean and standard deviation of measurement data as single entity. + +.. + +.. bpo: 35904 +.. date: 2019-02-16-00-55-52 +.. nonce: V88MCD +.. section: Library + +Added statistics.fmean() as a faster, floating point variant of the existing +mean() function. + +.. + +.. bpo: 35918 +.. date: 2019-02-11-16-23-10 +.. nonce: oGDlpT +.. section: Library + +Removed broken ``has_key`` method from +multiprocessing.managers.SyncManager.dict. Contributed by Rémi Lapeyre. + +.. + +.. bpo: 18283 +.. date: 2019-02-11-09-24-08 +.. nonce: BT3Jhc +.. section: Library + +Add support for bytes to :func:`shutil.which`. + +.. + +.. bpo: 35960 +.. date: 2019-02-10-20-57-12 +.. nonce: bh-6Ja +.. section: Library + +Fix :func:`dataclasses.field` throwing away empty mapping objects passed as +metadata. + +.. + +.. bpo: 35500 +.. date: 2019-02-10-00-00-13 +.. nonce: 1HOMmo +.. section: Library + +Write expected and actual call parameters on separate lines in +:meth:`unittest.mock.Mock.assert_called_with` assertion errors. Contributed +by Susan Su. + +.. + +.. bpo: 35931 +.. date: 2019-02-07-16-22-50 +.. nonce: _63i7B +.. section: Library + +The :mod:`pdb` ``debug`` command now gracefully handles syntax errors. + +.. + +.. bpo: 24209 +.. date: 2019-02-06-01-40-55 +.. nonce: awtwPD +.. section: Library + +In http.server script, rely on getaddrinfo to bind to preferred address +based on the bind parameter. Now default bind or binding to a name may bind +to IPv6 or dual-stack, depending on the environment. + +.. + +.. bpo: 35321 +.. date: 2019-02-02-01-53-36 +.. nonce: 1Y4DU4 +.. section: Library + +Set ``__spec__.origin`` of ``_frozen_importlib`` to frozen so that it +matches the behavior of ``_frozen_importlib_external``. Patch by Nina +Zakharenko. + +.. + +.. bpo: 35378 +.. date: 2019-01-21-02-15-20 +.. nonce: 4oF03i +.. section: Library + +Fix a reference issue inside :class:`multiprocessing.Pool` that caused the +pool to remain alive if it was deleted without being closed or terminated +explicitly. A new strong reference is added to the pool iterators to link +the lifetime of the pool to the lifetime of its iterators so the pool does +not get destroyed if a pool iterator is still alive. + +.. + +.. bpo: 34294 +.. date: 2019-01-14-11-53-10 +.. nonce: 3JFdg2 +.. section: Library + +re module, fix wrong capturing groups in rare cases. :func:`re.search`, +:func:`re.findall`, :func:`re.sub` and other functions that scan through +string looking for a match, should reset capturing groups between two match +attempts. Patch by Ma Lin. + +.. + +.. bpo: 35615 +.. date: 2018-12-30-20-00-05 +.. nonce: Uz1SVh +.. section: Library + +:mod:`weakref`: Fix a RuntimeError when copying a WeakKeyDictionary or a +WeakValueDictionary, due to some keys or values disappearing while +iterating. + +.. + +.. bpo: 35606 +.. date: 2018-12-29-21-59-03 +.. nonce: NjGjou +.. section: Library + +Implement :func:`math.prod` as analogous function to :func:`sum` that +returns the product of a 'start' value (default: 1) times an iterable of +numbers. Patch by Pablo Galindo. + +.. + +.. bpo: 32417 +.. date: 2018-12-04-13-35-36 +.. nonce: _Y9SKM +.. section: Library + +Performing arithmetic between :class:`datetime.datetime` subclasses and +:class:`datetime.timedelta` now returns an object of the same type as the +:class:`datetime.datetime` subclass. As a result, +:meth:`datetime.datetime.astimezone` and alternate constructors like +:meth:`datetime.datetime.now` and :meth:`datetime.fromtimestamp` called with +a ``tz`` argument now *also* retain their subclass. + +.. + +.. bpo: 35153 +.. date: 2018-11-03-12-38-03 +.. nonce: 009pdF +.. section: Library + +Add *headers* optional keyword-only parameter to +:class:`xmlrpc.client.ServerProxy`, :class:`xmlrpc.client.Transport` and +:class:`xmlrpc.client.SafeTransport`. Patch by Cédric Krier. + +.. + +.. bpo: 34572 +.. date: 2018-09-05-03-02-32 +.. nonce: ayisd2 +.. section: Library + +Fix C implementation of pickle.loads to use importlib's locking mechanisms, +and thereby avoid using partially-loaded modules. Patch by Tim Burgess. + +.. + +.. bpo: 36083 +.. date: 2019-02-24-12-40-13 +.. nonce: JX7zbv +.. section: Documentation + +Fix formatting of --check-hash-based-pycs options in the manpage Synopsis. + +.. + +.. bpo: 36007 +.. date: 2019-02-15-15-33-41 +.. nonce: OTFrza +.. section: Documentation + +Bump minimum sphinx version to 1.8. Patch by Anthony Sottile. + +.. + +.. bpo: 22062 +.. date: 2018-07-28-12-41-01 +.. nonce: TaN2hn +.. section: Documentation + +Update documentation and docstrings for pathlib. Original patch by Mike +Short. + +.. + +.. bpo: 27313 +.. date: 2019-02-24-01-58-38 +.. nonce: Sj9veH +.. section: Tests + +Avoid test_ttk_guionly ComboboxTest failure with macOS Cocoa Tk. + +.. + +.. bpo: 36019 +.. date: 2019-02-21-14-23-51 +.. nonce: zS_OUi +.. section: Tests + +Add test.support.TEST_HTTP_URL and replace references of +http://www.example.com by this new constant. Contributed by Stéphane Wirtel. + +.. + +.. bpo: 36037 +.. date: 2019-02-19-15-21-14 +.. nonce: 75wG9_ +.. section: Tests + +Fix test_ssl for strict OpenSSL configuration like RHEL8 strict crypto +policy. Use older TLS version for minimum TLS version of the server SSL +context if needed, to test TLS version older than default minimum TLS +version. + +.. + +.. bpo: 35798 +.. date: 2019-02-16-15-19-31 +.. nonce: JF16MP +.. section: Tests + +Added :func:`test.support.check_syntax_warning`. + +.. + +.. bpo: 35505 +.. date: 2019-02-12-01-33-08 +.. nonce: N9ba_K +.. section: Tests + +Make test_imap4_host_default_value independent on whether the local IMAP +server is running. + +.. + +.. bpo: 35917 +.. date: 2019-02-06-18-06-16 +.. nonce: -Clv1L +.. section: Tests + +multiprocessing: provide unit tests for SyncManager and SharedMemoryManager +classes + all the shareable types which are supposed to be supported by +them. (patch by Giampaolo Rodola) + +.. + +.. bpo: 35704 +.. date: 2019-01-10-09-14-58 +.. nonce: FLglYo +.. section: Tests + +Skip ``test_shutil.test_unpack_archive_xztar`` to prevent a MemoryError on +32-bit AIX when MAXDATA setting is less than 0x20000000. + +Patch by Michael Felt (aixtools) + +.. + +.. bpo: 34720 +.. date: 2018-12-26-12-31-16 +.. nonce: T268vz +.. section: Tests + +Assert m_state != NULL to mimic GC traversal functions that do not correctly +handle module creation when the module state has not been created. + +.. + +.. bpo: 35976 +.. date: 2019-02-11-20-07-43 +.. nonce: toap7O +.. section: Windows + +Added ARM build support to Windows build files in PCBuild. + +.. + +.. bpo: 35692 +.. date: 2019-02-02-16-23-57 +.. nonce: cIiiE9 +.. section: Windows + +``pathlib`` no longer raises when checking file and directory existence on +drives that are not ready + +.. + +.. bpo: 35872 +.. date: 2019-02-02-15-57-19 +.. nonce: Bba2n7 +.. section: Windows + +Uses the base Python executable when invoking venv in a virtual environment + +.. + +.. bpo: 35873 +.. date: 2019-02-02-15-56-50 +.. nonce: UW-qS9 +.. section: Windows + +Prevents venv paths being inherited by child processes + +.. + +.. bpo: 35299 +.. date: 2019-02-02-14-47-12 +.. nonce: 1rgEzd +.. section: Windows + +Fix sysconfig detection of the source directory and distutils handling of +pyconfig.h during PGO profiling + +.. + +.. bpo: 24310 +.. date: 2019-02-23-22-31-20 +.. nonce: j_vJQl +.. section: IDLE + +IDLE -- Document settings dialog font tab sample. + +.. + +.. bpo: 35833 +.. date: 2019-02-08-22-14-24 +.. nonce: XKFRvF +.. section: IDLE + +Revise IDLE doc for control codes sent to Shell. Add a code example block. + +.. + +.. bpo: 35689 +.. date: 2019-01-08-17-51-44 +.. nonce: LlaqR8 +.. section: IDLE + +Add docstrings and unittests for colorizer.py. diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-08-08-20-52-55.bpo-33989.TkLBui.rst b/Misc/NEWS.d/next/Core and Builtins/2018-08-08-20-52-55.bpo-33989.TkLBui.rst deleted file mode 100644 index 056a71c..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-08-08-20-52-55.bpo-33989.TkLBui.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a possible crash in :meth:`list.sort` when sorting objects with -``ob_type->tp_richcompare == NULL``. Patch by Zackery Spytz. diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-09-15-12-13-46.bpo-33608.avmvVP.rst b/Misc/NEWS.d/next/Core and Builtins/2018-09-15-12-13-46.bpo-33608.avmvVP.rst deleted file mode 100644 index 73a01a1..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-09-15-12-13-46.bpo-33608.avmvVP.rst +++ /dev/null @@ -1,5 +0,0 @@ -We added a new internal _Py_AddPendingCall() that operates relative to the -provided interpreter. This allows us to use the existing implementation to -ask another interpreter to do work that cannot be done in the current -interpreter, like decref an object the other interpreter owns. The existing -Py_AddPendingCall() only operates relative to the main interpreter. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-01-11-14-46-08.bpo-35724.Wv79MG.rst b/Misc/NEWS.d/next/Core and Builtins/2019-01-11-14-46-08.bpo-35724.Wv79MG.rst deleted file mode 100644 index d2d74e5..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-01-11-14-46-08.bpo-35724.Wv79MG.rst +++ /dev/null @@ -1,2 +0,0 @@ -Signal-handling is now guaranteed to happen relative to the main -interpreter. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-01-22-02-06-39.bpo-31506.eJ5FpV.rst b/Misc/NEWS.d/next/Core and Builtins/2019-01-22-02-06-39.bpo-31506.eJ5FpV.rst deleted file mode 100644 index 9ebcab7..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-01-22-02-06-39.bpo-31506.eJ5FpV.rst +++ /dev/null @@ -1,3 +0,0 @@ -Clarify the errors reported when ``object.__new__`` and ``object.__init__`` -receive more than one argument. -Contributed by Sanyam Khurana. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-01-18-12-14.bpo-35886.0Z-C0V.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-01-18-12-14.bpo-35886.0Z-C0V.rst deleted file mode 100644 index 362a7a6..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-02-01-18-12-14.bpo-35886.0Z-C0V.rst +++ /dev/null @@ -1,2 +0,0 @@ -The implementation of PyInterpreterState has been moved into the internal -header files (guarded by Py_BUILD_CORE). diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-04-21-10-17.bpo-15248.2sXSZZ.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-04-21-10-17.bpo-15248.2sXSZZ.rst deleted file mode 100644 index e938aaa..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-02-04-21-10-17.bpo-15248.2sXSZZ.rst +++ /dev/null @@ -1,2 +0,0 @@ -The compiler emits now syntax warnings in the case when a comma is likely -missed before tuple or list. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-05-12-48-23.bpo-12822.0x2NDx.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-05-12-48-23.bpo-12822.0x2NDx.rst deleted file mode 100644 index a3de435..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-02-05-12-48-23.bpo-12822.0x2NDx.rst +++ /dev/null @@ -1,2 +0,0 @@ -Use monotonic clock for ``pthread_cond_timedwait`` when -``pthread_condattr_setclock`` and ``CLOCK_MONOTONIC`` are available. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-06-17-50-59.bpo-35911.oiWE8.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-06-17-50-59.bpo-35911.oiWE8.rst deleted file mode 100644 index 458ccb4..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-02-06-17-50-59.bpo-35911.oiWE8.rst +++ /dev/null @@ -1,3 +0,0 @@ -Enable the creation of cell objects by adding a ``cell.__new__`` method, and -expose the type ``cell`` in ``Lib/types.py`` under the name CellType. Patch by -Pierre Glaser. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-12-20-16-34.bpo-35961.7f7Sne.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-12-20-16-34.bpo-35961.7f7Sne.rst deleted file mode 100644 index 943aaa2..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-02-12-20-16-34.bpo-35961.7f7Sne.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a crash in slice_richcompare(): use strong references rather than stolen -references for the two temporary internal tuples. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-14-00-00-30.bpo-35991.xlbfSk.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-14-00-00-30.bpo-35991.xlbfSk.rst deleted file mode 100644 index 4bd5520..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-02-14-00-00-30.bpo-35991.xlbfSk.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a potential double free in Modules/_randommodule.c. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-14-09-17-54.bpo-35993.Bvm3fP.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-14-09-17-54.bpo-35993.Bvm3fP.rst deleted file mode 100644 index 3966f29..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-02-14-09-17-54.bpo-35993.Bvm3fP.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a crash on fork when using subinterpreters. Contributed by Stéphane Wirtel diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-14-12-01-44.bpo-35992.nG9e2L.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-14-12-01-44.bpo-35992.nG9e2L.rst deleted file mode 100644 index 3d8dcd4..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-02-14-12-01-44.bpo-35992.nG9e2L.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix ``__class_getitem__()`` not being called on a class with a custom
-non-subscriptable metaclass.
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-16-00-42-32.bpo-1054041.BL-WLd.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-16-00-42-32.bpo-1054041.BL-WLd.rst deleted file mode 100644 index e61fc0b..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-02-16-00-42-32.bpo-1054041.BL-WLd.rst +++ /dev/null @@ -1 +0,0 @@ -When the main interpreter exits due to an uncaught KeyboardInterrupt, the process now exits in the appropriate manner for its parent process to detect that a SIGINT or ^C terminated the process. This allows shells and batch scripts to understand that the user has asked them to stop.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-17-20-23-54.bpo-36016.5Hns-f.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-17-20-23-54.bpo-36016.5Hns-f.rst deleted file mode 100644 index 078be94..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-02-17-20-23-54.bpo-36016.5Hns-f.rst +++ /dev/null @@ -1,2 +0,0 @@ -``gc.get_objects`` can now receive an optional parameter indicating a -generation to get objects from. Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-18-09-30-55.bpo-35942.oLhL2v.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-18-09-30-55.bpo-35942.oLhL2v.rst deleted file mode 100644 index 6ad4c0d..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-02-18-09-30-55.bpo-35942.oLhL2v.rst +++ /dev/null @@ -1,3 +0,0 @@ -The error message emmited when returning invalid types from ``__fspath__`` -in interfaces that allow passing :class:`~os.PathLike` objects has been -improved and now it does explain the origin of the error. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-19-10-47-51.bpo-36012.xq7C9E.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-19-10-47-51.bpo-36012.xq7C9E.rst deleted file mode 100644 index ff3fdbf..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-02-19-10-47-51.bpo-36012.xq7C9E.rst +++ /dev/null @@ -1,2 +0,0 @@ -Doubled the speed of class variable writes. When a non-dunder attribute was -updated, there was an unnecessary call to update slots. diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-02-20-17-57-31.bpo-36052.l8lJSi.rst b/Misc/NEWS.d/next/Core and Builtins/2019-02-20-17-57-31.bpo-36052.l8lJSi.rst deleted file mode 100644 index 1d20948..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2019-02-20-17-57-31.bpo-36052.l8lJSi.rst +++ /dev/null @@ -1,2 +0,0 @@ -Raise a :exc:`SyntaxError` when assigning a value to `__debug__` with the -Assignment Operator. Contributed by Stéphane Wirtel and Pablo Galindo. diff --git a/Misc/NEWS.d/next/Documentation/2018-07-28-12-41-01.bpo-22062.TaN2hn.rst b/Misc/NEWS.d/next/Documentation/2018-07-28-12-41-01.bpo-22062.TaN2hn.rst deleted file mode 100644 index cb47fe1..0000000 --- a/Misc/NEWS.d/next/Documentation/2018-07-28-12-41-01.bpo-22062.TaN2hn.rst +++ /dev/null @@ -1 +0,0 @@ -Update documentation and docstrings for pathlib. Original patch by Mike Short. diff --git a/Misc/NEWS.d/next/Documentation/2019-02-15-15-33-41.bpo-36007.OTFrza.rst b/Misc/NEWS.d/next/Documentation/2019-02-15-15-33-41.bpo-36007.OTFrza.rst deleted file mode 100644 index e8061b3..0000000 --- a/Misc/NEWS.d/next/Documentation/2019-02-15-15-33-41.bpo-36007.OTFrza.rst +++ /dev/null @@ -1 +0,0 @@ -Bump minimum sphinx version to 1.8. Patch by Anthony Sottile. diff --git a/Misc/NEWS.d/next/Documentation/2019-02-24-12-40-13.bpo-36083.JX7zbv.rst b/Misc/NEWS.d/next/Documentation/2019-02-24-12-40-13.bpo-36083.JX7zbv.rst deleted file mode 100644 index 950dc6e..0000000 --- a/Misc/NEWS.d/next/Documentation/2019-02-24-12-40-13.bpo-36083.JX7zbv.rst +++ /dev/null @@ -1 +0,0 @@ -Fix formatting of --check-hash-based-pycs options in the manpage Synopsis. diff --git a/Misc/NEWS.d/next/IDLE/2019-01-08-17-51-44.bpo-35689.LlaqR8.rst b/Misc/NEWS.d/next/IDLE/2019-01-08-17-51-44.bpo-35689.LlaqR8.rst deleted file mode 100644 index 9628a6a..0000000 --- a/Misc/NEWS.d/next/IDLE/2019-01-08-17-51-44.bpo-35689.LlaqR8.rst +++ /dev/null @@ -1 +0,0 @@ -Add docstrings and unittests for colorizer.py. diff --git a/Misc/NEWS.d/next/IDLE/2019-02-08-22-14-24.bpo-35833.XKFRvF.rst b/Misc/NEWS.d/next/IDLE/2019-02-08-22-14-24.bpo-35833.XKFRvF.rst deleted file mode 100644 index abc92e9..0000000 --- a/Misc/NEWS.d/next/IDLE/2019-02-08-22-14-24.bpo-35833.XKFRvF.rst +++ /dev/null @@ -1 +0,0 @@ -Revise IDLE doc for control codes sent to Shell. Add a code example block. diff --git a/Misc/NEWS.d/next/IDLE/2019-02-23-22-31-20.bpo-24310.j_vJQl.rst b/Misc/NEWS.d/next/IDLE/2019-02-23-22-31-20.bpo-24310.j_vJQl.rst deleted file mode 100644 index 12ac990..0000000 --- a/Misc/NEWS.d/next/IDLE/2019-02-23-22-31-20.bpo-24310.j_vJQl.rst +++ /dev/null @@ -1 +0,0 @@ -IDLE -- Document settings dialog font tab sample. diff --git a/Misc/NEWS.d/next/Library/2018-09-05-03-02-32.bpo-34572.ayisd2.rst b/Misc/NEWS.d/next/Library/2018-09-05-03-02-32.bpo-34572.ayisd2.rst deleted file mode 100644 index 0468d96..0000000 --- a/Misc/NEWS.d/next/Library/2018-09-05-03-02-32.bpo-34572.ayisd2.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix C implementation of pickle.loads to use importlib's locking -mechanisms, and thereby avoid using partially-loaded modules. -Patch by Tim Burgess. diff --git a/Misc/NEWS.d/next/Library/2018-11-03-12-38-03.bpo-35153.009pdF.rst b/Misc/NEWS.d/next/Library/2018-11-03-12-38-03.bpo-35153.009pdF.rst deleted file mode 100644 index 7926024..0000000 --- a/Misc/NEWS.d/next/Library/2018-11-03-12-38-03.bpo-35153.009pdF.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add *headers* optional keyword-only parameter to -:class:`xmlrpc.client.ServerProxy`, :class:`xmlrpc.client.Transport` and -:class:`xmlrpc.client.SafeTransport`. Patch by Cédric Krier. diff --git a/Misc/NEWS.d/next/Library/2018-12-04-13-35-36.bpo-32417._Y9SKM.rst b/Misc/NEWS.d/next/Library/2018-12-04-13-35-36.bpo-32417._Y9SKM.rst deleted file mode 100644 index cfc4fbe..0000000 --- a/Misc/NEWS.d/next/Library/2018-12-04-13-35-36.bpo-32417._Y9SKM.rst +++ /dev/null @@ -1,6 +0,0 @@ -Performing arithmetic between :class:`datetime.datetime` subclasses and -:class:`datetime.timedelta` now returns an object of the same type as the -:class:`datetime.datetime` subclass. As a result, -:meth:`datetime.datetime.astimezone` and alternate constructors like -:meth:`datetime.datetime.now` and :meth:`datetime.fromtimestamp` called with -a ``tz`` argument now *also* retain their subclass. diff --git a/Misc/NEWS.d/next/Library/2018-12-29-21-59-03.bpo-35606.NjGjou.rst b/Misc/NEWS.d/next/Library/2018-12-29-21-59-03.bpo-35606.NjGjou.rst deleted file mode 100644 index d70b0bc..0000000 --- a/Misc/NEWS.d/next/Library/2018-12-29-21-59-03.bpo-35606.NjGjou.rst +++ /dev/null @@ -1,3 +0,0 @@ -Implement :func:`math.prod` as analogous function to :func:`sum` that -returns the product of a 'start' value (default: 1) times an iterable of -numbers. Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Library/2018-12-30-20-00-05.bpo-35615.Uz1SVh.rst b/Misc/NEWS.d/next/Library/2018-12-30-20-00-05.bpo-35615.Uz1SVh.rst deleted file mode 100644 index 4aff8f7..0000000 --- a/Misc/NEWS.d/next/Library/2018-12-30-20-00-05.bpo-35615.Uz1SVh.rst +++ /dev/null @@ -1,3 +0,0 @@ -:mod:`weakref`: Fix a RuntimeError when copying a WeakKeyDictionary or a -WeakValueDictionary, due to some keys or values disappearing while -iterating. diff --git a/Misc/NEWS.d/next/Library/2019-01-14-11-53-10.bpo-34294.3JFdg2.rst b/Misc/NEWS.d/next/Library/2019-01-14-11-53-10.bpo-34294.3JFdg2.rst deleted file mode 100644 index e1ae2ea..0000000 --- a/Misc/NEWS.d/next/Library/2019-01-14-11-53-10.bpo-34294.3JFdg2.rst +++ /dev/null @@ -1,4 +0,0 @@ -re module, fix wrong capturing groups in rare cases. :func:`re.search`, -:func:`re.findall`, :func:`re.sub` and other functions that scan through -string looking for a match, should reset capturing groups between two match -attempts. Patch by Ma Lin.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2019-01-21-02-15-20.bpo-35378.4oF03i.rst b/Misc/NEWS.d/next/Library/2019-01-21-02-15-20.bpo-35378.4oF03i.rst deleted file mode 100644 index bb57f71..0000000 --- a/Misc/NEWS.d/next/Library/2019-01-21-02-15-20.bpo-35378.4oF03i.rst +++ /dev/null @@ -1,6 +0,0 @@ -Fix a reference issue inside :class:`multiprocessing.Pool` that caused -the pool to remain alive if it was deleted without being closed or -terminated explicitly. A new strong reference is added to the pool -iterators to link the lifetime of the pool to the lifetime of its -iterators so the pool does not get destroyed if a pool iterator is -still alive. diff --git a/Misc/NEWS.d/next/Library/2019-02-02-01-53-36.bpo-35321.1Y4DU4.rst b/Misc/NEWS.d/next/Library/2019-02-02-01-53-36.bpo-35321.1Y4DU4.rst deleted file mode 100644 index aa22384..0000000 --- a/Misc/NEWS.d/next/Library/2019-02-02-01-53-36.bpo-35321.1Y4DU4.rst +++ /dev/null @@ -1 +0,0 @@ -Set ``__spec__.origin`` of ``_frozen_importlib`` to frozen so that it matches the behavior of ``_frozen_importlib_external``. Patch by Nina Zakharenko.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2019-02-06-01-40-55.bpo-24209.awtwPD.rst b/Misc/NEWS.d/next/Library/2019-02-06-01-40-55.bpo-24209.awtwPD.rst deleted file mode 100644 index 4d555fd..0000000 --- a/Misc/NEWS.d/next/Library/2019-02-06-01-40-55.bpo-24209.awtwPD.rst +++ /dev/null @@ -1 +0,0 @@ -In http.server script, rely on getaddrinfo to bind to preferred address based on the bind parameter. Now default bind or binding to a name may bind to IPv6 or dual-stack, depending on the environment.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2019-02-07-16-22-50.bpo-35931._63i7B.rst b/Misc/NEWS.d/next/Library/2019-02-07-16-22-50.bpo-35931._63i7B.rst deleted file mode 100644 index a229968..0000000 --- a/Misc/NEWS.d/next/Library/2019-02-07-16-22-50.bpo-35931._63i7B.rst +++ /dev/null @@ -1 +0,0 @@ -The :mod:`pdb` ``debug`` command now gracefully handles syntax errors. diff --git a/Misc/NEWS.d/next/Library/2019-02-10-00-00-13.bpo-35500.1HOMmo.rst b/Misc/NEWS.d/next/Library/2019-02-10-00-00-13.bpo-35500.1HOMmo.rst deleted file mode 100644 index 16b0fbf..0000000 --- a/Misc/NEWS.d/next/Library/2019-02-10-00-00-13.bpo-35500.1HOMmo.rst +++ /dev/null @@ -1 +0,0 @@ -Write expected and actual call parameters on separate lines in :meth:`unittest.mock.Mock.assert_called_with` assertion errors. Contributed by Susan Su. diff --git a/Misc/NEWS.d/next/Library/2019-02-10-20-57-12.bpo-35960.bh-6Ja.rst b/Misc/NEWS.d/next/Library/2019-02-10-20-57-12.bpo-35960.bh-6Ja.rst deleted file mode 100644 index 6713584..0000000 --- a/Misc/NEWS.d/next/Library/2019-02-10-20-57-12.bpo-35960.bh-6Ja.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix :func:`dataclasses.field` throwing away empty mapping objects passed as -metadata. diff --git a/Misc/NEWS.d/next/Library/2019-02-11-09-24-08.bpo-18283.BT3Jhc.rst b/Misc/NEWS.d/next/Library/2019-02-11-09-24-08.bpo-18283.BT3Jhc.rst deleted file mode 100644 index 85704a3..0000000 --- a/Misc/NEWS.d/next/Library/2019-02-11-09-24-08.bpo-18283.BT3Jhc.rst +++ /dev/null @@ -1 +0,0 @@ -Add support for bytes to :func:`shutil.which`. diff --git a/Misc/NEWS.d/next/Library/2019-02-11-16-23-10.bpo-35918.oGDlpT.rst b/Misc/NEWS.d/next/Library/2019-02-11-16-23-10.bpo-35918.oGDlpT.rst deleted file mode 100644 index 0fcce3e..0000000 --- a/Misc/NEWS.d/next/Library/2019-02-11-16-23-10.bpo-35918.oGDlpT.rst +++ /dev/null @@ -1,2 +0,0 @@ -Removed broken ``has_key`` method from -multiprocessing.managers.SyncManager.dict. Contributed by Rémi Lapeyre. diff --git a/Misc/NEWS.d/next/Library/2019-02-16-00-55-52.bpo-35904.V88MCD.rst b/Misc/NEWS.d/next/Library/2019-02-16-00-55-52.bpo-35904.V88MCD.rst deleted file mode 100644 index c40c861..0000000 --- a/Misc/NEWS.d/next/Library/2019-02-16-00-55-52.bpo-35904.V88MCD.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added statistics.fmean() as a faster, floating point variant of the existing -mean() function. diff --git a/Misc/NEWS.d/next/Library/2019-02-21-15-47-00.bpo-36018.qt7QUe.rst b/Misc/NEWS.d/next/Library/2019-02-21-15-47-00.bpo-36018.qt7QUe.rst deleted file mode 100644 index bba47f4..0000000 --- a/Misc/NEWS.d/next/Library/2019-02-21-15-47-00.bpo-36018.qt7QUe.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add statistics.NormalDist, a tool for creating and manipulating normal -distributions of random variable. Features a composite class that treats -the mean and standard deviation of measurement data as single entity. diff --git a/Misc/NEWS.d/next/Library/2019-02-24-00-04-10.bpo-35512.eWDjCJ.rst b/Misc/NEWS.d/next/Library/2019-02-24-00-04-10.bpo-35512.eWDjCJ.rst deleted file mode 100644 index 8281b1b..0000000 --- a/Misc/NEWS.d/next/Library/2019-02-24-00-04-10.bpo-35512.eWDjCJ.rst +++ /dev/null @@ -1,3 +0,0 @@ -:func:`unittest.mock.patch.dict` used as a decorator with string target -resolves the target during function call instead of during decorator -construction. Patch by Karthikeyan Singaravelan. diff --git a/Misc/NEWS.d/next/Tests/2018-12-26-12-31-16.bpo-34720.T268vz.rst b/Misc/NEWS.d/next/Tests/2018-12-26-12-31-16.bpo-34720.T268vz.rst deleted file mode 100644 index fc49028..0000000 --- a/Misc/NEWS.d/next/Tests/2018-12-26-12-31-16.bpo-34720.T268vz.rst +++ /dev/null @@ -1,2 +0,0 @@ -Assert m_state != NULL to mimic GC traversal functions that do not correctly -handle module creation when the module state has not been created. diff --git a/Misc/NEWS.d/next/Tests/2019-01-10-09-14-58.bpo-35704.FLglYo.rst b/Misc/NEWS.d/next/Tests/2019-01-10-09-14-58.bpo-35704.FLglYo.rst deleted file mode 100644 index e36fa4a..0000000 --- a/Misc/NEWS.d/next/Tests/2019-01-10-09-14-58.bpo-35704.FLglYo.rst +++ /dev/null @@ -1,4 +0,0 @@ -Skip ``test_shutil.test_unpack_archive_xztar`` to prevent a MemoryError -on 32-bit AIX when MAXDATA setting is less than 0x20000000. - -Patch by Michael Felt (aixtools) diff --git a/Misc/NEWS.d/next/Tests/2019-02-06-18-06-16.bpo-35917.-Clv1L.rst b/Misc/NEWS.d/next/Tests/2019-02-06-18-06-16.bpo-35917.-Clv1L.rst deleted file mode 100644 index 546d47e..0000000 --- a/Misc/NEWS.d/next/Tests/2019-02-06-18-06-16.bpo-35917.-Clv1L.rst +++ /dev/null @@ -1,3 +0,0 @@ -multiprocessing: provide unit tests for SyncManager and SharedMemoryManager -classes + all the shareable types which are supposed to be supported by -them. (patch by Giampaolo Rodola) diff --git a/Misc/NEWS.d/next/Tests/2019-02-12-01-33-08.bpo-35505.N9ba_K.rst b/Misc/NEWS.d/next/Tests/2019-02-12-01-33-08.bpo-35505.N9ba_K.rst deleted file mode 100644 index f1d48d6..0000000 --- a/Misc/NEWS.d/next/Tests/2019-02-12-01-33-08.bpo-35505.N9ba_K.rst +++ /dev/null @@ -1,2 +0,0 @@ -Make test_imap4_host_default_value independent on whether the -local IMAP server is running. diff --git a/Misc/NEWS.d/next/Tests/2019-02-16-15-19-31.bpo-35798.JF16MP.rst b/Misc/NEWS.d/next/Tests/2019-02-16-15-19-31.bpo-35798.JF16MP.rst deleted file mode 100644 index e320466..0000000 --- a/Misc/NEWS.d/next/Tests/2019-02-16-15-19-31.bpo-35798.JF16MP.rst +++ /dev/null @@ -1 +0,0 @@ -Added :func:`test.support.check_syntax_warning`. diff --git a/Misc/NEWS.d/next/Tests/2019-02-19-15-21-14.bpo-36037.75wG9_.rst b/Misc/NEWS.d/next/Tests/2019-02-19-15-21-14.bpo-36037.75wG9_.rst deleted file mode 100644 index dbc0fa2..0000000 --- a/Misc/NEWS.d/next/Tests/2019-02-19-15-21-14.bpo-36037.75wG9_.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix test_ssl for strict OpenSSL configuration like RHEL8 strict crypto policy. -Use older TLS version for minimum TLS version of the server SSL context if -needed, to test TLS version older than default minimum TLS version. diff --git a/Misc/NEWS.d/next/Tests/2019-02-21-14-23-51.bpo-36019.zS_OUi.rst b/Misc/NEWS.d/next/Tests/2019-02-21-14-23-51.bpo-36019.zS_OUi.rst deleted file mode 100644 index b14d157..0000000 --- a/Misc/NEWS.d/next/Tests/2019-02-21-14-23-51.bpo-36019.zS_OUi.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add test.support.TEST_HTTP_URL and replace references of http://www.example.com -by this new constant. Contributed by Stéphane Wirtel. diff --git a/Misc/NEWS.d/next/Tests/2019-02-24-01-58-38.bpo-27313.Sj9veH.rst b/Misc/NEWS.d/next/Tests/2019-02-24-01-58-38.bpo-27313.Sj9veH.rst deleted file mode 100644 index 189b9cf..0000000 --- a/Misc/NEWS.d/next/Tests/2019-02-24-01-58-38.bpo-27313.Sj9veH.rst +++ /dev/null @@ -1 +0,0 @@ -Avoid test_ttk_guionly ComboboxTest failure with macOS Cocoa Tk. diff --git a/Misc/NEWS.d/next/Windows/2019-02-02-14-47-12.bpo-35299.1rgEzd.rst b/Misc/NEWS.d/next/Windows/2019-02-02-14-47-12.bpo-35299.1rgEzd.rst deleted file mode 100644 index 19fba61..0000000 --- a/Misc/NEWS.d/next/Windows/2019-02-02-14-47-12.bpo-35299.1rgEzd.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix sysconfig detection of the source directory and distutils handling of -pyconfig.h during PGO profiling diff --git a/Misc/NEWS.d/next/Windows/2019-02-02-15-56-50.bpo-35873.UW-qS9.rst b/Misc/NEWS.d/next/Windows/2019-02-02-15-56-50.bpo-35873.UW-qS9.rst deleted file mode 100644 index a9ce777..0000000 --- a/Misc/NEWS.d/next/Windows/2019-02-02-15-56-50.bpo-35873.UW-qS9.rst +++ /dev/null @@ -1 +0,0 @@ -Prevents venv paths being inherited by child processes diff --git a/Misc/NEWS.d/next/Windows/2019-02-02-15-57-19.bpo-35872.Bba2n7.rst b/Misc/NEWS.d/next/Windows/2019-02-02-15-57-19.bpo-35872.Bba2n7.rst deleted file mode 100644 index be293c5..0000000 --- a/Misc/NEWS.d/next/Windows/2019-02-02-15-57-19.bpo-35872.Bba2n7.rst +++ /dev/null @@ -1 +0,0 @@ -Uses the base Python executable when invoking venv in a virtual environment diff --git a/Misc/NEWS.d/next/Windows/2019-02-02-16-23-57.bpo-35692.cIiiE9.rst b/Misc/NEWS.d/next/Windows/2019-02-02-16-23-57.bpo-35692.cIiiE9.rst deleted file mode 100644 index f371573..0000000 --- a/Misc/NEWS.d/next/Windows/2019-02-02-16-23-57.bpo-35692.cIiiE9.rst +++ /dev/null @@ -1,2 +0,0 @@ -``pathlib`` no longer raises when checking file and directory existence on -drives that are not ready diff --git a/Misc/NEWS.d/next/Windows/2019-02-11-20-07-43.bpo-35976.toap7O.rst b/Misc/NEWS.d/next/Windows/2019-02-11-20-07-43.bpo-35976.toap7O.rst deleted file mode 100644 index 36a0132..0000000 --- a/Misc/NEWS.d/next/Windows/2019-02-11-20-07-43.bpo-35976.toap7O.rst +++ /dev/null @@ -1 +0,0 @@ -Added ARM build support to Windows build files in PCBuild.
@@ -1,4 +1,4 @@ -This is Python version 3.8.0 alpha 1 +This is Python version 3.8.0 alpha 2 ==================================== .. image:: https://travis-ci.org/python/cpython.svg?branch=master |