From 260ec2c36abd73bac51489108409160427979ede Mon Sep 17 00:00:00 2001
From: Ned Deily <nad@python.org>
Date: Sat, 20 Oct 2018 02:04:19 -0400
Subject: 3.7.1final

---
 Include/patchlevel.h                                 |  6 +++---
 Lib/pydoc_data/topics.py                             |  5 ++---
 Misc/NEWS.d/3.7.1.rst                                |  7 +++++++
 Misc/NEWS.d/3.7.1rc2.rst                             | 20 ++++++++++++++++++++
 .../Library/2018-10-13-11-14-13.bpo-34970.SrJTY7.rst |  1 -
 .../Library/2018-10-13-19-15-23.bpo-34521.YPaiTK.rst |  3 ---
 .../Library/2018-10-20-00-35-19.bpo-34909.Ew_8DC.rst |  2 --
 README.rst                                           |  4 ++--
 8 files changed, 34 insertions(+), 14 deletions(-)
 create mode 100644 Misc/NEWS.d/3.7.1.rst
 delete mode 100644 Misc/NEWS.d/next/Library/2018-10-13-11-14-13.bpo-34970.SrJTY7.rst
 delete mode 100644 Misc/NEWS.d/next/Library/2018-10-13-19-15-23.bpo-34521.YPaiTK.rst
 delete mode 100644 Misc/NEWS.d/next/Library/2018-10-20-00-35-19.bpo-34909.Ew_8DC.rst

diff --git a/Include/patchlevel.h b/Include/patchlevel.h
index 3882310..667facb 100644
--- a/Include/patchlevel.h
+++ b/Include/patchlevel.h
@@ -19,11 +19,11 @@
 #define PY_MAJOR_VERSION        3
 #define PY_MINOR_VERSION        7
 #define PY_MICRO_VERSION        1
-#define PY_RELEASE_LEVEL        PY_RELEASE_LEVEL_GAMMA
-#define PY_RELEASE_SERIAL       2
+#define PY_RELEASE_LEVEL        PY_RELEASE_LEVEL_FINAL
+#define PY_RELEASE_SERIAL       0
 
 /* Version as a string */
-#define PY_VERSION              "3.7.1rc2"
+#define PY_VERSION              "3.7.1"
 /*--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 f3ef36b..f5b9aa1 100644
--- a/Lib/pydoc_data/topics.py
+++ b/Lib/pydoc_data/topics.py
@@ -1,5 +1,5 @@
 # -*- coding: utf-8 -*-
-# Autogenerated by Sphinx on Sat Oct 13 02:40:00 2018
+# Autogenerated by Sphinx on Sat Oct 20 01:59:27 2018
 topics = {'assert': 'The "assert" statement\n'
            '**********************\n'
            '\n'
@@ -5526,8 +5526,7 @@ topics = {'assert': 'The "assert" statement\n'
                   '   3232235521\n'
                   '   >>>\n'
                   '   >>> width = 5\n'
-                  '   >>> for num in range(5,12): #doctest: '
-                  '+NORMALIZE_WHITESPACE\n'
+                  '   >>> for num in range(5,12): \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.1.rst b/Misc/NEWS.d/3.7.1.rst
new file mode 100644
index 0000000..67eeb85
--- /dev/null
+++ b/Misc/NEWS.d/3.7.1.rst
@@ -0,0 +1,7 @@
+.. bpo: 34970
+.. date: 2018-10-13-11-14-13
+.. nonce: SrJTY7
+.. release date: 2018-10-20
+.. section: Library
+
+Protect tasks weak set manipulation in ``asyncio.all_tasks()``
diff --git a/Misc/NEWS.d/3.7.1rc2.rst b/Misc/NEWS.d/3.7.1rc2.rst
index 89c5aeb..3f7e70a 100644
--- a/Misc/NEWS.d/3.7.1rc2.rst
+++ b/Misc/NEWS.d/3.7.1rc2.rst
@@ -49,6 +49,15 @@ Fixed integer overflow in the :meth:`~hashlib.shake.digest()` and
 
 ..
 
+.. bpo: 34909
+.. date: 2018-10-20-00-35-19
+.. nonce: Ew_8DC
+.. section: Library
+
+Enum: fix grandchildren subclassing when parent mixed with concrete data
+types.
+
+..
 .. bpo: 34900
 .. date: 2018-10-05-05-55-53
 .. nonce: 8RNiFu
@@ -89,6 +98,17 @@ system clock is adjusted.
 
 ..
 
+.. bpo: 34521
+.. date: 2018-10-13-19-15-23
+.. nonce: YPaiTK
+.. section: Library
+
+Use :func:`socket.CMSG_SPACE` to calculate ancillary data size instead of
+:func:`socket.CMSG_LEN` in :func:`multiprocessing.reduction.recvfds` as
+:rfc:`3542` requires the use of the former for portable applications.
+
+..
+
 .. bpo: 34334
 .. date: 2018-09-25-08-42-34
 .. nonce: rSPBW9
diff --git a/Misc/NEWS.d/next/Library/2018-10-13-11-14-13.bpo-34970.SrJTY7.rst b/Misc/NEWS.d/next/Library/2018-10-13-11-14-13.bpo-34970.SrJTY7.rst
deleted file mode 100644
index a58b3dd..0000000
--- a/Misc/NEWS.d/next/Library/2018-10-13-11-14-13.bpo-34970.SrJTY7.rst
+++ /dev/null
@@ -1 +0,0 @@
-Protect tasks weak set manipulation in ``asyncio.all_tasks()``
diff --git a/Misc/NEWS.d/next/Library/2018-10-13-19-15-23.bpo-34521.YPaiTK.rst b/Misc/NEWS.d/next/Library/2018-10-13-19-15-23.bpo-34521.YPaiTK.rst
deleted file mode 100644
index 4f4a7f7..0000000
--- a/Misc/NEWS.d/next/Library/2018-10-13-19-15-23.bpo-34521.YPaiTK.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Use :func:`socket.CMSG_SPACE` to calculate ancillary data size instead of
-:func:`socket.CMSG_LEN` in :func:`multiprocessing.reduction.recvfds` as
-:rfc:`3542` requires the use of the former for portable applications.
diff --git a/Misc/NEWS.d/next/Library/2018-10-20-00-35-19.bpo-34909.Ew_8DC.rst b/Misc/NEWS.d/next/Library/2018-10-20-00-35-19.bpo-34909.Ew_8DC.rst
deleted file mode 100644
index b71b69a..0000000
--- a/Misc/NEWS.d/next/Library/2018-10-20-00-35-19.bpo-34909.Ew_8DC.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Enum: fix grandchildren subclassing when parent mixed with concrete data
-types.
diff --git a/README.rst b/README.rst
index 82f101c..9b08049 100644
--- a/README.rst
+++ b/README.rst
@@ -1,5 +1,5 @@
-This is Python version 3.7.1 candidate 2
-========================================
+This is Python version 3.7.1
+============================
 
 .. image:: https://travis-ci.org/python/cpython.svg?branch=master
    :alt: CPython build status on Travis CI
-- 
cgit v0.12

