3.6.7rc2
diff --git a/Include/patchlevel.h b/Include/patchlevel.h
index e60fca5..267ab63 100644
--- a/Include/patchlevel.h
+++ b/Include/patchlevel.h
@@ -20,10 +20,10 @@
#define PY_MINOR_VERSION 6
#define PY_MICRO_VERSION 7
#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.6.7rc1+"
+#define PY_VERSION "3.6.7rc2"
/*--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 6702af7..e124436 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:28:16 2018
+# Autogenerated by Sphinx on Sat Oct 13 02:42:51 2018
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
@@ -5320,7 +5320,8 @@
' 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.6.7rc2.rst b/Misc/NEWS.d/3.6.7rc2.rst
new file mode 100644
index 0000000..33822fd
--- /dev/null
+++ b/Misc/NEWS.d/3.6.7rc2.rst
@@ -0,0 +1,137 @@
+.. 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: 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: 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: 34282
+.. date: 2018-09-02-13-33-35
+.. nonce: ztyXH8
+.. section: Library
+
+Fix enum members getting shadowed by parent attributes.
+
+..
+
+.. 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: 33729
+.. date: 2018-07-20-09-11-05
+.. nonce: sO6iTb
+.. section: Library
+
+Fixed issues with arguments parsing in :mod:`hashlib`.
+
+..
+
+.. 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-13-02-07-55
+.. nonce: FqUqcG
+.. 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 eff4755..0000000
--- 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 ce5b339..0000000
--- 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-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 5775a21..0000000
--- 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 a11a4b3..0000000
--- 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-20-09-11-05.bpo-33729.sO6iTb.rst b/Misc/NEWS.d/next/Library/2018-07-20-09-11-05.bpo-33729.sO6iTb.rst
deleted file mode 100644
index c471872..0000000
--- a/Misc/NEWS.d/next/Library/2018-07-20-09-11-05.bpo-33729.sO6iTb.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fixed issues with arguments parsing in :mod:`hashlib`.
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 d1c5a77..0000000
--- 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-02-13-33-35.bpo-34282.ztyXH8.rst b/Misc/NEWS.d/next/Library/2018-09-02-13-33-35.bpo-34282.ztyXH8.rst
deleted file mode 100644
index c1e606a..0000000
--- a/Misc/NEWS.d/next/Library/2018-09-02-13-33-35.bpo-34282.ztyXH8.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fix enum members getting shadowed by parent attributes.
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 6bbdea2..0000000
--- 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 cd02710..0000000
--- 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 8cff156..0000000
--- 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-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 6463886..0000000
--- 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 fc034c9..0000000
--- 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 97328eb..0000000
--- 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-13-02-07-55.bpo-34370.FqUqcG.rst b/Misc/NEWS.d/next/macOS/2018-10-13-02-07-55.bpo-34370.FqUqcG.rst
deleted file mode 100644
index 57cadc3..0000000
--- a/Misc/NEWS.d/next/macOS/2018-10-13-02-07-55.bpo-34370.FqUqcG.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 94c1322..4bd363f 100644
--- a/README.rst
+++ b/README.rst
@@ -1,5 +1,5 @@
-This is Python version 3.6.7rc1+
-================================
+This is Python version 3.6.7 candidate 2
+========================================
.. image:: https://travis-ci.org/python/cpython.svg?branch=3.6
:alt: CPython build status on Travis CI