Skip to content

Commit dfad352

Browse files
committed
3.7.0rc1
1 parent ef5f4ba commit dfad352

32 files changed

+312
-64
lines changed

Include/patchlevel.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 7
2121
#define PY_MICRO_VERSION 0
22-
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA
23-
#define PY_RELEASE_SERIAL 5
22+
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
23+
#define PY_RELEASE_SERIAL 1
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.7.0b5+"
26+
#define PY_VERSION "3.7.0rc1"
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: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Wed May 30 19:43:20 2018
2+
# Autogenerated by Sphinx on Tue Jun 12 00:39:48 2018
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -11625,7 +11625,7 @@
1162511625
' When a class attribute reference (for class "C", say) would '
1162611626
'yield a\n'
1162711627
' class method object, it is transformed into an instance method\n'
11628-
' object whose "__self__" attributes is "C". When it would yield '
11628+
' object whose "__self__" attribute is "C". When it would yield '
1162911629
'a\n'
1163011630
' static method object, it is transformed into the object wrapped '
1163111631
'by\n'
@@ -12230,6 +12230,33 @@
1223012230
'raise\n'
1223112231
' "TypeError".\n'
1223212232
'\n'
12233+
' Dictionaries preserve insertion order. Note that '
12234+
'updating a key\n'
12235+
' does not affect the order. Keys added after deletion are '
12236+
'inserted\n'
12237+
' at the end.\n'
12238+
'\n'
12239+
' >>> d = {"one": 1, "two": 2, "three": 3, "four": 4}\n'
12240+
' >>> d\n'
12241+
" {'one': 1, 'two': 2, 'three': 3, 'four': 4}\n"
12242+
' >>> list(d)\n'
12243+
" ['one', 'two', 'three', 'four']\n"
12244+
' >>> list(d.values())\n'
12245+
' [1, 2, 3, 4]\n'
12246+
' >>> d["one"] = 42\n'
12247+
' >>> d\n'
12248+
" {'one': 42, 'two': 2, 'three': 3, 'four': 4}\n"
12249+
' >>> del d["two"]\n'
12250+
' >>> d["two"] = None\n'
12251+
' >>> d\n'
12252+
" {'one': 42, 'three': 3, 'four': 4, 'two': None}\n"
12253+
'\n'
12254+
' Changed in version 3.7: Dictionary order is guaranteed to '
12255+
'be\n'
12256+
' insertion order. This behavior was implementation detail '
12257+
'of\n'
12258+
' CPython from 3.6.\n'
12259+
'\n'
1223312260
'See also: "types.MappingProxyType" can be used to create a '
1223412261
'read-only\n'
1223512262
' view of a "dict".\n'
@@ -12272,9 +12299,9 @@
1227212299
' may raise a "RuntimeError" or fail to iterate over all '
1227312300
'entries.\n'
1227412301
'\n'
12275-
' Changed in version 3.7: Dict order is guaranteed to be '
12276-
'insertion\n'
12277-
' order.\n'
12302+
' Changed in version 3.7: Dictionary order is guaranteed to '
12303+
'be\n'
12304+
' insertion order.\n'
1227812305
'\n'
1227912306
'x in dictview\n'
1228012307
'\n'

Misc/NEWS.d/3.7.0rc1.rst

