Skip to content

Commit d04d3ea

Browse files
committed
Merge tag 'v3.7.1rc2' into 3.7
2 parents 5dbb1b7 + 6c06ef7 commit d04d3ea

20 files changed

+187
-87
lines changed

Include/patchlevel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
#define PY_MINOR_VERSION 7
2121
#define PY_MICRO_VERSION 1
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
23-
#define PY_RELEASE_SERIAL 1
23+
#define PY_RELEASE_SERIAL 2
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.7.1rc1+"
26+
#define PY_VERSION "3.7.1rc2"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

Lib/pydoc_data/topics.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Wed Sep 26 02:03:50 2018
2+
# Autogenerated by Sphinx on Sat Oct 13 02:40:00 2018
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -5526,7 +5526,8 @@
55265526
' 3232235521\n'
55275527
' >>>\n'
55285528
' >>> width = 5\n'
5529-
' >>> for num in range(5,12): \n'
5529+
' >>> for num in range(5,12): #doctest: '
5530+
'+NORMALIZE_WHITESPACE\n'
55305531
" ... for base in 'dXob':\n"
55315532
" ... print('{0:{width}{base}}'.format(num, "
55325533
"base=base, width=width), end=' ')\n"

Mac/BuildScript/build-installer.py

Lines changed: 21 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -242,63 +242,29 @@ def library_recipes():
242242
"TCL_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tcl8.6'%(getVersion())),
243243
},
244244
),
245+
dict(
246+
name="Tk 8.6.8",
247+
url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tk8.6.8-src.tar.gz",
248+
checksum='5e0faecba458ee1386078fb228d008ba',
249+
patches=[
250+
"tk868_on_10_8_10_9.patch",
251+
],
252+
buildDir="unix",
253+
configure_pre=[
254+
'--enable-aqua',
255+
'--enable-shared',
256+
'--enable-threads',
257+
'--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib'%(getVersion(),),
258+
],
259+
useLDFlags=False,
260+
install='make TCL_LIBRARY=%(TCL_LIBRARY)s TK_LIBRARY=%(TK_LIBRARY)s && make install TCL_LIBRARY=%(TCL_LIBRARY)s TK_LIBRARY=%(TK_LIBRARY)s DESTDIR=%(DESTDIR)s'%{
261+
"DESTDIR": shellQuote(os.path.join(WORKDIR, 'libraries')),
262+
"TCL_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tcl8.6'%(getVersion())),
263+
"TK_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tk8.6'%(getVersion())),
264+
},
265+
),
245266
])
246267

