• 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`)
177
178This fix also changed pydoc to add ``os.getcwd()`` to :data:`sys.path` when
179necessary, rather than adding ``"."``.
180
181..
182
183.. bpo: 33169
184.. date: 2018-04-06-14-56-26
185.. nonce: ByhDqb
186.. section: Library
187
188Delete entries of ``None`` in :data:`sys.path_importer_cache` when
189:meth:`importlib.machinery.invalidate_caches` is called.
190
191..
192
193.. bpo: 33217
194.. date: 2018-04-05-13-36-09
195.. nonce: FfOKDI
196.. section: Library
197
198Deprecate looking up non-Enum objects in Enum classes and Enum members (will
199raise :exc:`TypeError` in 3.8+).
200
201..
202
203.. bpo: 33203
204.. date: 2018-04-05-11-09-45
205.. nonce: Hje9Py
206.. section: Library
207
208``random.Random.choice()`` now raises ``IndexError`` for empty sequences
209consistently even when called from subclasses without a ``getrandbits()``
210implementation.
211
212..
213
214.. bpo: 33224
215.. date: 2018-04-04-23-41-30
216.. nonce: pyR0jB
217.. section: Library
218
219Update difflib.mdiff() for PEP 479.  Convert an uncaught StopIteration in a
220generator into a return-statement.
221
222..
223
224.. bpo: 33209
225.. date: 2018-04-03-10-37-13
226.. nonce: 9sGWE_
227.. section: Library
228
229End framing at the end of C implementation of :func:`pickle.Pickler.dump`.
230
231..
232
233.. bpo: 20104
234.. date: 2018-04-01-19-21-04
235.. nonce: -AKcGa
236.. section: Library
237
238Improved error handling and fixed a reference leak in
239:func:`os.posix_spawn()`.
240
241..
242
243.. bpo: 33175
244.. date: 2018-03-29-04-32-25
245.. nonce: _zs1yM
246.. section: Library
247
248In dataclasses, Field.__set_name__ now looks up the __set_name__ special
249method on the class, not the instance, of the default value.
250
251..
252
253.. bpo: 33097
254.. date: 2018-03-18-16-48-23
255.. nonce: Yl4gI2
256.. section: Library
257
258Raise RuntimeError when ``executor.submit`` is called during interpreter
259shutdown.
260
261..
262
263.. bpo: 31908
264.. date: 2017-10-31
265.. nonce: g4xh8x
266.. section: Library
267
268Fix output of cover files for ``trace`` module command-line tool. Previously
269emitted cover files only when ``--missing`` option was used. Patch by
270Michael Selik.
271
272..
273
274.. bpo: 33378
275.. date: 2018-04-29-04-02-18
276.. nonce: -anAHN
277.. section: Documentation
278
279Add Korean language switcher for https://docs.python.org/3/
280
281..
282
283.. bpo: 33276
284.. date: 2018-04-20-14-09-36
285.. nonce: rA1z_3
286.. section: Documentation
287
288Clarify that the ``__path__`` attribute on modules cannot be just any value.
289
290..
291
292.. bpo: 33201
293.. date: 2018-04-01-21-03-41
294.. nonce: aa8Lkl
295.. section: Documentation
296
297Modernize documentation for writing C extension types.
298
299..
300
301.. bpo: 33195
302.. date: 2018-04-01-14-30-36
303.. nonce: dRS-XX
304.. section: Documentation
305
306Deprecate ``Py_UNICODE`` usage in ``c-api/arg`` document. ``Py_UNICODE``
307related APIs are deprecated since Python 3.3, but it is missed in the
308document.
309
310..
311
312.. bpo: 8243
313.. date: 2018-01-13-20-30-53
314.. nonce: s98r28
315.. section: Documentation
316
317Add a note about curses.addch and curses.addstr exception behavior when
318writing outside a window, or pad.
319
320..
321
322.. bpo: 32337
323.. date: 2017-12-22-17-29-37
324.. nonce: eZe-ID
325.. section: Documentation
326
327Update documentation related with ``dict`` order.
328
329..
330
331.. bpo: 33358
332.. date: 2018-04-27-11-46-35
333.. nonce: _OcR59
334.. section: Tests
335
336Fix ``test_embed.test_pre_initialization_sys_options()`` when the
337interpreter is built with ``--enable-shared``.
338
339..
340
341.. bpo: 33394
342.. date: 2018-04-30-17-36-46
343.. nonce: _Vdi4t
344.. section: Build
345
346Enable the verbose build for extension modules, when GNU make is passed
347macros on the command line.
348
349..
350
351.. bpo: 33393
352.. date: 2018-04-30-17-19-37
353.. nonce: HkVCqI
354.. section: Build
355
356Update config.guess and config.sub files.
357
358..
359
360.. bpo: 33377
361.. date: 2018-04-30-16-53-00
362.. nonce: QBh6vP
363.. section: Build
364
365Add new triplets for mips r6 and riscv variants (used in extension
366suffixes).
367
368..
369
370.. bpo: 32232
371.. date: 2018-04-17-00-38-19
372.. nonce: o7G_UO
373.. section: Build
374
375By default, modules configured in `Modules/Setup` are no longer built with
376`-DPy_BUILD_CORE`. Instead, modules that specifically need that preprocessor
377definition include it in their individual entries.
378
379..
380
381.. bpo: 33182
382.. date: 2018-03-30-14-55-48
383.. nonce: CePczb
384.. section: Build
385
386The embedding tests can once again be built with clang 6.0
387
388..
389
390.. bpo: 33184
391.. date: 2018-04-13-11-28-55
392.. nonce: 7YhqQE
393.. section: Windows
394
395Update Windows installer to use OpenSSL 1.1.0h.
396
397..
398
399.. bpo: 33184
400.. date: 2018-04-07-00-51-34
401.. nonce: 3j208P
402.. section: macOS
403
404Update macOS installer build to use OpenSSL 1.1.0h.
405
406..
407
408.. bpo: 21474
409.. date: 2018-04-29-16-13-02
410.. nonce: bglg-F
411.. section: IDLE
412
413Update word/identifier definition from ascii to unicode. In text and entry
414boxes, this affects selection by double-click, movement left/right by
415control-left/right, and deletion left/right by control-BACKSPACE/DEL.
416
417..
418
419.. bpo: 33204
420.. date: 2018-04-02-00-28-13
421.. nonce: NBsuIv
422.. section: IDLE
423
424IDLE: consistently color invalid string prefixes. A 'u' string prefix cannot
425be paired with either 'r' or 'f'. Consistently color as much of the prefix,
426starting at the right, as is valid. Revise and extend colorizer test.
427
428..
429
430.. bpo: 33189
431.. date: 2018-04-03-18-10-00
432.. nonce: QrXR00
433.. section: Tools/Demos
434
435:program:`pygettext.py` now recognizes only literal strings as docstrings
436and translatable strings, and rejects bytes literals and f-string
437expressions.
438
439..
440
441.. bpo: 31920
442.. date: 2018-03-26-18-54-24
443.. nonce: u_WKsT
444.. section: Tools/Demos
445
446Fixed handling directories as arguments in the ``pygettext`` script. Based
447on patch by Oleg Krasnikov.
448
449..
450
451.. bpo: 29673
452.. date: 2018-03-16-17-25-05
453.. nonce: m8QtaW
454.. section: Tools/Demos
455
456Fix pystackv and pystack gdbinit macros.
457
458..
459
460.. bpo: 31583
461.. date: 2017-09-26-10-11-21
462.. nonce: TM90_H
463.. section: Tools/Demos
464
465Fix 2to3 for using with --add-suffix option but without --output-dir option
466for relative path to files in current directory.
467