• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. bpo: 33363
2.. date: 2018-04-26-22-48-28
3.. nonce: 8RCnN2
4.. release date: 2018-05-02
5.. section: Core and Builtins
6
7Raise a SyntaxError for ``async with`` and ``async for`` statements outside
8of async functions.
9
10..
11
12.. bpo: 33128
13.. date: 2018-04-24-22-31-04
14.. nonce: g2yLuf
15.. section: Core and Builtins
16
17Fix a bug that causes PathFinder to appear twice on sys.meta_path. Patch by
18Pablo Galindo Salgado.
19
20..
21
22.. bpo: 33312
23.. date: 2018-04-19-08-30-07
24.. nonce: mDe2iL
25.. section: Core and Builtins
26
27Fixed clang ubsan (undefined behavior sanitizer) warnings in dictobject.c by
28adjusting how the internal struct _dictkeysobject shared keys structure is
29declared.
30
31..
32
33.. bpo: 33231
34.. date: 2018-04-05-22-20-44
35.. nonce: 3Jmo0q
36.. section: Core and Builtins
37
38Fix potential memory leak in ``normalizestring()``.
39
40..
41
42.. bpo: 33205
43.. date: 2018-04-03-00-58-41
44.. nonce: lk2F3r
45.. section: Core and Builtins
46
47Change dict growth function from
48``round_up_to_power_2(used*2+hashtable_size/2)`` to
49``round_up_to_power_2(used*3)``.  Previously, dict is shrinked only when
50``used == 0``. Now dict has more chance to be shrinked.
51
52..
53
54.. bpo: 29922
55.. date: 2018-04-03-00-30-25
56.. nonce: CdLuMl
57.. section: Core and Builtins
58
59Improved error messages in 'async with' when ``__aenter__()`` or
60``__aexit__()`` return non-awaitable object.
61
62..
63
64.. bpo: 33199
65.. date: 2018-04-02-09-32-40
66.. nonce: TPnxQu
67.. section: Core and Builtins
68
69Fix ``ma_version_tag`` in dict implementation is uninitialized when copying
70from key-sharing dict.
71
72..
73
74.. bpo: 33281
75.. date: 2018-05-01-22-35-50
76.. nonce: d4jOt4
77.. section: Library
78
79Fix ctypes.util.find_library regression on macOS.
80
81..
82
83.. bpo: 33383
84.. date: 2018-04-29-11-15-38
85.. nonce: g32YWn
86.. section: Library
87
88Fixed crash in the get() method of the :mod:`dbm.ndbm` database object when
89it is called with a single argument.
90
91..
92
93.. bpo: 33329
94.. date: 2018-04-23-13-21-39
95.. nonce: lQ-Eod
96.. section: Library
97
98Fix multiprocessing regression on newer glibcs
99
100..
101
102.. bpo: 991266
103.. date: 2018-04-21-00-24-08
104.. nonce: h93TP_
105.. section: Library
106
107Fix quoting of the ``Comment`` attribute of
108:class:`http.cookies.SimpleCookie`.
109
110..
111
112.. bpo: 33131
113.. date: 2018-04-20-10-43-17
114.. nonce: L2E977
115.. section: Library
116
117Upgrade bundled version of pip to 10.0.1.
118
119..
120
121.. bpo: 33308
122.. date: 2018-04-18-19-12-25
123.. nonce: fW75xi
124.. section: Library
125
126Fixed a crash in the :mod:`parser` module when converting an ST object to a
127tree of tuples or lists with ``line_info=False`` and ``col_info=True``.
128
129..
130
131.. bpo: 33266
132.. date: 2018-04-16-15-59-21
133.. nonce: w2PAm-
134.. section: Library
135
136lib2to3 now recognizes ``rf'...'`` strings.
137
138..
139
140.. bpo: 11594
141.. date: 2018-04-16-08-42-03
142.. nonce: QLo4vv
143.. section: Library
144
145Ensure line-endings are respected when using lib2to3.
146
147..
148
149.. bpo: 33254
150.. date: 2018-04-13-15-14-47
151.. nonce: DS4KFK
152.. section: Library
153
154Have :func:`importlib.resources.contents` and
155:meth:`importlib.abc.ResourceReader.contents` return an :term:`iterable`
156instead of an :term:`iterator`.
157
158..
159
160.. bpo: 33256
161.. date: 2018-04-10-20-57-14
162.. nonce: ndHkqu
163.. section: Library
164
165Fix display of ``<module>`` call in the html produced by ``cgitb.html()``.
166Patch by Stéphane Blondon.
167
168..
169
170.. bpo: 33185
171.. date: 2018-04-08-22-54-07
172.. nonce: Id-Ba9
173.. section: Library
174
175Fixed regression when running pydoc with the :option:`-m` switch. (The
176regression was introduced in 3.7.0b3 by the resolution of :issue:`33053`)
177This fix also changed pydoc to add ``os.getcwd()`` to :data:`sys.path` when
178necessary, rather than adding ``"."``.
179
180..
181
182.. bpo: 33169
183.. date: 2018-04-06-14-56-26
184.. nonce: ByhDqb
185.. section: Library
186
187Delete entries of ``None`` in :data:`sys.path_importer_cache` when
188:meth:`importlib.machinery.invalidate_caches` is called.
189
190..
191
192.. bpo: 33217
193.. date: 2018-04-05-13-36-09
194.. nonce: FfOKDI
195.. section: Library
196
197Deprecate looking up non-Enum objects in Enum classes and Enum members (will
198raise :exc:`TypeError` in 3.8+).
199
200..
201
202.. bpo: 33203
203.. date: 2018-04-05-11-09-45
204.. nonce: Hje9Py
205.. section: Library
206
207``random.Random.choice()`` now raises ``IndexError`` for empty sequences
208consistently even when called from subclasses without a ``getrandbits()``
209implementation.
210
211..
212
213.. bpo: 33224
214.. date: 2018-04-04-23-41-30
215.. nonce: pyR0jB
216.. section: Library
217
218Update difflib.mdiff() for :pep:`479`.  Convert an uncaught StopIteration in a
219generator into a return-statement.
220
221..
222
223.. bpo: 33209
224.. date: 2018-04-03-10-37-13
225.. nonce: 9sGWE_
226.. section: Library
227
228End framing at the end of C implementation of :func:`pickle.Pickler.dump`.
229
230..
231
232.. bpo: 20104
233.. date: 2018-04-01-19-21-04
234.. nonce: -AKcGa
235.. section: Library
236
237Improved error handling and fixed a reference leak in
238:func:`os.posix_spawn()`.
239
240..
241
242.. bpo: 33175
243.. date: 2018-03-29-04-32-25
244.. nonce: _zs1yM
245.. section: Library
246
247In dataclasses, Field.__set_name__ now looks up the __set_name__ special
248method on the class, not the instance, of the default value.
249
250..
251
252.. bpo: 33097
253.. date: 2018-03-18-16-48-23
254.. nonce: Yl4gI2
255.. section: Library
256
257Raise RuntimeError when ``executor.submit`` is called during interpreter
258shutdown.
259
260..
261
262.. bpo: 31908
263.. date: 2017-10-31
264.. nonce: g4xh8x
265.. section: Library
266
267Fix output of cover files for ``trace`` module command-line tool. Previously
268emitted cover files only when ``--missing`` option was used. Patch by
269Michael Selik.
270
271..
272
273.. bpo: 33378
274.. date: 2018-04-29-04-02-18
275.. nonce: -anAHN
276.. section: Documentation
277
278Add Korean language switcher for https://docs.python.org/3/
279
280..
281
282.. bpo: 33276
283.. date: 2018-04-20-14-09-36
284.. nonce: rA1z_3
285.. section: Documentation
286
287Clarify that the ``__path__`` attribute on modules cannot be just any value.
288
289..
290
291.. bpo: 33201
292.. date: 2018-04-01-21-03-41
293.. nonce: aa8Lkl
294.. section: Documentation
295
296Modernize documentation for writing C extension types.
297
298..
299
300.. bpo: 33195
301.. date: 2018-04-01-14-30-36
302.. nonce: dRS-XX
303.. section: Documentation
304
305Deprecate ``Py_UNICODE`` usage in ``c-api/arg`` document. ``Py_UNICODE``
306related APIs are deprecated since Python 3.3, but it is missed in the
307document.
308
309..
310
311.. bpo: 8243
312.. date: 2018-01-13-20-30-53
313.. nonce: s98r28
314.. section: Documentation
315
316Add a note about curses.addch and curses.addstr exception behavior when
317writing outside a window, or pad.
318
319..
320
321.. bpo: 32337
322.. date: 2017-12-22-17-29-37
323.. nonce: eZe-ID
324.. section: Documentation
325
326Update documentation related with ``dict`` order.
327
328..
329
330.. bpo: 33358
331.. date: 2018-04-27-11-46-35
332.. nonce: _OcR59
333.. section: Tests
334
335Fix ``test_embed.test_pre_initialization_sys_options()`` when the
336interpreter is built with ``--enable-shared``.
337
338..
339
340.. bpo: 33394
341.. date: 2018-04-30-17-36-46
342.. nonce: _Vdi4t
343.. section: Build
344
345Enable the verbose build for extension modules, when GNU make is passed
346macros on the command line.
347
348..
349
350.. bpo: 33393
351.. date: 2018-04-30-17-19-37
352.. nonce: HkVCqI
353.. section: Build
354
355Update config.guess and config.sub files.
356
357..
358
359.. bpo: 33377
360.. date: 2018-04-30-16-53-00
361.. nonce: QBh6vP
362.. section: Build
363
364Add new triplets for mips r6 and riscv variants (used in extension
365suffixes).
366
367..
368
369.. bpo: 32232
370.. date: 2018-04-17-00-38-19
371.. nonce: o7G_UO
372.. section: Build
373
374By default, modules configured in `Modules/Setup` are no longer built with
375`-DPy_BUILD_CORE`. Instead, modules that specifically need that preprocessor
376definition include it in their individual entries.
377
378..
379
380.. bpo: 33182
381.. date: 2018-03-30-14-55-48
382.. nonce: CePczb
383.. section: Build
384
385The embedding tests can once again be built with clang 6.0
386
387..
388
389.. bpo: 33184
390.. date: 2018-04-13-11-28-55
391.. nonce: 7YhqQE
392.. section: Windows
393
394Update Windows installer to use OpenSSL 1.1.0h.
395
396..
397
398.. bpo: 33184
399.. date: 2018-04-07-00-51-34
400.. nonce: 3j208P
401.. section: macOS
402
403Update macOS installer build to use OpenSSL 1.1.0h.
404
405..
406
407.. bpo: 21474
408.. date: 2018-04-29-16-13-02
409.. nonce: bglg-F
410.. section: IDLE
411
412Update word/identifier definition from ascii to unicode. In text and entry
413boxes, this affects selection by double-click, movement left/right by
414control-left/right, and deletion left/right by control-BACKSPACE/DEL.
415
416..
417
418.. bpo: 33204
419.. date: 2018-04-02-00-28-13
420.. nonce: NBsuIv
421.. section: IDLE
422
423IDLE: consistently color invalid string prefixes. A 'u' string prefix cannot
424be paired with either 'r' or 'f'. Consistently color as much of the prefix,
425starting at the right, as is valid. Revise and extend colorizer test.
426
427..
428
429.. bpo: 33189
430.. date: 2018-04-03-18-10-00
431.. nonce: QrXR00
432.. section: Tools/Demos
433
434:program:`pygettext.py` now recognizes only literal strings as docstrings
435and translatable strings, and rejects bytes literals and f-string
436expressions.
437
438..
439
440.. bpo: 31920
441.. date: 2018-03-26-18-54-24
442.. nonce: u_WKsT
443.. section: Tools/Demos
444
445Fixed handling directories as arguments in the ``pygettext`` script. Based
446on patch by Oleg Krasnikov.
447
448..
449
450.. bpo: 29673
451.. date: 2018-03-16-17-25-05
452.. nonce: m8QtaW
453.. section: Tools/Demos
454
455Fix pystackv and pystack gdbinit macros.
456
457..
458
459.. bpo: 31583
460.. date: 2017-09-26-10-11-21
461.. nonce: TM90_H
462.. section: Tools/Demos
463
464Fix 2to3 for using with --add-suffix option but without --output-dir option
465for relative path to files in current directory.
466