summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/3.8.6rc1.rst
blob: 7340e9deca014f4d20cbbcad91d9cc6156bc3c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
.. bpo: 41654
.. date: 2020-08-30-20-38-33
.. nonce: HtnhAM
.. release date: 2020-09-07
.. section: Core and Builtins

Fix a crash that occurred when destroying subclasses of
:class:`MemoryError`. Patch by Pablo Galindo.

..

.. bpo: 41533
.. date: 2020-08-12-20-29-57
.. nonce: 4pcVAc
.. section: Core and Builtins

Free the stack allocated in ``va_build_stack`` if ``do_mkstack`` fails and
the stack is not a ``small_stack``.

..

.. bpo: 38156
.. date: 2020-07-20-17-01-17
.. nonce: ptcdRy
.. section: Core and Builtins

Handle interrupts that come after EOF correctly in ``PyOS_StdioReadline``.

..

.. bpo: 41696
.. date: 2020-09-03-01-35-32
.. nonce: zkYGre
.. section: Library

Fix handling of debug mode in :func:`asyncio.run`. This allows setting
``PYTHONASYNCIODEBUG`` or ``-X dev`` to enable asyncio debug mode when using
:func:`asyncio.run`.

..

.. bpo: 39010
.. date: 2020-08-30-10-24-26
.. nonce: _mzXJW
.. section: Library

Restarting a ``ProactorEventLoop`` on Windows no longer logs spurious
``ConnectionResetErrors``.

..

.. bpo: 41609
.. date: 2020-08-21-15-51-15
.. nonce: JmiUKG
.. section: Library

The pdb whatis command correctly reports instance methods as 'Method' rather
than 'Function'.

..

.. bpo: 32751
.. date: 2020-08-15-15-50-12
.. nonce: 85je5X
.. section: Library

When cancelling the task due to a timeout, :meth:`asyncio.wait_for` will now
wait until the cancellation is complete also in the case when *timeout* is
<= 0, like it does with positive timeouts.

..

.. bpo: 37658
.. date: 2020-08-15-15-21-40
.. nonce: f9nivB
.. section: Library

:meth:`asyncio.wait_for` now properly handles races between cancellation of
itself and the completion of the wrapped awaitable.

..

.. bpo: 40782
.. date: 2020-08-13-08-07-25
.. nonce: aGZqmB
.. section: Library

Change the method asyncio.AbstractEventLoop.run_in_executor to not be a
coroutine.

..

.. bpo: 41520
.. date: 2020-08-12-13-25-16
.. nonce: BEUWa4
.. section: Library

Fix :mod:`codeop` regression that prevented turning compile warnings into
errors.

..

.. bpo: 41503
.. date: 2020-08-07-15-18-16
.. nonce: IYftcu
.. section: Library

Fixed a race between setTarget and flush in logging.handlers.MemoryHandler.

..

.. bpo: 41497
.. date: 2020-08-07-06-06-29
.. nonce: aBtsWz
.. section: Library

Fix potential UnicodeDecodeError in dis module.

..

.. bpo: 41490
.. date: 2020-08-05-23-16-39
.. nonce: 6z47A_
.. section: Library

Update :mod:`ensurepip` to install pip 20.2.1 and setuptools 49.2.1.

..

.. bpo: 41467
.. date: 2020-08-04-00-20-30
.. nonce: Z8DgTL
.. section: Library

On Windows, fix asyncio ``recv_into()`` return value when the socket/pipe is
closed (:exc:`BrokenPipeError`): return ``0`` rather than an empty byte
string (``b''``).

..

.. bpo: 41425
.. date: 2020-08-03-01-59-48
.. nonce: KJo6zF
.. section: Library

Make tkinter doc example runnable.

..

.. bpo: 41384
.. date: 2020-07-26-21-18-43
.. nonce: MlzIgV
.. section: Library

Raise TclError instead of TypeError when an unknown option is passed to
tkinter.OptionMenu.

..

.. bpo: 38731
.. date: 2020-07-25-23-18-51
.. nonce: Am4wp2
.. section: Library

Fix :exc:`NameError` in command-line interface of :mod:`py_compile`.

..

.. bpo: 41364
.. date: 2020-07-21-21-45-55
.. nonce: 5O-k7A
.. section: Library

Reduce import overhead of :mod:`uuid`.

..

.. bpo: 41344
.. date: 2020-07-20-13-27-48
.. nonce: iKipNd
.. section: Library

Prevent creating :class:`shared_memory.SharedMemory` objects with
:code:`size=0`.

..

.. bpo: 40726
.. date: 2020-05-22-12-45-58
.. nonce: 7oBdMw
.. section: Library

Handle cases where the ``end_lineno`` is ``None`` on
:func:`ast.increment_lineno`.

..

.. bpo: 31122
.. date: 2020-03-11-07-44-06
.. nonce: zIQ80l
.. section: Library

ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer
closes connection during TLS negotiation

..

.. bpo: 33660
.. date: 2018-06-12-23-30-41
.. nonce: AdDn5Z
.. section: Library

Fix pathlib.PosixPath to resolve a relative path located on the root
directory properly.

..

.. bpo: 41624
.. date: 2020-08-25-15-11-23
.. nonce: ddjJlN
.. section: Documentation

Fix the signature of :class:`typing.Coroutine`.

..

.. bpo: 40204
.. date: 2020-08-12-18-35-40
.. nonce: C8A_pe
.. section: Documentation

Enable Sphinx 3.2 ``c_allow_pre_v3`` option and disable
``c_warn_on_allowed_pre_v3`` option to make the documentation compatible
with Sphinx 2 and Sphinx 3.

..

.. bpo: 41045
.. date: 2020-07-27-20-46-17
.. nonce: GFF6Ul
.. section: Documentation

Add documentation for debug feature of f-strings.

..

.. bpo: 41314
.. date: 2020-07-25-14-20-00
.. nonce: yrjko0
.. section: Documentation

Changed the release when ``from __future__ import annotations`` becomes the
default from ``4.0`` to ``3.10`` (following a change in PEP 563).

..

.. bpo: 39883
.. date: 2020-03-07-03-53-39
.. nonce: 1tnb4-
.. section: Documentation

Make code, examples, and recipes in the Python documentation be licensed
under the more permissive BSD0 license in addition to the existing Python
2.0 license.

..

.. bpo: 41492
.. date: 2020-08-06-16-59-10
.. nonce: 2FQ9cM
.. section: Windows

Fixes the description that appears in UAC prompts.

..

.. bpo: 40741
.. date: 2020-07-20-23-26-26
.. nonce: C9sc_d
.. section: Windows

Update Windows release to include SQLite 3.32.3.

..

.. bpo: 41468
.. date: 2020-08-09-13-42-55
.. nonce: zkP0_Y
.. section: IDLE

Improve IDLE run crash error message (which users should never see).

..

.. bpo: 41373
.. date: 2020-07-24-17-49-58
.. nonce: YQIPu_
.. section: IDLE

Save files loaded with no line ending, as when blank, or different line
endings, by setting its line ending to the system default. Fix regression in
3.8.4 and 3.9.0b4.

..

.. bpo: 41524
.. date: 2020-08-12-17-09-06
.. nonce: u6Xfr2
.. section: C API

Fix bug in PyOS_mystrnicmp and PyOS_mystricmp that incremented pointers
beyond the end of a string.