diff options
author | 2018-10-13 03:01:13 -0400 | |
---|---|---|
committer | 2018-10-13 03:01:13 -0400 | |
commit | 6c06ef7dc310039361f931162857003548658cde (patch) | |
tree | 9c3e1ca1994f5832a9a7364f9df35f696e046f5d | |
parent | bpo-34370: Revert to using released Tk 8.6.8 with macOS installers (diff) | |
download | cpython-6c06ef7dc310039361f931162857003548658cde.tar.gz cpython-6c06ef7dc310039361f931162857003548658cde.tar.bz2 cpython-6c06ef7dc310039361f931162857003548658cde.zip |
3.7.1rc2v3.7.1rc2
20 files changed, 166 insertions, 35 deletions
diff --git a/Include/patchlevel.h b/Include/patchlevel.h index 083b63225ea..38823102a48 100644 --- a/Include/patchlevel.h +++ b/Include/patchlevel.h @@ -20,10 +20,10 @@ #define PY_MINOR_VERSION 7 #define PY_MICRO_VERSION 1 #define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA -#define PY_RELEASE_SERIAL 1 +#define PY_RELEASE_SERIAL 2 /* Version as a string */ -#define PY_VERSION "3.7.1rc1+" +#define PY_VERSION "3.7.1rc2" /*--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 34a0fb6238a..f3ef36b2459 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Autogenerated by Sphinx on Wed Sep 26 02:03:50 2018 +# Autogenerated by Sphinx on Sat Oct 13 02:40:00 2018 topics = {'assert': 'The "assert" statement\n' '**********************\n' '\n' @@ -5526,7 +5526,8 @@ topics = {'assert': 'The "assert" statement\n' ' 3232235521\n' ' >>>\n' ' >>> width = 5\n' - ' >>> for num in range(5,12): \n' + ' >>> for num in range(5,12): #doctest: ' + '+NORMALIZE_WHITESPACE\n' " ... for base in 'dXob':\n" " ... print('{0:{width}{base}}'.format(num, " "base=base, width=width), end=' ')\n" diff --git a/Misc/NEWS.d/3.7.1rc2.rst b/Misc/NEWS.d/3.7.1rc2.rst new file mode 100644 index 00000000000..89c5aebc93a --- /dev/null +++ b/Misc/NEWS.d/3.7.1rc2.rst @@ -0,0 +1,159 @@ +.. bpo: 34879 +.. date: 2018-10-02-22-55-11 +.. nonce: 7VNH2a +.. release date: 2018-10-13 +.. section: Core and Builtins + +Fix a possible null pointer dereference in bytesobject.c. Patch by Zackery +Spytz. + +.. + +.. bpo: 34854 +.. date: 2018-09-30-19-27-13 +.. nonce: 6TKTcB +.. section: Core and Builtins + +Fixed a crash in compiling string annotations containing a lambda with a +keyword-only argument that doesn't have a default value. + +.. + +.. bpo: 34320 +.. date: 2018-08-02-22-34-59 +.. nonce: hNshAA +.. section: Core and Builtins + +Fix ``dict(od)`` didn't copy iteration order of OrderedDict. + +.. + +.. bpo: 34769 +.. date: 2018-10-09-11-01-16 +.. nonce: cSkkZt +.. section: Library + +Fix for async generators not finalizing when event loop is in debug mode and +garbage collector runs in another thread. + +.. + +.. bpo: 34922 +.. date: 2018-10-07-21-18-52 +.. nonce: 37IdsA +.. section: Library + +Fixed integer overflow in the :meth:`~hashlib.shake.digest()` and +:meth:`~hashlib.shake.hexdigest()` methods for the SHAKE algorithm in the +:mod:`hashlib` module. + +.. + +.. bpo: 34900 +.. date: 2018-10-05-05-55-53 +.. nonce: 8RNiFu +.. section: Library + +Fixed :meth:`unittest.TestCase.debug` when used to call test methods with +subtests. Patch by Bruno Oliveira. + +.. + +.. bpo: 34871 +.. date: 2018-10-04-18-46-54 +.. nonce: t3X-dB +.. section: Library + +Fix inspect module polluted ``sys.modules`` when parsing +``__text_signature__`` of callable. + +.. + +.. bpo: 34872 +.. date: 2018-10-02-19-36-34 +.. nonce: yWZRhI +.. section: Library + +Fix self-cancellation in C implementation of asyncio.Task + +.. + +.. bpo: 34819 +.. date: 2018-09-27-09-45-00 +.. nonce: 9ZaFyO +.. section: Library + +Use a monotonic clock to compute timeouts in :meth:`Executor.map` and +:func:`as_completed`, in order to prevent timeouts from deviating when the +system clock is adjusted. + +.. + +.. bpo: 34334 +.. date: 2018-09-25-08-42-34 +.. nonce: rSPBW9 +.. section: Library + +In :class:`QueueHandler`, clear `exc_text` from :class:`LogRecord` to +prevent traceback from being written twice. + +.. + +.. bpo: 6721 +.. date: 2018-09-13-10-09-19 +.. nonce: ZUL_F3 +.. section: Library + +Acquire the logging module's commonly used internal locks while fork()ing to +avoid deadlocks in the child process. + +.. + +.. bpo: 34172 +.. date: 2018-07-26-10-31-52 +.. nonce: 8ovLNi +.. section: Library + +Fix a reference issue inside multiprocessing.Pool that caused the pool to +remain alive if it was deleted without being closed or terminated +explicitly. + +.. + +.. bpo: 32174 +.. date: 2018-10-08-19-15-28 +.. nonce: YO9CYm +.. section: Documentation + +chm document displays non-ASCII charaters properly on some MBCS Windows +systems. + +.. + +.. bpo: 32962 +.. date: 2018-05-10-16-59-15 +.. nonce: S-rcIN +.. section: Tests + +Fixed test_gdb when Python is compiled with flags -mcet -fcf-protection -O0. + +.. + +.. bpo: 34370 +.. date: 2018-10-12-22-43-02 +.. nonce: kTJas4 +.. section: macOS + +Revert to using the released Tk 8.6.8 with macOS installers instead of the +Tk 8.6.x development snapshot used with 3.7.1rc1 and 3.6.7rc1. The snapshot +introduced at least one significant regression (bpo-34927). + +.. + +.. bpo: 34910 +.. date: 2018-10-05-17-06-49 +.. nonce: tSFrls +.. section: C API + +Ensure that :c:func:`PyObject_Print` always returns ``-1`` on error. Patch +by Zackery Spytz. diff --git a/Misc/NEWS.d/next/C API/2018-10-05-17-06-49.bpo-34910.tSFrls.rst b/Misc/NEWS.d/next/C API/2018-10-05-17-06-49.bpo-34910.tSFrls.rst deleted file mode 100644 index eff4755d8d5..00000000000 --- a/Misc/NEWS.d/next/C API/2018-10-05-17-06-49.bpo-34910.tSFrls.rst +++ /dev/null @@ -1,2 +0,0 @@ -Ensure that :c:func:`PyObject_Print` always returns ``-1`` on error. Patch -by Zackery Spytz. diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-08-02-22-34-59.bpo-34320.hNshAA.rst b/Misc/NEWS.d/next/Core and Builtins/2018-08-02-22-34-59.bpo-34320.hNshAA.rst deleted file mode 100644 index ce5b3397e65..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-08-02-22-34-59.bpo-34320.hNshAA.rst +++ /dev/null @@ -1 +0,0 @@ -Fix ``dict(od)`` didn't copy iteration order of OrderedDict. diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-09-30-19-27-13.bpo-34854.6TKTcB.rst b/Misc/NEWS.d/next/Core and Builtins/2018-09-30-19-27-13.bpo-34854.6TKTcB.rst deleted file mode 100644 index 4e04e1f157c..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-09-30-19-27-13.bpo-34854.6TKTcB.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed a crash in compiling string annotations containing a lambda with a -keyword-only argument that doesn't have a default value. diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-10-02-22-55-11.bpo-34879.7VNH2a.rst b/Misc/NEWS.d/next/Core and Builtins/2018-10-02-22-55-11.bpo-34879.7VNH2a.rst deleted file mode 100644 index 5775a219a27..00000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-10-02-22-55-11.bpo-34879.7VNH2a.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a possible null pointer dereference in bytesobject.c. Patch by Zackery -Spytz. diff --git a/Misc/NEWS.d/next/Documentation/2018-10-08-19-15-28.bpo-32174.YO9CYm.rst b/Misc/NEWS.d/next/Documentation/2018-10-08-19-15-28.bpo-32174.YO9CYm.rst deleted file mode 100644 index a11a4b3eb08..00000000000 --- a/Misc/NEWS.d/next/Documentation/2018-10-08-19-15-28.bpo-32174.YO9CYm.rst +++ /dev/null @@ -1,2 +0,0 @@ -chm document displays non-ASCII charaters properly on some MBCS Windows -systems. diff --git a/Misc/NEWS.d/next/Library/2018-07-26-10-31-52.bpo-34172.8ovLNi.rst b/Misc/NEWS.d/next/Library/2018-07-26-10-31-52.bpo-34172.8ovLNi.rst deleted file mode 100644 index d1c5a772101..00000000000 --- a/Misc/NEWS.d/next/Library/2018-07-26-10-31-52.bpo-34172.8ovLNi.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a reference issue inside multiprocessing.Pool that caused the pool to remain alive if it was deleted without being closed or terminated explicitly. diff --git a/Misc/NEWS.d/next/Library/2018-09-13-10-09-19.bpo-6721.ZUL_F3.rst b/Misc/NEWS.d/next/Library/2018-09-13-10-09-19.bpo-6721.ZUL_F3.rst deleted file mode 100644 index 073a441db67..00000000000 --- a/Misc/NEWS.d/next/Library/2018-09-13-10-09-19.bpo-6721.ZUL_F3.rst +++ /dev/null @@ -1,2 +0,0 @@ -Acquire the logging module's commonly used internal locks while fork()ing to -avoid deadlocks in the child process. diff --git a/Misc/NEWS.d/next/Library/2018-09-25-08-42-34.bpo-34334.rSPBW9.rst b/Misc/NEWS.d/next/Library/2018-09-25-08-42-34.bpo-34334.rSPBW9.rst deleted file mode 100644 index 137a4f78f42..00000000000 --- a/Misc/NEWS.d/next/Library/2018-09-25-08-42-34.bpo-34334.rSPBW9.rst +++ /dev/null @@ -1,2 +0,0 @@ -In :class:`QueueHandler`, clear `exc_text` from :class:`LogRecord` to -prevent traceback from being written twice. diff --git a/Misc/NEWS.d/next/Library/2018-09-27-09-45-00.bpo-34819.9ZaFyO.rst b/Misc/NEWS.d/next/Library/2018-09-27-09-45-00.bpo-34819.9ZaFyO.rst deleted file mode 100644 index 6bbdea235f0..00000000000 --- a/Misc/NEWS.d/next/Library/2018-09-27-09-45-00.bpo-34819.9ZaFyO.rst +++ /dev/null @@ -1 +0,0 @@ -Use a monotonic clock to compute timeouts in :meth:`Executor.map` and :func:`as_completed`, in order to prevent timeouts from deviating when the system clock is adjusted. diff --git a/Misc/NEWS.d/next/Library/2018-10-02-19-36-34.bpo-34872.yWZRhI.rst b/Misc/NEWS.d/next/Library/2018-10-02-19-36-34.bpo-34872.yWZRhI.rst deleted file mode 100644 index cd027102d01..00000000000 --- a/Misc/NEWS.d/next/Library/2018-10-02-19-36-34.bpo-34872.yWZRhI.rst +++ /dev/null @@ -1 +0,0 @@ -Fix self-cancellation in C implementation of asyncio.Task diff --git a/Misc/NEWS.d/next/Library/2018-10-04-18-46-54.bpo-34871.t3X-dB.rst b/Misc/NEWS.d/next/Library/2018-10-04-18-46-54.bpo-34871.t3X-dB.rst deleted file mode 100644 index 8cff15671ce..00000000000 --- a/Misc/NEWS.d/next/Library/2018-10-04-18-46-54.bpo-34871.t3X-dB.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix inspect module polluted ``sys.modules`` when parsing -``__text_signature__`` of callable. diff --git a/Misc/NEWS.d/next/Library/2018-10-05-05-55-53.bpo-34900.8RNiFu.rst b/Misc/NEWS.d/next/Library/2018-10-05-05-55-53.bpo-34900.8RNiFu.rst deleted file mode 100644 index 20e3a0e2d5a..00000000000 --- a/Misc/NEWS.d/next/Library/2018-10-05-05-55-53.bpo-34900.8RNiFu.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed :meth:`unittest.TestCase.debug` when used to call test methods with -subtests. Patch by Bruno Oliveira. diff --git a/Misc/NEWS.d/next/Library/2018-10-07-21-18-52.bpo-34922.37IdsA.rst b/Misc/NEWS.d/next/Library/2018-10-07-21-18-52.bpo-34922.37IdsA.rst deleted file mode 100644 index 64638868839..00000000000 --- a/Misc/NEWS.d/next/Library/2018-10-07-21-18-52.bpo-34922.37IdsA.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed integer overflow in the :meth:`~hashlib.shake.digest()` and -:meth:`~hashlib.shake.hexdigest()` methods for the SHAKE algorithm -in the :mod:`hashlib` module. diff --git a/Misc/NEWS.d/next/Library/2018-10-09-11-01-16.bpo-34769.cSkkZt.rst b/Misc/NEWS.d/next/Library/2018-10-09-11-01-16.bpo-34769.cSkkZt.rst deleted file mode 100644 index fc034c962ea..00000000000 --- a/Misc/NEWS.d/next/Library/2018-10-09-11-01-16.bpo-34769.cSkkZt.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix for async generators not finalizing when event loop is in debug mode and -garbage collector runs in another thread. diff --git a/Misc/NEWS.d/next/Tests/2018-05-10-16-59-15.bpo-32962.S-rcIN.rst b/Misc/NEWS.d/next/Tests/2018-05-10-16-59-15.bpo-32962.S-rcIN.rst deleted file mode 100644 index 97328ebafe6..00000000000 --- a/Misc/NEWS.d/next/Tests/2018-05-10-16-59-15.bpo-32962.S-rcIN.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed test_gdb when Python is compiled with flags -mcet -fcf-protection -O0. diff --git a/Misc/NEWS.d/next/macOS/2018-10-12-22-43-02.bpo-34370.kTJas4.rst b/Misc/NEWS.d/next/macOS/2018-10-12-22-43-02.bpo-34370.kTJas4.rst deleted file mode 100644 index 57cadc31959..00000000000 --- a/Misc/NEWS.d/next/macOS/2018-10-12-22-43-02.bpo-34370.kTJas4.rst +++ /dev/null @@ -1,3 +0,0 @@ -Revert to using the released Tk 8.6.8 with macOS installers instead of the -Tk 8.6.x development snapshot used with 3.7.1rc1 and 3.6.7rc1. The snapshot -introduced at least one significant regression (bpo-34927). diff --git a/README.rst b/README.rst index b753db34c32..82f101c1fa0 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ -This is Python version 3.7.1rc1+ -================================ +This is Python version 3.7.1 candidate 2 +======================================== .. image:: https://travis-ci.org/python/cpython.svg?branch=master :alt: CPython build status on Travis CI |