blob: 742814b75cf44931d6eab7bd873eacea916b9bc1 [file] [log] [blame]
larryhastingsf9f17342017-09-04 13:30:19 -07001.. bpo: 24467
Ned Deilyaee5df52018-06-27 18:45:50 -04002.. date: 9236
larryhastingsf9f17342017-09-04 13:30:19 -07003.. nonce: BAJ80-
4.. release date: 2015-07-05
5.. section: Core and Builtins
6
7Fixed possible buffer over-read in bytearray. The bytearray object now
8always allocates place for trailing null byte and it's buffer now is always
9null-terminated.
10
11..
12
13.. bpo: 0
Ned Deilyaee5df52018-06-27 18:45:50 -040014.. date: 9235
larryhastingsf9f17342017-09-04 13:30:19 -070015.. nonce: 944IUY
16.. section: Core and Builtins
17
18Upgrade to Unicode 8.0.0.
19
20..
21
22.. bpo: 24345
Ned Deilyaee5df52018-06-27 18:45:50 -040023.. date: 9234
larryhastingsf9f17342017-09-04 13:30:19 -070024.. nonce: fVcTaB
25.. section: Core and Builtins
26
27Add Py_tp_finalize slot for the stable ABI.
28
29..
30
31.. bpo: 24400
Ned Deilyaee5df52018-06-27 18:45:50 -040032.. date: 9233
larryhastingsf9f17342017-09-04 13:30:19 -070033.. nonce: 2mNeD8
34.. section: Core and Builtins
35
Stéphane Wirtel12e696b2018-10-27 00:58:26 +020036Introduce a distinct type for :pep:`492` coroutines; add types.CoroutineType,
larryhastingsf9f17342017-09-04 13:30:19 -070037inspect.getcoroutinestate, inspect.getcoroutinelocals; coroutines no longer
38use CO_GENERATOR flag; sys.set_coroutine_wrapper works only for 'async def'
39coroutines; inspect.iscoroutine no longer uses collections.abc.Coroutine,
40it's intended to test for pure 'async def' coroutines only; add new opcode:
41GET_YIELD_FROM_ITER; fix generators wrapper used in types.coroutine to be
42instance of collections.abc.Generator; collections.abc.Awaitable and
43collections.abc.Coroutine can no longer be used to detect generator-based
44coroutines--use inspect.isawaitable instead.
45
46..
47
48.. bpo: 24450
Ned Deilyaee5df52018-06-27 18:45:50 -040049.. date: 9232
larryhastingsf9f17342017-09-04 13:30:19 -070050.. nonce: lF0S5c
51.. section: Core and Builtins
52
53Add gi_yieldfrom to generators and cr_await to coroutines. Contributed by
54Benno Leslie and Yury Selivanov.
55
56..
57
58.. bpo: 19235
Ned Deilyaee5df52018-06-27 18:45:50 -040059.. date: 9231
larryhastingsf9f17342017-09-04 13:30:19 -070060.. nonce: 0kW4n5
61.. section: Core and Builtins
62
63Add new RecursionError exception. Patch by Georg Brandl.
64
65..
66
67.. bpo: 21750
Ned Deilyaee5df52018-06-27 18:45:50 -040068.. date: 9230
larryhastingsf9f17342017-09-04 13:30:19 -070069.. nonce: _Ycvgi
70.. section: Library
71
72mock_open.read_data can now be read from each instance, as it could in
73Python 3.3.
74
75..
76
77.. bpo: 24552
Ned Deilyaee5df52018-06-27 18:45:50 -040078.. date: 9229
larryhastingsf9f17342017-09-04 13:30:19 -070079.. nonce: VTO6sf
80.. section: Library
81
82Fix use after free in an error case of the _pickle module.
83
84..
85
86.. bpo: 24514
Ned Deilyaee5df52018-06-27 18:45:50 -040087.. date: 9228
larryhastingsf9f17342017-09-04 13:30:19 -070088.. nonce: _xRb2r
89.. section: Library
90
91tarfile now tolerates number fields consisting of only whitespace.
92
93..
94
95.. bpo: 19176
Ned Deilyaee5df52018-06-27 18:45:50 -040096.. date: 9227
larryhastingsf9f17342017-09-04 13:30:19 -070097.. nonce: 8V6nOK
98.. section: Library
99
100Fixed doctype() related bugs in C implementation of ElementTree. A
101deprecation warning no longer issued by XMLParser subclass with default
102doctype() method. Direct call of doctype() now issues a warning. Parser's
103doctype() now is not called if target's doctype() is called. Based on patch
104by Martin Panter.
105
106..
107
108.. bpo: 20387
Ned Deilyaee5df52018-06-27 18:45:50 -0400109.. date: 9226
larryhastingsf9f17342017-09-04 13:30:19 -0700110.. nonce: aAbWbQ
111.. section: Library
112
Serhiy Storchaka3f819ca2018-10-31 02:26:06 +0200113Restore semantic round-trip correctness in tokenize/untokenize for
114tab-indented blocks.
larryhastingsf9f17342017-09-04 13:30:19 -0700115
116..
117
118.. bpo: 24456
Ned Deilyaee5df52018-06-27 18:45:50 -0400119.. date: 9225
larryhastingsf9f17342017-09-04 13:30:19 -0700120.. nonce: yYSd2u
121.. section: Library
122
123Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() functions of
124the audioop module.
125
126..
127
128.. bpo: 24336
Ned Deilyaee5df52018-06-27 18:45:50 -0400129.. date: 9224
larryhastingsf9f17342017-09-04 13:30:19 -0700130.. nonce: 4a5y1m
131.. section: Library
132
133The contextmanager decorator now works with functions with keyword arguments
134called "func" and "self". Patch by Martin Panter.
135
136..
137
138.. bpo: 24522
Ned Deilyaee5df52018-06-27 18:45:50 -0400139.. date: 9223
larryhastingsf9f17342017-09-04 13:30:19 -0700140.. nonce: PkcqCA
141.. section: Library
142
143Fix possible integer overflow in json accelerator module.
144
145..
146
147.. bpo: 24489
Ned Deilyaee5df52018-06-27 18:45:50 -0400148.. date: 9222
larryhastingsf9f17342017-09-04 13:30:19 -0700149.. nonce: GJnMcW
150.. section: Library
151
152ensure a previously set C errno doesn't disturb cmath.polar().
153
154..
155
156.. bpo: 24408
Ned Deilyaee5df52018-06-27 18:45:50 -0400157.. date: 9221
larryhastingsf9f17342017-09-04 13:30:19 -0700158.. nonce: vPb5UK
159.. section: Library
160
161Fixed AttributeError in measure() and metrics() methods of tkinter.Font.
162
163..
164
165.. bpo: 14373
Ned Deilyaee5df52018-06-27 18:45:50 -0400166.. date: 9220
larryhastingsf9f17342017-09-04 13:30:19 -0700167.. nonce: CTYZ4J
168.. section: Library
169
170C implementation of functools.lru_cache() now can be used with methods.
171
172..
173
174.. bpo: 24347
Ned Deilyaee5df52018-06-27 18:45:50 -0400175.. date: 9219
larryhastingsf9f17342017-09-04 13:30:19 -0700176.. nonce: CPPDb8
177.. section: Library
178
179Set KeyError if PyDict_GetItemWithError returns NULL.
180
181..
182
183.. bpo: 24348
Ned Deilyaee5df52018-06-27 18:45:50 -0400184.. date: 9218
larryhastingsf9f17342017-09-04 13:30:19 -0700185.. nonce: U11rhr
186.. section: Library
187
188Drop superfluous incref/decref.
189
190..
191
192.. bpo: 24359
Ned Deilyaee5df52018-06-27 18:45:50 -0400193.. date: 9217
larryhastingsf9f17342017-09-04 13:30:19 -0700194.. nonce: -IRNG9
195.. section: Library
196
197Check for changed OrderedDict size during iteration.
198
199..
200
201.. bpo: 24368
Ned Deilyaee5df52018-06-27 18:45:50 -0400202.. date: 9216
larryhastingsf9f17342017-09-04 13:30:19 -0700203.. nonce: 550kDT
204.. section: Library
205
206Support keyword arguments in OrderedDict methods.
207
208..
209
210.. bpo: 24362
Ned Deilyaee5df52018-06-27 18:45:50 -0400211.. date: 9215
larryhastingsf9f17342017-09-04 13:30:19 -0700212.. nonce: cHYce5
213.. section: Library
214
215Simplify the C OrderedDict fast nodes resize logic.
216
217..
218
219.. bpo: 24377
Ned Deilyaee5df52018-06-27 18:45:50 -0400220.. date: 9214
larryhastingsf9f17342017-09-04 13:30:19 -0700221.. nonce: Gp1Bqr
222.. section: Library
223
224Fix a ref leak in OrderedDict.__repr__.
225
226..
227
228.. bpo: 24369
Ned Deilyaee5df52018-06-27 18:45:50 -0400229.. date: 9213
larryhastingsf9f17342017-09-04 13:30:19 -0700230.. nonce: qFl7lZ
231.. section: Library
232
233Defend against key-changes during iteration.
234
235..
236
237.. bpo: 24373
Ned Deilyaee5df52018-06-27 18:45:50 -0400238.. date: 9212
larryhastingsf9f17342017-09-04 13:30:19 -0700239.. nonce: 6TL2XG
240.. section: Tests
241
242_testmultiphase and xxlimited now use tp_traverse and tp_finalize to avoid
243reference leaks encountered when combining tp_dealloc with PyType_FromSpec
244(see issue #16690 for details)
245
246..
247
248.. bpo: 24458
Ned Deilyaee5df52018-06-27 18:45:50 -0400249.. date: 9211
larryhastingsf9f17342017-09-04 13:30:19 -0700250.. nonce: 1egApX
251.. section: Documentation
252
253Update documentation to cover multi-phase initialization for extension
254modules (PEP 489). Patch by Petr Viktorin.
255
256..
257
258.. bpo: 24351
Ned Deilyaee5df52018-06-27 18:45:50 -0400259.. date: 9210
larryhastingsf9f17342017-09-04 13:30:19 -0700260.. nonce: XeSVl5
261.. section: Documentation
262
263Clarify what is meant by "identifier" in the context of string.Template
264instances.
265
266..
267
268.. bpo: 24432
Ned Deilyaee5df52018-06-27 18:45:50 -0400269.. date: 9209
larryhastingsf9f17342017-09-04 13:30:19 -0700270.. nonce: IvUSiN
271.. section: Build
272
273Update Windows builds and OS X 10.5 installer to use OpenSSL 1.0.2c.