247-
# temporary workaround in 3.7.1 for addressing bpo-34370:
248-
# use development snapshot of Tk 8.6 branch (post 8.6.8) to pick up
249-
# potential fixes for various scrolling problems seen with 8.6.8.
250-
# However, the snapshot fails to build on 10.6. For the moment,
251-
# continue to build the 3.7.x 10.6 variant with the standard
252-
# 8.6.6 branch.
253-
if getDeptargetTuple() < (10, 9):
254-
result.extend([
255-
dict(
256-
name="Tk 8.6.8",
257-
url="ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tk8.6.8-src.tar.gz",
258-
checksum='5e0faecba458ee1386078fb228d008ba',
259-
patches=[
260-
"tk868_on_10_8_10_9.patch",
261-
],
262-
buildDir="unix",
263-
configure_pre=[
264-
'--enable-aqua',
265-
'--enable-shared',
266-
'--enable-threads',
267-
'--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib'%(getVersion(),),
268-
],
269-
useLDFlags=False,
270-
install='make TCL_LIBRARY=%(TCL_LIBRARY)s TK_LIBRARY=%(TK_LIBRARY)s && make install TCL_LIBRARY=%(TCL_LIBRARY)s TK_LIBRARY=%(TK_LIBRARY)s DESTDIR=%(DESTDIR)s'%{
271-
"DESTDIR": shellQuote(os.path.join(WORKDIR, 'libraries')),
272-
"TCL_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tcl8.6'%(getVersion())),
273-
"TK_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tk8.6'%(getVersion())),
274-
},
275-
),
276-
])
277-
else:
278-
result.extend([
279-
dict(
280-
name="Tk 8.6.8+",
281-
url="http://core.tcl.tk/tk/tarball/16fdad9d/tk-16fdad9d.tar.gz",
282-
checksum='b8e0df69021924e8392f03d506252bdb',
283-
patches=[
284-
"tk868_on_10_8_10_9.patch",
285-
],
286-
buildDir="unix",
287-
configure_pre=[
288-
'--enable-aqua',
289-
'--enable-shared',
290-
'--enable-threads',
291-
'--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib'%(getVersion(),),
292-
],
293-
useLDFlags=False,
294-
install='make TCL_LIBRARY=%(TCL_LIBRARY)s TK_LIBRARY=%(TK_LIBRARY)s && make install TCL_LIBRARY=%(TCL_LIBRARY)s TK_LIBRARY=%(TK_LIBRARY)s DESTDIR=%(DESTDIR)s'%{
295-
"DESTDIR": shellQuote(os.path.join(WORKDIR, 'libraries')),
296-
"TCL_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tcl8.6'%(getVersion())),
297-
"TK_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tk8.6'%(getVersion())),
298-
},
299-
),
300-
])
301-
302268
if PYTHON_3:
303269
result.extend([
304270
dict(

Misc/NEWS.d/3.7.1rc2.rst

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
.. bpo: 34879
2+
.. date: 2018-10-02-22-55-11
3+
.. nonce: 7VNH2a
4+
.. release date: 2018-10-13
5+
.. section: Core and Builtins
6+
7+
Fix a possible null pointer dereference in bytesobject.c. Patch by Zackery
8+
Spytz.
9+
10+
..
11+
12+
.. bpo: 34854
13+
.. date: 2018-09-30-19-27-13
14+
.. nonce: 6TKTcB
15+
.. section: Core and Builtins
16+
17+
Fixed a crash in compiling string annotations containing a lambda with a
18+
keyword-only argument that doesn't have a default value.
19+
20+
..
21+
22+
.. bpo: 34320
23+
.. date: 2018-08-02-22-34-59
24+
.. nonce: hNshAA
25+
.. section: Core and Builtins
26+
27+
Fix ``dict(od)`` didn't copy iteration order of OrderedDict.
28+
29+
..
30+
31+
.. bpo: 34769
32+
.. date: 2018-10-09-11-01-16
33+
.. nonce: cSkkZt
34+
.. section: Library
35+
36+
Fix for async generators not finalizing when event loop is in debug mode and
37+
garbage collector runs in another thread.
38+
39+
..
40+
41+
.. bpo: 34922
42+
.. date: 2018-10-07-21-18-52
43+
.. nonce: 37IdsA
44+
.. section: Library
45+
46+
Fixed integer overflow in the :meth:`~hashlib.shake.digest()` and
47+
:meth:`~hashlib.shake.hexdigest()` methods for the SHAKE algorithm in the
48+
:mod:`hashlib` module.
49+
50+
..
51+
52+
.. bpo: 34900
53+
.. date: 2018-10-05-05-55-53
54+
.. nonce: 8RNiFu
55+
.. section: Library
56+
57+
Fixed :meth:`unittest.TestCase.debug` when used to call test methods with
58+
subtests. Patch by Bruno Oliveira.
59+
60+
..
61+
62+
.. bpo: 34871
63+
.. date: 2018-10-04-18-46-54
64+
.. nonce: t3X-dB
65+
.. section: Library
66+
67+
Fix inspect module polluted ``sys.modules`` when parsing
68+
``__text_signature__`` of callable.
69+
70+
..
71+
72+
.. bpo: 34872
73+
.. date: 2018-10-02-19-36-34
74+
.. nonce: yWZRhI
75+
.. section: Library
76+
77+
Fix self-cancellation in C implementation of asyncio.Task
78+
79+
..
80+
81+
.. bpo: 34819
82+
.. date: 2018-09-27-09-45-00
83+
.. nonce: 9ZaFyO
84+
.. section: Library
85+
86+
Use a monotonic clock to compute timeouts in :meth:`Executor.map` and
87+
:func:`as_completed`, in order to prevent timeouts from deviating when the
88+
system clock is adjusted.
89+
90+
..
91+
92+
.. bpo: 34334
93+
.. date: 2018-09-25-08-42-34
94+
.. nonce: rSPBW9
95+
.. section: Library
96+
97+
In :class:`QueueHandler`, clear `exc_text` from :class:`LogRecord` to
98+
prevent traceback from being written twice.
99+
100+
..
101+
102+
.. bpo: 6721
103+
.. date: 2018-09-13-10-09-19
104+
.. nonce: ZUL_F3
105+
.. section: Library
106+
107+
Acquire the logging module's commonly used internal locks while fork()ing to
108+
avoid deadlocks in the child process.
109+
110+
..
111+
112+
.. bpo: 34172
113+
.. date: 2018-07-26-10-31-52
114+
.. nonce: 8ovLNi
115+
.. section: Library
116+
117+
Fix a reference issue inside multiprocessing.Pool that caused the pool to
118+
remain alive if it was deleted without being closed or terminated
119+
explicitly.
120+
121+
..
122+
123+
.. bpo: 32174
124+
.. date: 2018-10-08-19-15-28
125+
.. nonce: YO9CYm
126+
.. section: Documentation
127+
128+
chm document displays non-ASCII charaters properly on some MBCS Windows
129+
systems.
130+
131+
..
132+
133+
.. bpo: 32962
134+
.. date: 2018-05-10-16-59-15
135+
.. nonce: S-rcIN
136+
.. section: Tests
137+
138+
Fixed test_gdb when Python is compiled with flags -mcet -fcf-protection -O0.
139+
140+
..
141+
142+
.. bpo: 34370
143+
.. date: 2018-10-12-22-43-02
144+
.. nonce: kTJas4
145+
.. section: macOS
146+
147+
Revert to using the released Tk 8.6.8 with macOS installers instead of the
148+
Tk 8.6.x development snapshot used with 3.7.1rc1 and 3.6.7rc1. The snapshot
149+
introduced at least one significant regression (bpo-34927).
150+
151+
..
152+
153+
.. bpo: 34910
154+
.. date: 2018-10-05-17-06-49
155+
.. nonce: tSFrls
156+
.. section: C API
157+
158+
Ensure that :c:func:`PyObject_Print` always returns ``-1`` on error. Patch
159+
by Zackery Spytz.

Misc/NEWS.d/next/C API/2018-10-05-17-06-49.bpo-34910.tSFrls.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Core and Builtins/2018-08-02-22-34-59.bpo-34320.hNshAA.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Core and Builtins/2018-09-30-19-27-13.bpo-34854.6TKTcB.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Core and Builtins/2018-10-02-22-55-11.bpo-34879.7VNH2a.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Documentation/2018-10-08-19-15-28.bpo-32174.YO9CYm.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2018-07-26-10-31-52.bpo-34172.8ovLNi.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Library/2018-09-13-10-09-19.bpo-6721.ZUL_F3.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2018-09-25-08-42-34.bpo-34334.rSPBW9.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2018-09-27-09-45-00.bpo-34819.9ZaFyO.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Library/2018-10-02-19-36-34.bpo-34872.yWZRhI.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Library/2018-10-04-18-46-54.bpo-34871.t3X-dB.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2018-10-05-05-55-53.bpo-34900.8RNiFu.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2018-10-07-21-18-52.bpo-34922.37IdsA.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2018-10-09-11-01-16.bpo-34769.cSkkZt.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Tests/2018-05-10-16-59-15.bpo-32962.S-rcIN.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
This is Python version 3.7.1rc1+
2-
================================
1+
This is Python version 3.7.1 candidate 2
2+
========================================
33

44
.. image:: https://travis-ci.org/python/cpython.svg?branch=master
55
:alt: CPython build status on Travis CI

0 commit comments

Comments
 (0)