Lines changed: 275 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,275 @@
1+
.. bpo: 33803
2+
.. date: 2018-06-07-20-18-38
3+
.. nonce: n-Nq6_
4+
.. release date: 2018-06-12
5+
.. section: Core and Builtins
6+
7+
Fix a crash in hamt.c caused by enabling GC tracking for an object that
8+
hadn't all of its fields set to NULL.
9+
10+
..
11+
12+
.. bpo: 33706
13+
.. date: 2018-05-31-14-50-04
14+
.. nonce: ztlH04
15+
.. section: Core and Builtins
16+
17+
Fix a crash in Python initialization when parsing the command line options.
18+
Thanks Christoph Gohlke for the bug report and the fix!
19+
20+
..
21+
22+
.. bpo: 30654
23+
.. date: 2018-05-28-12-28-53
24+
.. nonce: 9fDJye
25+
.. section: Core and Builtins
26+
27+
Fixed reset of the SIGINT handler to SIG_DFL on interpreter shutdown even
28+
when there was a custom handler set previously. Patch by Philipp Kerling.
29+
30+
..
31+
32+
.. bpo: 31849
33+
.. date: 2018-05-14-11-00-00
34+
.. nonce: EmHaH4
35+
.. section: Core and Builtins
36+
37+
Fix signed/unsigned comparison warning in pyhash.c.
38+
39+
..
40+
41+
.. bpo: 30167
42+
.. date: 2018-06-10-19-29-17
43+
.. nonce: G5EgC5
44+
.. section: Library
45+
46+
Prevent site.main() exception if PYTHONSTARTUP is set. Patch by Steve Weber.
47+
48+
..
49+
50+
.. bpo: 33812
51+
.. date: 2018-06-10-13-26-02
52+
.. nonce: frGAOr
53+
.. section: Library
54+
55+
Datetime instance d with non-None tzinfo, but with d.tzinfo.utcoffset(d)
56+
returning None is now treated as naive by the astimezone() method.
57+
58+
..
59+
60+
.. bpo: 30805
61+
.. date: 2018-06-08-17-34-16
62+
.. nonce: 3qCWa0
63+
.. section: Library
64+
65+
Avoid race condition with debug logging
66+
67+
..
68+
69+
.. bpo: 33694
70+
.. date: 2018-06-07-23-51-00
71+
.. nonce: F1zIR1
72+
.. section: Library
73+
74+
asyncio: Fix a race condition causing data loss on
75+
pause_reading()/resume_reading() when using the ProactorEventLoop.
76+
77+
..
78+
79+
.. bpo: 32493
80+
.. date: 2018-06-07-18-55-35
81+
.. nonce: 1Bte62
82+
.. section: Library
83+
84+
Correct test for ``uuid_enc_be`` availability in ``configure.ac``. Patch by
85+
Michael Felt.
86+
87+
..
88+
89+
.. bpo: 33792
90+
.. date: 2018-06-07-12-38-12
91+
.. nonce: 3aKG7u
92+
.. section: Library
93+
94+
Add asyncio.WindowsSelectorEventLoopPolicy and
95+
asyncio.WindowsProactorEventLoopPolicy.
96+
97+
..
98+
99+
.. bpo: 33778
100+
.. date: 2018-06-05-20-22-30
101+
.. nonce: _tSAS6
102+
.. section: Library
103+
104+
Update ``unicodedata``'s database to Unicode version 11.0.0.
105+
106+
..
107+
108+
.. bpo: 33770
109+
.. date: 2018-06-05-11-29-26
110+
.. nonce: oBhxxw
111+
.. section: Library
112+
113+
improve base64 exception message for encoded inputs of invalid length
114+
115+
..
116+
117+
.. bpo: 33769
118+
.. date: 2018-06-04-13-46-39
119+
.. nonce: D_pxYz
120+
.. section: Library
121+
122+
asyncio/start_tls: Fix error message; cancel callbacks in case of an
123+
unhandled error; mark SSLTransport as closed if it is aborted.
124+
125+
..
126+
127+
.. bpo: 33767
128+
.. date: 2018-06-03-22-41-59
129+
.. nonce: 2e82g3
130+
.. section: Library
131+
132+
The concatenation (``+``) and repetition (``*``) sequence operations now
133+
raise :exc:`TypeError` instead of :exc:`SystemError` when performed on
134+
:class:`mmap.mmap` objects. Patch by Zackery Spytz.
135+
136+
..
137+
138+
.. bpo: 33734
139+
.. date: 2018-06-01-10-55-48
140+
.. nonce: x1W9x0
141+
.. section: Library
142+
143+
asyncio/ssl: Fix AttributeError, increase default handshake timeout
144+
145+
..
146+
147+
.. bpo: 11874
148+
.. date: 2018-05-23-00-26-27
149+
.. nonce: glK5iP
150+
.. section: Library
151+
152+
Use a better regex when breaking usage into wrappable parts. Avoids bogus
153+
assertion errors from custom metavar strings.
154+
155+
..
156+
157+
.. bpo: 33582
158+
.. date: 2018-05-19-15-58-14
159+
.. nonce: qBZPmF
160+
.. section: Library
161+
162+
Emit a deprecation warning for inspect.formatargspec
163+
164+
..
165+
166+
.. bpo: 33409
167+
.. date: 2018-06-08-23-46-01
168+
.. nonce: r4z9MM
169+
.. section: Documentation
170+
171+
Clarified the relationship between PEP 538's PYTHONCOERCECLOCALE and PEP
172+
540's PYTHONUTF8 mode.
173+
174+
..
175+
176+
.. bpo: 33736
177+
.. date: 2018-06-01-12-27-40
178+
.. nonce: JVegIu
179+
.. section: Documentation
180+
181+
Improve the documentation of :func:`asyncio.open_connection`,
182+
:func:`asyncio.start_server` and their UNIX socket counterparts.
183+
184+
..
185+
186+
.. bpo: 31432
187+
.. date: 2017-09-13-07-14-59
188+
.. nonce: yAY4Z3
189+
.. section: Documentation
190+
191+
Clarify meaning of CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED flags for
192+
ssl.SSLContext.verify_mode.
193+
194+
..
195+
196+
.. bpo: 5755
197+
.. date: 2018-06-04-21-34-34
198+
.. nonce: 65GmCj
199+
.. section: Build
200+
201+
Move ``-Wstrict-prototypes`` option to ``CFLAGS_NODIST`` from ``OPT``. This
202+
option emitted annoying warnings when building extension modules written in
203+
C++.
204+
205+
..
206+
207+
.. bpo: 33720
208+
.. date: 2018-06-04-09-20-53
209+
.. nonce: VKDXHK
210+
.. section: Windows
211+
212+
Reduces maximum marshal recursion depth on release builds.
213+
214+
..
215+
216+
.. bpo: 33656
217+
.. date: 2018-06-10-17-59-36
218+
.. nonce: 60ZqJS
219+
.. section: IDLE
220+
221+
On Windows, add API call saying that tk scales for DPI. On Windows 8.1+ or
222+
10, with DPI compatibility properties of the Python binary unchanged, and a
223+
monitor resolution greater than 96 DPI, this should make text and lines
224+
sharper. It should otherwise have no effect.
225+
226+
..
227+
228+
.. bpo: 33768
229+
.. date: 2018-06-04-19-23-11
230+
.. nonce: I_2qpV
231+
.. section: IDLE
232+
233+
Clicking on a context line moves that line to the top of the editor window.
234+
235+
..
236+
237+
.. bpo: 33763
238+
.. date: 2018-06-03-20-12-57
239+
.. nonce: URiFlE
240+
.. section: IDLE
241+
242+
IDLE: Use read-only text widget for code context instead of label widget.
243+
244+
..
245+
246+
.. bpo: 33664
247+
.. date: 2018-06-03-09-13-28
248+
.. nonce: PZzQyL
249+
.. section: IDLE
250+
251+
Scroll IDLE editor text by lines. Previously, the mouse wheel and scrollbar
252+
slider moved text by a fixed number of pixels, resulting in partial lines at
253+
the top of the editor box. The change also applies to the shell and grep
254+
output windows, but not to read-only text views.
255+
256+
..
257+
258+
.. bpo: 33679
259+
.. date: 2018-05-29-07-14-37
260+
.. nonce: MgX_Ui
261+
.. section: IDLE
262+
263+
Enable theme-specific color configuration for Code Context. Use the
264+
Highlights tab to see the setting for built-in themes or add settings to
265+
custom themes.
266+
267+
..
268+
269+
.. bpo: 33642
270+
.. date: 2018-05-24-20-42-44
271+
.. nonce: J0VQbS
272+
.. section: IDLE
273+
274+
Display up to maxlines non-blank lines for Code Context. If there is no
275+
current context, show a single blank line.

