summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d/3.5.0b3.rst
blob: 742814b75cf44931d6eab7bd873eacea916b9bc1 (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
.. bpo: 24467
.. date: 9236
.. nonce: BAJ80-
.. release date: 2015-07-05
.. section: Core and Builtins

Fixed possible buffer over-read in bytearray. The bytearray object now
always allocates place for trailing null byte and it's buffer now is always
null-terminated.

..

.. bpo: 0
.. date: 9235
.. nonce: 944IUY
.. section: Core and Builtins

Upgrade to Unicode 8.0.0.

..

.. bpo: 24345
.. date: 9234
.. nonce: fVcTaB
.. section: Core and Builtins

Add Py_tp_finalize slot for the stable ABI.

..

.. bpo: 24400
.. date: 9233
.. nonce: 2mNeD8
.. section: Core and Builtins

Introduce a distinct type for :pep:`492` coroutines; add types.CoroutineType,
inspect.getcoroutinestate, inspect.getcoroutinelocals; coroutines no longer
use CO_GENERATOR flag; sys.set_coroutine_wrapper works only for 'async def'
coroutines; inspect.iscoroutine no longer uses collections.abc.Coroutine,
it's intended to test for pure 'async def' coroutines only; add new opcode:
GET_YIELD_FROM_ITER; fix generators wrapper used in types.coroutine to be
instance of collections.abc.Generator; collections.abc.Awaitable and
collections.abc.Coroutine can no longer be used to detect generator-based
coroutines--use inspect.isawaitable instead.

..

.. bpo: 24450
.. date: 9232
.. nonce: lF0S5c
.. section: Core and Builtins

Add gi_yieldfrom to generators and cr_await to coroutines. Contributed by
Benno Leslie and Yury Selivanov.

..

.. bpo: 19235
.. date: 9231
.. nonce: 0kW4n5
.. section: Core and Builtins

Add new RecursionError exception. Patch by Georg Brandl.

..

.. bpo: 21750
.. date: 9230
.. nonce: _Ycvgi
.. section: Library

mock_open.read_data can now be read from each instance, as it could in
Python 3.3.

..

.. bpo: 24552
.. date: 9229
.. nonce: VTO6sf
.. section: Library

Fix use after free in an error case of the _pickle module.

..

.. bpo: 24514
.. date: 9228
.. nonce: _xRb2r
.. section: Library

tarfile now tolerates number fields consisting of only whitespace.

..

.. bpo: 19176
.. date: 9227
.. nonce: 8V6nOK
.. section: Library

Fixed doctype() related bugs in C implementation of ElementTree. A
deprecation warning no longer issued by XMLParser subclass with default
doctype() method.  Direct call of doctype() now issues a warning.  Parser's
doctype() now is not called if target's doctype() is called.  Based on patch
by Martin Panter.

..

.. bpo: 20387
.. date: 9226
.. nonce: aAbWbQ
.. section: Library

Restore semantic round-trip correctness in tokenize/untokenize for
tab-indented blocks.

..

.. bpo: 24456
.. date: 9225
.. nonce: yYSd2u
.. section: Library

Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() functions of
the audioop module.

..

.. bpo: 24336
.. date: 9224
.. nonce: 4a5y1m
.. section: Library

The contextmanager decorator now works with functions with keyword arguments
called "func" and "self".  Patch by Martin Panter.

..

.. bpo: 24522
.. date: 9223
.. nonce: PkcqCA
.. section: Library

Fix possible integer overflow in json accelerator module.

..

.. bpo: 24489
.. date: 9222
.. nonce: GJnMcW
.. section: Library

ensure a previously set C errno doesn't disturb cmath.polar().

..

.. bpo: 24408
.. date: 9221
.. nonce: vPb5UK
.. section: Library

Fixed AttributeError in measure() and metrics() methods of tkinter.Font.

..

.. bpo: 14373
.. date: 9220
.. nonce: CTYZ4J
.. section: Library

C implementation of functools.lru_cache() now can be used with methods.

..

.. bpo: 24347
.. date: 9219
.. nonce: CPPDb8
.. section: Library

Set KeyError if PyDict_GetItemWithError returns NULL.

..

.. bpo: 24348
.. date: 9218
.. nonce: U11rhr
.. section: Library

Drop superfluous incref/decref.

..

.. bpo: 24359
.. date: 9217
.. nonce: -IRNG9
.. section: Library

Check for changed OrderedDict size during iteration.

..

.. bpo: 24368
.. date: 9216
.. nonce: 550kDT
.. section: Library

Support keyword arguments in OrderedDict methods.

..

.. bpo: 24362
.. date: 9215
.. nonce: cHYce5
.. section: Library

Simplify the C OrderedDict fast nodes resize logic.

..

.. bpo: 24377
.. date: 9214
.. nonce: Gp1Bqr
.. section: Library

Fix a ref leak in OrderedDict.__repr__.

..

.. bpo: 24369
.. date: 9213
.. nonce: qFl7lZ
.. section: Library

Defend against key-changes during iteration.

..

.. bpo: 24373
.. date: 9212
.. nonce: 6TL2XG
.. section: Tests

_testmultiphase and xxlimited now use tp_traverse and tp_finalize to avoid
reference leaks encountered when combining tp_dealloc with PyType_FromSpec
(see issue #16690 for details)

..

.. bpo: 24458
.. date: 9211
.. nonce: 1egApX
.. section: Documentation

Update documentation to cover multi-phase initialization for extension
modules (PEP 489). Patch by Petr Viktorin.

..

.. bpo: 24351
.. date: 9210
.. nonce: XeSVl5
.. section: Documentation

Clarify what is meant by "identifier" in the context of string.Template
instances.

..

.. bpo: 24432
.. date: 9209
.. nonce: IvUSiN
.. section: Build

Update Windows builds and OS X 10.5 installer to use OpenSSL 1.0.2c.