summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d/2.7.8.rst
blob: bd4462c1bd219fd1648d37d2842cb6494765ae34 (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
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
.. bpo: 4346
.. date: 9373
.. nonce: UASH7u
.. release date: 2014-06-29
.. section: Core and Builtins

In PyObject_CallMethod and PyObject_CallMethodObjArgs, don't overwrite the
error set in PyObject_GetAttr.

..

.. bpo: 21831
.. date: 9372
.. nonce: LMoAu3
.. section: Core and Builtins

Avoid integer overflow when large sizes and offsets are given to the buffer
type. CVE-2014-7185.

..

.. bpo: 19656
.. date: 9371
.. nonce: H_jvEi
.. section: Core and Builtins

Running Python with the -3 option now also warns about non-ascii bytes
literals.

..

.. bpo: 21642
.. date: 9370
.. nonce: CjIqaU
.. section: Core and Builtins

If the conditional if-else expression, allow an integer written with no
space between itself and the ``else`` keyword (e.g. ``True if 42else
False``) to be valid syntax.

..

.. bpo: 21523
.. date: 9369
.. nonce: f_PPYO
.. section: Core and Builtins

Fix over-pessimistic computation of the stack effect of some opcodes in the
compiler.  This also fixes a quadratic compilation time issue noticeable
when compiling code with a large number of "and" and "or" operators.

..

.. bpo: 21652
.. date: 9368
.. nonce: kCNkbE
.. section: Library

Prevent mimetypes.type_map from containing unicode keys on Windows.

..

.. bpo: 21729
.. date: 9367
.. nonce: oa2kD6
.. section: Library

Used the "with" statement in the dbm.dumb module to ensure files closing.

..

.. bpo: 21672
.. date: 9366
.. nonce: iMRNWM
.. section: Library

Fix the behavior of ntpath.join on UNC-style paths.

..

.. bpo: 19145
.. date: 9365
.. nonce: cRrKpW
.. section: Library

The times argument for itertools.repeat now handles negative values the same
way for keyword arguments as it does for positional arguments.

..

.. bpo: 21832
.. date: 9364
.. nonce: PBA0Uu
.. section: Library

Require named tuple inputs to be exact strings.

..

.. bpo: 8343
.. date: 9363
.. nonce: 2KNnCH
.. section: Library

Named group error messages in the re module did not show the name of the
erroneous group.

..

.. bpo: 21491
.. date: 9362
.. nonce: suNKZf
.. section: Library

SocketServer: Fix a race condition in child processes reaping.

..

.. bpo: 21635
.. date: 9361
.. nonce: ET3OJZ
.. section: Library

The difflib SequenceMatcher.get_matching_blocks() method cache didn't match
the actual result.  The former was a list of tuples and the latter was a
list of named tuples.

..

.. bpo: 21722
.. date: 9360
.. nonce: WTHuRy
.. section: Library

The distutils "upload" command now exits with a non-zero return code when
uploading fails.  Patch by Martin Dengler.

..

.. bpo: 21766
.. date: 9359
.. nonce: 0xk_xC
.. section: Library

Prevent a security hole in CGIHTTPServer by URL unquoting paths before
checking for a CGI script at that path.

..

.. bpo: 21310
.. date: 9358
.. nonce: 2mjByJ
.. section: Library

Fixed possible resource leak in failed open().

..

.. bpo: 21304
.. date: 9357
.. nonce: xXyySz
.. section: Library

Backport the key derivation function hashlib.pbkdf2_hmac from Python 3 per
PEP 466.

..

.. bpo: 11709
.. date: 9356
.. nonce: JdObvL
.. section: Library

Fix the pydoc.help function to not fail when sys.stdin is not a valid file.

..

.. bpo: 13223
.. date: 9355
.. nonce: 9AzEbN
.. section: Library

Fix pydoc.writedoc so that the HTML documentation for methods that use
'self' in the example code is generated correctly.

..

.. bpo: 21552
.. date: 9354
.. nonce: uVy4tM
.. section: Library

Fixed possible integer overflow of too long string lengths in the tkinter
module on 64-bit platforms.

..

.. bpo: 14315
.. date: 9353
.. nonce: YzZzS8
.. section: Library

The zipfile module now ignores extra fields in the central directory that
are too short to be parsed instead of letting a struct.unpack error bubble
up as this "bad data" appears in many real world zip files in the wild and
is ignored by other zip tools.

..

.. bpo: 21402
.. date: 9352
.. nonce: GuVy1L
.. section: Library

Tkinter.ttk now works when default root window is not set.

..

.. bpo: 10203
.. date: 9351
.. nonce: gERvVk
.. section: Library

sqlite3.Row now truly supports sequence protocol.  In particulr it supports
reverse() and negative indices.  Original patch by Claudiu Popa.

..

.. bpo: 8743
.. date: 9350
.. nonce: I6_2r3
.. section: Library

Fix interoperability between set objects and the collections.Set() abstract
base class.

..

.. bpo: 21481
.. date: 9349
.. nonce: YDrlf7
.. section: Library

Argparse equality and inequality tests now return NotImplemented when
comparing to an unknown type.

..

.. bpo: 21940
.. date: 9348
.. nonce: VlIRz7
.. section: IDLE

Add unittest for WidgetRedirector. Initial patch by Saimadhav Heblikar.

..

.. bpo: 18592
.. date: 9347
.. nonce: sMG-SZ
.. section: IDLE

Add unittest for SearchDialogBase. Patch by Phil Webster.

..

.. bpo: 21694
.. date: 9346
.. nonce: 1oLmRo
.. section: IDLE

Add unittest for ParenMatch. Patch by Saimadhav Heblikar.

..

.. bpo: 21686
.. date: 9345
.. nonce: TAkFB0
.. section: IDLE

add unittest for HyperParser. Original patch by Saimadhav Heblikar.

..

.. bpo: 12387
.. date: 9344
.. nonce: XO7Ozk
.. section: IDLE

Add missing upper(lower)case versions of default Windows key bindings for
Idle so Caps Lock does not disable them. Patch by Roger Serwy.

..

.. bpo: 21695
.. date: 9343
.. nonce: g-t0Tm
.. section: IDLE

Closing a Find-in-files output window while the search is still in progress
no longer closes Idle.

..

.. bpo: 18910
.. date: 9342
.. nonce: ke8lMK
.. section: IDLE

Add unittest for textView. Patch by Phil Webster.

..

.. bpo: 18292
.. date: 9341
.. nonce: ks_3wm
.. section: IDLE

Add unittest for AutoExpand. Patch by Saihadhav Heblikar.

..

.. bpo: 18409
.. date: 9340
.. nonce: 7fe-aK
.. section: IDLE

Add unittest for AutoComplete. Patch by Phil Webster.

..

.. bpo: 20155
.. date: 9339
.. nonce: nphzS3
.. section: Tests

Changed HTTP method names in failing tests in test_httpservers so that
packet filtering software (specifically Windows Base Filtering Engine) does
not interfere with the transaction semantics expected by the tests.

..

.. bpo: 19493
.. date: 9338
.. nonce: SwbzLQ
.. section: Tests

Refactored the ctypes test package to skip tests explicitly rather than
silently.

..

.. bpo: 18492
.. date: 9337
.. nonce: ylPRU7
.. section: Tests

All resources are now allowed when tests are not run by regrtest.py.

..

.. bpo: 21605
.. date: 9336
.. nonce: qsLV8d
.. section: Tests

Added tests for Tkinter images.

..

.. bpo: 21493
.. date: 9335
.. nonce: NqhRsy
.. section: Tests

Added test for ntpath.expanduser().  Original patch by Claudiu Popa.

..

.. bpo: 19925
.. date: 9334
.. nonce: dhMx08
.. section: Tests

Added tests for the spwd module. Original patch by Vajrasky Kok.

..

.. bpo: 13355
.. date: 9333
.. nonce: gCByXK
.. section: Tests

random.triangular() no longer fails with a ZeroDivisionError when low equals
high.

..

.. bpo: 21522
.. date: 9332
.. nonce: b-VwFW
.. section: Tests

Added Tkinter tests for Listbox.itemconfigure(),
PanedWindow.paneconfigure(), and Menu.entryconfigure().

..

.. bpo: 20635
.. date: 9331
.. nonce: mzWmoS
.. section: Tests

Added tests for Tk geometry managers.

..

.. bpo: 21811
.. date: 9330
.. nonce: 3_Xyr-
.. section: Build

Anticipated fixes to support OS X versions > 10.9.

..

.. bpo: 21671
.. date: 9329
.. nonce: sm-hhO
.. section: Windows

The bundled version of OpenSSL has been updated to 1.0.1h. (See also:
CVE-2014-0224)