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
434
435
436
437
438
439
440
441
442
|
.. bpo: 5677
.. date: 7847
.. nonce: b0Qejz
.. release date: 2010-02-06
.. section: Core and Builtins
Explicitly forbid write operations on read-only file objects, and read
operations on write-only file objects. On Windows, the system C library
would return a bogus result; on Solaris, it was possible to crash the
interpreter. Patch by Stefan Krah.
..
.. bpo: 7853
.. date: 7846
.. nonce: 7BnJKC
.. section: Core and Builtins
Normalize exceptions before they are passed to a context manager's
``__exit__()`` method.
..
.. bpo: 7385
.. date: 7845
.. nonce: OVCbWd
.. section: Core and Builtins
Fix a crash in ``PyMemoryView_FromObject()`` when ``PyObject_GetBuffer()``
fails. Patch by Florent Xicluna.
..
.. bpo: 7819
.. date: 7844
.. nonce: tGsOrJ
.. section: Core and Builtins
Check ``sys.call_tracing()`` arguments types.
..
.. bpo: 7788
.. date: 7843
.. nonce: 4T4M13
.. section: Core and Builtins
Fix an interpreter crash produced by deleting a list slice with very large
step value.
..
.. bpo: 7766
.. date: 7842
.. nonce: aejr9M
.. section: Core and Builtins
Change ``sys.getwindowsversion()`` return value to a named tuple and add the
additional members returned in an OSVERSIONINFOEX structure. The new
members are service_pack_major, service_pack_minor, suite_mask, and
product_type.
..
.. bpo: 7561
.. date: 7841
.. nonce: dYmand
.. section: Core and Builtins
Operations on empty bytearrays (such as ``int(bytearray())``) could crash in
many places because of the ``PyByteArray_AS_STRING()`` macro returning NULL.
The macro now returns a statically allocated empty string instead.
..
.. bpo: 7622
.. date: 7840
.. nonce: yL5cXb
.. section: Core and Builtins
Improve the split(), rsplit(), splitlines() and replace() methods of bytes,
bytearray and unicode objects by using a common implementation based on
stringlib's fast search. Patch by Florent Xicluna.
..
.. bpo: 7632
.. date: 7839
.. nonce: djAkIG
.. section: Core and Builtins
Fix various str -> float conversion bugs present in 2.7 alpha 2, including:
(1) a serious 'wrong output' bug that could occur for long (> 40 digit)
input strings, (2) a crash in dtoa.c that occurred in debug builds when
parsing certain long numeric strings corresponding to subnormal values,
(3) a memory leak for some values large enough to cause overflow, and (4) a
number of flaws that could lead to incorrectly rounded results.
..
.. bpo: 7319
.. date: 7838
.. nonce: CIP64d
.. section: Core and Builtins
Silence ``DeprecationWarning`` by default when the -3 option is not used.
(See also: bpo-7770)
..
.. bpo: 2335
.. date: 7837
.. nonce: NB-Xpf
.. section: Core and Builtins
Backport set literals syntax from Python 3.x.
..
.. bpo: 2333
.. date: 7836
.. nonce: yWLBy3
.. section: Core and Builtins
Backport set and dict comprehensions syntax from Python 3.x.
..
.. bpo: 1967
.. date: 7835
.. nonce: RryGx3
.. section: Core and Builtins
Backport dictionary views from Python 3.x.
..
.. bpo: 9137
.. date: 7834
.. nonce: DgWODo
.. section: Library
Fix issue in MutableMapping.update, which incorrectly treated keyword
arguments called 'self' or 'other' specially.
..
.. bpo: 7835
.. date: 7833
.. nonce: jlbrK8
.. section: Library
shelve should no longer produce mysterious warnings during interpreter
shutdown.
..
.. bpo: 2746
.. date: 7832
.. nonce: F6UqCX
.. section: Library
Don't escape ampersands and angle brackets ("&", "<", ">") in XML processing
instructions and comments. These raw characters are allowed by the XML
specification, and are necessary when outputting e.g. PHP code in a
processing instruction. Patch by Neil Muller.
..
.. bpo: 7869
.. date: 7831
.. nonce: 1QS851
.. section: Library
logging: Improved diagnostic for format-time errors.
..
.. bpo: 7868
.. date: 7830
.. nonce: PXTr9t
.. section: Library
logging: Added loggerClass attribute to Manager.
..
.. bpo: 7851
.. date: 7829
.. nonce: 7OtUnx
.. section: Library
logging: Clarification on logging configuration files.
..
.. bpo: 4772
.. date: 7828
.. nonce: 9_Y3av
.. section: Library
Raise a ValueError when an unknown Bluetooth protocol is specified, rather
than fall through to AF_PACKET (in the ``socket`` module). Also, raise
ValueError rather than TypeError when an unknown TIPC address type is
specified. Patch by Brian Curtin.
..
.. bpo: 0
.. date: 7827
.. nonce: DG4Srd
.. section: Library
logging: Implemented PEP 391.
..
.. bpo: 6939
.. date: 7826
.. nonce: 8fBhhK
.. section: Library
Fix file I/O objects in the `io` module to keep the original file position
when calling `truncate()`. It would previously change the file position to
the given argument, which goes against the tradition of ftruncate() and
other truncation APIs. Patch by Pascal Chambon.
..
.. bpo: 7610
.. date: 7825
.. nonce: 2DXmYZ
.. section: Library
Reworked implementation of the internal ``zipfile.ZipExtFile`` class used to
represent files stored inside an archive. The new implementation is
significantly faster and can be wrapped in an ``io.BufferedReader`` object
for more speedups. It also solves an issue where interleaved calls to
``read()`` and ``readline()`` give wrong results. Patch by Nir Aides.
..
.. bpo: 7792
.. date: 7824
.. nonce: ncH8BS
.. section: Library
Registering non-classes to ABCs raised an obscure error.
..
.. bpo: 0
.. date: 7823
.. nonce: RpNACh
.. section: Library
Removed the deprecated functions ``verify()`` and ``vereq()`` from
Lib/test/test_support.py.
..
.. bpo: 7773
.. date: 7822
.. nonce: x2tWld
.. section: Library
Fix an UnboundLocalError in ``platform.linux_distribution()`` when the
release file is empty.
..
.. bpo: 7748
.. date: 7821
.. nonce: YlAgV-
.. section: Library
Since unicode values are supported for some metadata options in Distutils,
the DistributionMetadata get_* methods will now return a utf-8 encoded
string for them. This ensures that the upload and register commands send
the correct values to PyPI without any error.
..
.. bpo: 1670765
.. date: 7820
.. nonce: 9eCqJl
.. section: Library
Prevent ``email.generator.Generator`` from re-wrapping headers in
multipart/signed MIME parts, which fixes one of the sources of invalid
modifications to such parts by Generator.
..
.. bpo: 7701
.. date: 7819
.. nonce: e9a5VO
.. section: Library
Fix crash in ``binascii.b2a_uu()`` in debug mode when given a 1-byte
argument. Patch by Victor Stinner.
..
.. bpo: 3299
.. date: 7818
.. nonce: AzzK85
.. section: Library
Fix possible crash in the _sre module when given bad argument values in
debug mode. Patch by Victor Stinner.
..
.. bpo: 7703
.. date: 7817
.. nonce: FNoqUO
.. section: Library
Add support for the new buffer API to functions of the binascii module.
Backported from py3k by Florent Xicluna, with some additional tests.
..
.. bpo: 2846
.. date: 7816
.. nonce: 1yXo1U
.. section: Library
Add support for gzip.GzipFile reading zero-padded files. Patch by Brian
Curtin.
..
.. bpo: 5827
.. date: 7815
.. nonce: HqdXuX
.. section: Library
Make sure that normpath preserves unicode. Initial patch by Matt Giuca.
..
.. bpo: 5372
.. date: 7814
.. nonce: t3pYj8
.. section: Library
Drop the reuse of .o files in Distutils' ccompiler (since Extension extra
options may change the output without changing the .c file). Initial patch
by Collin Winter.
..
.. bpo: 0
.. date: 7813
.. nonce: nL49In
.. section: Library
Expat: Fix DoS via XML document with malformed UTF-8 sequences
(CVE_2009_3560).
..
.. bpo: 7632
.. date: 7812
.. nonce: AWDxJU
.. section: Build
When Py_USING_MEMORY_DEBUGGER is defined, disable the private memory
allocation scheme in dtoa.c and use PyMem_Malloc and PyMem_Free instead.
Also disable caching of powers of 5.
..
.. bpo: 7658
.. date: 7811
.. nonce: oUBbSZ
.. section: Build
Ensure that the new pythonw executable works on OSX 10.4
..
.. bpo: 7714
.. date: 7810
.. nonce: 27wQ2M
.. section: Build
Use ``gcc -dumpversion`` to detect the version of GCC on MacOSX.
..
.. bpo: 7661
.. date: 7809
.. nonce: ggMDHr
.. section: Build
Allow ctypes to be built from a non-ASCII directory path. Patch by Florent
Xicluna.
..
.. bpo: 0
.. date: 7808
.. nonce: KgUrLn
.. section: Tools/Demos
iobench (a file I/O benchmark) and ccbench (a concurrency benchmark) were
added to the ``Tools`` directory. They were previously living in the
sandbox.
..
.. bpo: 7728
.. date: 7807
.. nonce: f9wo4c
.. section: Tests
test_timeout was changed to use ``test_support.bind_port()`` instead of a
hard coded port.
..
.. bpo: 0
.. date: 7806
.. nonce: Dx9g36
.. section: Documentation
Updated "Using Python" documentation to include description of CPython's -J,
-U and -X options.
..
.. bpo: 0
.. date: 7805
.. nonce: vllYdR
.. section: Documentation
Updated Python manual page (options -B, -O0, -s, environment variables
PYTHONDONTWRITEBYTECODE, PYTHONNOUSERSITE).
|