Misc/NEWS.d/next/Build/2018-06-04-21-34-34.bpo-5755.65GmCj.rst

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

Misc/NEWS.d/next/Core and Builtins/2018-05-14-11-00-00.bpo-31849.EmHaH4.rst

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

Misc/NEWS.d/next/Core and Builtins/2018-05-28-12-28-53.bpo-30654.9fDJye.rst

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

Misc/NEWS.d/next/Core and Builtins/2018-05-31-14-50-04.bpo-33706.ztlH04.rst

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

Misc/NEWS.d/next/Core and Builtins/2018-06-07-20-18-38.bpo-33803.n-Nq6_.rst

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

Misc/NEWS.d/next/Documentation/2017-09-13-07-14-59.bpo-31432.yAY4Z3.rst

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

Misc/NEWS.d/next/Documentation/2018-06-01-12-27-40.bpo-33736.JVegIu.rst

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

Misc/NEWS.d/next/Documentation/2018-06-08-23-46-01.bpo-33409.r4z9MM.rst

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

Misc/NEWS.d/next/IDLE/2018-05-24-20-42-44.bpo-33642.J0VQbS.rst

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

Misc/NEWS.d/next/IDLE/2018-05-29-07-14-37.bpo-33679.MgX_Ui.rst

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

Misc/NEWS.d/next/IDLE/2018-06-03-09-13-28.bpo-33664.PZzQyL.rst

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

Misc/NEWS.d/next/IDLE/2018-06-03-20-12-57.bpo-33763.URiFlE.rst

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

Misc/NEWS.d/next/IDLE/2018-06-04-19-23-11.bpo-33768.I_2qpV.rst

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

Misc/NEWS.d/next/IDLE/2018-06-10-17-59-36.bpo-33656.60ZqJS.rst

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

0 commit comments

Comments
 (0)