summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/3.6.1rc1.rst
blob: 244bbbb396d4d3d206b4ab64d2cfe8b4e07b4dac (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
.. bpo: 28932
.. date: 9529
.. nonce: QnLx8A
.. release date: XXXX-XX-XX
.. section: Core and Builtins

Do not include <sys/random.h> if it does not exist.

..

.. bpo: 25677
.. date: 9528
.. nonce: RWhZrb
.. section: Core and Builtins

Correct the positioning of the syntax error caret for indented blocks.
Based on patch by Michael Layzell.

..

.. bpo: 29000
.. date: 9527
.. nonce: K6wQ-3
.. section: Core and Builtins

Fixed bytes formatting of octals with zero padding in alternate form.

..

.. bpo: 26919
.. date: 9526
.. nonce: Cm7MSa
.. section: Core and Builtins

On Android, operating system data is now always encoded/decoded to/from
UTF-8, instead of the locale encoding to avoid inconsistencies with
os.fsencode() and os.fsdecode() which are already using UTF-8.

..

.. bpo: 28991
.. date: 9525
.. nonce: lGA0FK
.. section: Core and Builtins

functools.lru_cache() was susceptible to an obscure reentrancy bug
triggerable by a monkey-patched len() function.

..

.. bpo: 28739
.. date: 9524
.. nonce: w1fvhk
.. section: Core and Builtins

f-string expressions are no longer accepted as docstrings and by
ast.literal_eval() even if they do not include expressions.

..

.. bpo: 28512
.. date: 9523
.. nonce: i-pv6d
.. section: Core and Builtins

Fixed setting the offset attribute of SyntaxError by
PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject().

..

.. bpo: 28918
.. date: 9522
.. nonce: SFVuPz
.. section: Core and Builtins

Fix the cross compilation of xxlimited when Python has been built with
Py_DEBUG defined.

..

.. bpo: 28731
.. date: 9521
.. nonce: oNF59u
.. section: Core and Builtins

Optimize _PyDict_NewPresized() to create correct size dict. Improve speed of
dict literal with constant keys up to 30%.

..

.. bpo: 29085
.. date: 9520
.. nonce: bm3gkx
.. section: Library

Allow random.Random.seed() to use high quality OS randomness rather than the
pid and time.

..

.. bpo: 28923
.. date: 9519
.. nonce: naVULD
.. section: Library

Remove editor artifacts from Tix.py.

..

.. bpo: 29055
.. date: 9518
.. nonce: -r_9jc
.. section: Library

Neaten-up empty population error on random.choice() by suppressing the
upstream exception.

..

.. bpo: 28871
.. date: 9517
.. nonce: cPMXCJ
.. section: Library

Fixed a crash when deallocate deep ElementTree.

..

.. bpo: 19542
.. date: 9516
.. nonce: 5tCkaK
.. section: Library

Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
when a GC collection happens in another thread.

..

.. bpo: 20191
.. date: 9515
.. nonce: Q7uZCS
.. section: Library

Fixed a crash in resource.prlimit() when passing a sequence that doesn't own
its elements as limits.

..

.. bpo: 28779
.. date: 9514
.. nonce: t-mjED
.. section: Library

multiprocessing.set_forkserver_preload() would crash the forkserver process
if a preloaded module instantiated some multiprocessing objects such as
locks.

..

.. bpo: 28847
.. date: 9513
.. nonce: J7d3nG
.. section: Library

dbm.dumb now supports reading read-only files and no longer writes the index
file when it is not changed.

..

.. bpo: 26937
.. date: 9512
.. nonce: c9kgiA
.. section: Library

The chown() method of the tarfile.TarFile class does not fail now when the
grp module cannot be imported, as for example on Android platforms.

..

.. bpo: 29326
.. date: 9511
.. nonce: 4qDQzs
.. section: Windows

Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)

..

.. bpo: 28164
.. date: 9510
.. nonce: h4CFX8
.. section: Windows

Correctly handle special console filenames (patch by Eryk Sun)

..

.. bpo: 29409
.. date: 9509
.. nonce: bhvrJ2
.. section: Windows

Implement PEP 529 for io.FileIO (Patch by Eryk Sun)

..

.. bpo: 29392
.. date: 9508
.. nonce: OtqS5t
.. section: Windows

Prevent crash when passing invalid arguments into msvcrt module.

..

.. bpo: 25778
.. date: 9507
.. nonce: 8uKJ82
.. section: Windows

winreg does not truncate string correctly (Patch by Eryk Sun)

..

.. bpo: 28896
.. date: 9506
.. nonce: VMi9w0
.. section: Windows

Deprecate WindowsRegistryFinder and disable it by default.

..

.. bpo: 29349
.. date: 9505
.. nonce: PjSo-t
.. section: Documentation

Fix Python 2 syntax in code for building the documentation.

..

.. bpo: 28950
.. date: 9504
.. nonce: 1W8Glo
.. section: Tests

Disallow -j0 to be combined with -T/-l in regrtest command line arguments.

..

.. bpo: 28683
.. date: 9503
.. nonce: Fp-Hdq
.. section: Tests

Fix the tests that bind() a unix socket and raise PermissionError on Android
for a non-root user.

..

.. bpo: 26939
.. date: 9502
.. nonce: 7j_W5R
.. section: Tests

Add the support.setswitchinterval() function to fix test_functools hanging
on the Android armv7 qemu emulator.

..

.. bpo: 28762
.. date: 9501
.. nonce: Ru0YN_
.. section: Build

lockf() is available on Android API level 24, but the F_LOCK macro is not
defined in android-ndk-r13.

..

.. bpo: 28538
.. date: 9500
.. nonce: FqtN7v
.. section: Build

Fix the compilation error that occurs because if_nameindex() is available on
Android API level 24, but the if_nameindex structure is not defined.

..

.. bpo: 20211
.. date: 9499
.. nonce: gpNptI
.. section: Build

Do not add the directory for installing C header files and the directory for
installing object code libraries to the cross compilation search paths.
Original patch by Thomas Petazzoni.

..

.. bpo: 28849
.. date: 9498
.. nonce: AzRRF5
.. section: Build

Do not define sys.implementation._multiarch on Android.