summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d/2.7.4rc1.rst
blob: d0c615ba362b3bdfb170187fb35ea512a7844205 (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
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
.. bpo: 10211
.. date: 9006
.. nonce: JF6QJN
.. release date: 2013-03-23
.. section: Core and Builtins

Buffer objects expose the new buffer interface internally

..

.. bpo: 16445
.. date: 9005
.. nonce: EF19nl
.. section: Core and Builtins

Fixed potential segmentation fault when deleting an exception message.

..

.. bpo: 17275
.. date: 9004
.. nonce: Aqerft
.. section: Core and Builtins

Corrected class name in init error messages of the C version of
BufferedWriter and BufferedRandom.

..

.. bpo: 7963
.. date: 9003
.. nonce: FWJtUT
.. section: Core and Builtins

Fixed misleading error message that issued when object is called without
arguments.

..

.. bpo: 5308
.. date: 9002
.. nonce: s5uAbP
.. section: Core and Builtins

Raise ValueError when marshalling too large object (a sequence with size >=
2**31), instead of producing illegal marshal data.

..

.. bpo: 17043
.. date: 9001
.. nonce: 4OVhGk
.. section: Core and Builtins

The unicode-internal decoder no longer read past the end of input buffer.

..

.. bpo: 16979
.. date: 9000
.. nonce: jTR3Oe
.. section: Core and Builtins

Fix error handling bugs in the unicode-escape-decode decoder.

..

.. bpo: 10156
.. date: 8999
.. nonce: iEZGhY
.. section: Core and Builtins

In the interpreter's initialization phase, unicode globals are now
initialized dynamically as needed.

..

.. bpo: 16975
.. date: 8998
.. nonce: H9EsG9
.. section: Core and Builtins

Fix error handling bug in the escape-decode decoder.

..

.. bpo: 14850
.. date: 8997
.. nonce: EhU_If
.. section: Core and Builtins

Now a charmap decoder treats U+FFFE as "undefined mapping" in any mapping,
not only in a Unicode string.

..

.. bpo: 11461
.. date: 8996
.. nonce: xwn_Zw
.. section: Core and Builtins

Fix the incremental UTF-16 decoder. Original patch by Amaury Forgeot d'Arc.

..

.. bpo: 16367
.. date: 8995
.. nonce: lewlCg
.. section: Core and Builtins

Fix FileIO.readall() on Windows for files larger than 2 GB.

..

.. bpo: 15516
.. date: 8994
.. nonce: 5-JJO7
.. section: Core and Builtins

Fix a bug in PyString_FromFormat where it failed to properly ignore errors
from a __int__() method.

..

.. bpo: 16839
.. date: 8993
.. nonce: aEw6ZB
.. section: Core and Builtins

Fix a segfault when calling unicode() on a classic class early in
interpreter initialization.

..

.. bpo: 16761
.. date: 8992
.. nonce: Z2d0Tr
.. section: Core and Builtins

Calling ``int()`` and ``long()`` with *base* argument only now raises
TypeError.

..

.. bpo: 16759
.. date: 8991
.. nonce: U0-CFS
.. section: Core and Builtins

Support the full DWORD (unsigned long) range in Reg2Py when retrieving a
REG_DWORD value. This corrects functions like winreg.QueryValueEx that may
have been returning truncated values.

..

.. bpo: 14420
.. date: 8990
.. nonce: uknqaC
.. section: Core and Builtins

Support the full DWORD (unsigned long) range in Py2Reg when passed a
REG_DWORD value. Fixes ValueError in winreg.SetValueEx when given a long.

..

.. bpo: 13863
.. date: 8989
.. nonce: jfoNlP
.. section: Core and Builtins

Work around buggy 'fstat' implementation on Windows / NTFS that lead to
incorrect timestamps (off by one hour) being stored in .pyc files on some
systems.

..

.. bpo: 16602
.. date: 8988
.. nonce: FjnLTD
.. section: Core and Builtins

When a weakref's target was part of a long deallocation chain, the object
could remain reachable through its weakref even though its refcount had
dropped to zero.

..

.. bpo: 9011
.. date: 8987
.. nonce: ENWTWf
.. section: Core and Builtins

Fix hacky AST code that modified the CST when compiling a negated numeric
literal.

..

.. bpo: 16306
.. date: 8986
.. nonce: H29SXn
.. section: Core and Builtins

Fix multiple error messages when unknown command line parameters where
passed to the interpreter.  Patch by Hieu Nguyen.

..

.. bpo: 15379
.. date: 8985
.. nonce: Ix2NTb
.. section: Core and Builtins

Fix passing of non-BMP characters as integers for the charmap decoder
(already working as unicode strings).  Patch by Serhiy Storchaka.

..

.. bpo: 16453
.. date: 8984
.. nonce: 0Zm9en
.. section: Core and Builtins

Fix equality testing of dead weakref objects.

..

.. bpo: 9535
.. date: 8983
.. nonce: hkixPD
.. section: Core and Builtins

Fix pending signals that have been received but not yet handled by Python to
not persist after os.fork() in the child process.

..

.. bpo: 15001
.. date: 8982
.. nonce: oD3gtX
.. section: Core and Builtins

fix segfault on "del sys.modules['__main__']". Patch by Victor Stinner.

..

.. bpo: 5057
.. date: 8981
.. nonce: 5HFeht
.. section: Core and Builtins

the peepholer no longer optimizes subscription on unicode literals (e.g.
u'foo'[0]) in order to produce compatible pyc files between narrow and wide
builds.

..

.. bpo: 8401
.. date: 8980
.. nonce: TslRZr
.. section: Core and Builtins

assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an error.

..

.. bpo: 14700
.. date: 8979
.. nonce: 1hIs61
.. section: Core and Builtins

Fix buggy overflow checks for large width and precision in string formatting
operations.

..

.. bpo: 16345
.. date: 8978
.. nonce: azvPpP
.. section: Core and Builtins

Fix an infinite loop when ``fromkeys`` on a dict subclass received a
nonempty dict from the constructor.

..

.. bpo: 6074
.. date: 8977
.. nonce: CXlveH
.. section: Core and Builtins

Ensure cached bytecode files can always be updated by the user that created
them, even when the source file is read-only.

..

.. bpo: 14783
.. date: 8976
.. nonce: Sk4dfh
.. section: Core and Builtins

Improve int() and long() docstrings and switch docstrings for unicode(),
slice(), range(), and xrange() to use multi-line signatures.

..

.. bpo: 16030
.. date: 8975
.. nonce: ljwmkM
.. section: Core and Builtins

Fix overflow bug in computing the `repr` of an xrange object with large
start, step or length.

..

.. bpo: 16029
.. date: 8974
.. nonce: zGzl68
.. section: Core and Builtins

Fix overflow bug occurring when pickling xranges with large start, step or
length.

..

.. bpo: 16037
.. date: 8973
.. nonce: tA7cA2
.. section: Core and Builtins

Limit httplib's _read_status() function to work around broken HTTP servers
and reduce memory usage. It's actually a backport of a Python 3.2 fix.
Thanks to Adrien Kunysz.

..

.. bpo: 16588
.. date: 8972
.. nonce: YKgxOa
.. section: Core and Builtins

Silence unused-but-set warnings in Python/thread_pthread

..

.. bpo: 13992
.. date: 8971
.. nonce: Jasaf2
.. section: Core and Builtins

The trashcan mechanism is now thread-safe.  This eliminates sporadic crashes
in multi-thread programs when several long deallocator chains ran
concurrently and involved subclasses of built-in container types.

..

.. bpo: 15801
.. date: 8970
.. nonce: gpcQV3
.. section: Core and Builtins

Make sure mappings passed to '%' formatting are actually subscriptable.

..

.. bpo: 15604
.. date: 8969
.. nonce: q1V3sc
.. section: Core and Builtins

Update uses of PyObject_IsTrue() to check for and handle errors correctly.
Patch by Serhiy Storchaka.

..

.. bpo: 14579
.. date: 8968
.. nonce: Bcg1J1
.. section: Core and Builtins

Fix error handling bug in the utf-16 decoder.  Patch by Serhiy Storchaka.

..

.. bpo: 15368
.. date: 8967
.. nonce: iAaiat
.. section: Core and Builtins

An issue that caused bytecode generation to be non-deterministic when using
randomized hashing (-R) has been fixed.

..

.. bpo: 15897
.. date: 8966
.. nonce: GQpoBE
.. section: Core and Builtins

zipimport.c doesn't check return value of fseek(). Patch by Felipe Cruz.

..

.. bpo: 16369
.. date: 8965
.. nonce: GtRTux
.. section: Core and Builtins

Global PyTypeObjects not initialized with PyType_Ready(...).

..

.. bpo: 15033
.. date: 8964
.. nonce: gKl1Eg
.. section: Core and Builtins

Fix the exit status bug when modules invoked using -m switch, return the
proper failure return value (1). Patch contributed by Jeff Knupp.

..

.. bpo: 12268
.. date: 8963
.. nonce: 6mnsQI
.. section: Core and Builtins

File readline, readlines and read() methods no longer lose data when an
underlying read system call is interrupted.  IOError is no longer raised due
to a read system call returning EINTR from within these methods.

..

.. bpo: 13512
.. date: 8962
.. nonce: KW8Du9
.. section: Core and Builtins

Create ~/.pypirc securely (CVE-2011-4944).  Initial patch by Philip Jenvey,
tested by Mageia and Debian.

..

.. bpo: 7719
.. date: 8961
.. nonce: O-kdp6
.. section: Core and Builtins

Make distutils ignore ``.nfs*`` files instead of choking later on.  Initial
patch by SilentGhost and Jeff Ramnani.

..

.. bpo: 10053
.. date: 8960
.. nonce: rOxp0i
.. section: Core and Builtins

Don't close FDs when FileIO.__init__ fails. Loosely based on the work by
Hirokazu Yamamoto.

..

.. bpo: 14775
.. date: 8959
.. nonce: AHE3Lc
.. section: Core and Builtins

Fix a potential quadratic dict build-up due to the garbage collector
repeatedly trying to untrack dicts.

..

.. bpo: 14494
.. date: 8958
.. nonce: OjJqfu
.. section: Core and Builtins

Fix __future__.py and its documentation to note that absolute imports are
the default behavior in 3.0 instead of 2.7. Patch by Sven Marnach.

..

.. bpo: 14761
.. date: 8957
.. nonce: A8TEE6
.. section: Core and Builtins

Fix potential leak on an error case in the import machinery.

..

.. bpo: 14699
.. date: 8956
.. nonce: AuoeMs
.. section: Core and Builtins

Fix calling the classmethod descriptor directly.

..

.. bpo: 11603
.. date: 8955
.. nonce: aGsFsn
.. section: Core and Builtins

Setting __repr__ to __str__ now raises a RuntimeError when repr() or str()
is called on such an object.

..

.. bpo: 14658
.. date: 8954
.. nonce: jeSkqL
.. section: Core and Builtins

Fix binding a special method to a builtin implementation of a special method
with a different name.

..

.. bpo: 14612
.. date: 8953
.. nonce: uTBlpg
.. section: Core and Builtins

Fix jumping around with blocks by setting f_lineno.

..

.. bpo: 13889
.. date: 8952
.. nonce: 5jUbDL
.. section: Core and Builtins

Check and (if necessary) set FPU control word before calling any of the
dtoa.c string <-> float conversion functions, on MSVC builds of Python.
This fixes issues when embedding Python in a Delphi app.

..

.. bpo: 14505
.. date: 8951
.. nonce: oeGD4J
.. section: Core and Builtins

Fix file descriptor leak when deallocating file objects created with
PyFile_FromString().

..

.. bpo: 14474
.. date: 8950
.. nonce: 8TuKNN
.. section: Core and Builtins

Save and restore exception state in thread.start_new_thread() while writing
error message if the thread leaves an unhandled exception.

..

.. bpo: 13019
.. date: 8949
.. nonce: LYHgJO
.. section: Core and Builtins

Fix potential reference leaks in bytearray.extend().  Patch by Suman Saha.

..

.. bpo: 14378
.. date: 8948
.. nonce: SYESoz
.. section: Core and Builtins

Fix compiling ast.ImportFrom nodes with a "__future__" string as the module
name that was not interned.

..

.. bpo: 14331
.. date: 8947
.. nonce: xcTH6m
.. section: Core and Builtins

Use significantly less stack space when importing modules by allocating path
buffers on the heap instead of the stack.

..

.. bpo: 14334
.. date: 8946
.. nonce: l8YQhg
.. section: Core and Builtins

Prevent in a segfault in type.__getattribute__ when it was not passed
strings. Also fix segfaults in the __getattribute__ and __setattr__ methods
of old-style classes.

..

.. bpo: 14161
.. date: 8945
.. nonce: VorA5N
.. section: Core and Builtins

fix the __repr__ of file objects to escape the file name.

..

.. bpo: 1469629
.. date: 8944
.. nonce: ej86Z-
.. section: Core and Builtins

Allow cycles through an object's __dict__ slot to be collected. (For example
if ``x.__dict__ is x``).

..

.. bpo: 13521
.. date: 8943
.. nonce: L_inbK
.. section: Core and Builtins

dict.setdefault() now does only one lookup for the given key, making it
"atomic" for many purposes.  Patch by Filip Gruszczyński.

..

.. bpo: 1602133
.. date: 8942
.. nonce: lYqpUo
.. section: Core and Builtins

on Mac OS X a shared library build (``--enable-shared``) now fills the
``os.environ`` variable correctly.

..

.. bpo: 10538
.. date: 8941
.. nonce: F7Gerr
.. section: Core and Builtins

When using the "s*" code with PyArg_ParseTuple() to fill a Py_buffer
structure with data from an object supporting only the old PyBuffer
interface, a reference to the source objects is now properly added to the
Py_buffer.obj member.

..

.. bpo: 12718
.. date: 8940
.. nonce: lrGueo
.. section: Library

Fix interaction with winpdb overriding __import__ by setting importer
attribute on BaseConfigurator instance.

..

.. bpo: 17521
.. date: 8939
.. nonce: rDGKe7
.. section: Library

Corrected non-enabling of logger following two calls to fileConfig().

..

.. bpo: 17508
.. date: 8938
.. nonce: sO6qmY
.. section: Library

Corrected MemoryHandler configuration in dictConfig() where the target
handler wasn't configured first.

..

.. bpo: 10212
.. date: 8937
.. nonce: XGXAQQ
.. section: Library

cStringIO and struct.unpack support new buffer objects.

..

.. bpo: 12098
.. date: 8936
.. nonce: kcQpDY
.. section: Library

multiprocessing on Windows now starts child processes using the same
sys.flags as the current process.  Initial patch by Sergey Mezentsev.

..

.. bpo: 8862
.. date: 8935
.. nonce: WpBti_
.. section: Library

Fixed curses cleanup when getkey is interrupted by a signal.

..

.. bpo: 9090
.. date: 8934
.. nonce: FUyySi
.. section: Library

When a socket with a timeout fails with EWOULDBLOCK or EAGAIN, retry the
select() loop instead of bailing out.  This is because select() can
incorrectly report a socket as ready for reading (for example, if it
received some data with an invalid checksum).

..

.. bpo: 1285086
.. date: 8933
.. nonce: U7ONBL
.. section: Library

Get rid of the refcounting hack and speed up urllib.unquote().

..

.. bpo: 17368
.. date: 8932
.. nonce: y8QiJd
.. section: Library

Fix an off-by-one error in the Python JSON decoder that caused a failure
while decoding empty object literals when object_pairs_hook was specified.

..

.. bpo: 17278
.. date: 8931
.. nonce: pOF4An
.. section: Library

Fix a crash in heapq.heappush() and heapq.heappop() when the list is being
resized concurrently.

..

.. bpo: 17018
.. date: 8930
.. nonce: l8_sa8
.. section: Library

Make Process.join() retry if os.waitpid() fails with EINTR.

..

.. bpo: 14720
.. date: 8929
.. nonce: rjT0OJ
.. section: Library

sqlite3: Convert datetime microseconds correctly. Patch by Lowe Thiderman.

..

.. bpo: 17225
.. date: 8928
.. nonce: Z396fN
.. section: Library

JSON decoder now counts columns in the first line starting with 1, as in
other lines.

..

.. bpo: 7842
.. date: 8927
.. nonce: p2kMAC
.. section: Library

backported fix for py_compile.compile() syntax error handling.

..

.. bpo: 13153
.. date: 8926
.. nonce: IN7Ddm
.. section: Library

Tkinter functions now raise TclError instead of ValueError when a unicode
argument contains non-BMP character.

..

.. bpo: 9669
.. date: 8925
.. nonce: Td9alB
.. section: Library

Protect re against infinite loops on zero-width matching in non-greedy
repeat.  Patch by Matthew Barnett.

..

.. bpo: 13169
.. date: 8924
.. nonce: txDMgH
.. section: Library

The maximal repetition number in a regular expression has been increased
from 65534 to 2147483647 (on 32-bit platform) or 4294967294 (on 64-bit).

..

.. bpo: 16743
.. date: 8923
.. nonce: 7vwfDN
.. section: Library

Fix mmap overflow check on 32 bit Windows.

..

.. bpo: 11311
.. date: 8922
.. nonce: NvgObQ
.. section: Library

StringIO.readline(0) now returns an empty string as all other file-like
objects.

..

.. bpo: 16800
.. date: 8921
.. nonce: HxSo58
.. section: Library

tempfile.gettempdir() no longer left temporary files when the disk is full.
Original patch by Amir Szekely.

..

.. bpo: 13555
.. date: 8920
.. nonce: bXG1a4
.. section: Library

cPickle now supports files larger than 2 GiB.

..

.. bpo: 17052
.. date: 8919
.. nonce: TEWdzQ
.. section: Library

unittest discovery should use self.testLoader.

..

.. bpo: 4591
.. date: 8918
.. nonce: 9wJlD8
.. section: Library

Uid and gid values larger than 2**31 are supported now.

..

.. bpo: 17141
.. date: 8917
.. nonce: pXFICp
.. section: Library

random.vonmisesvariate() no more hangs for large kappas.

..

.. bpo: 17149
.. date: 8916
.. nonce: ONtJnJ
.. section: Library

Fix random.vonmisesvariate to always return results in the range [0,
2*math.pi].

..

.. bpo: 1470548
.. date: 8915
.. nonce: xr_CsJ
.. section: Library

XMLGenerator now works with UTF-16 and UTF-32 encodings.

..

.. bpo: 6975
.. date: 8914
.. nonce: 4GoPXW
.. section: Library

os.path.realpath() now correctly resolves multiple nested symlinks on POSIX
platforms.

..

.. bpo: 7358
.. date: 8913
.. nonce: -jPlTz
.. section: Library

cStringIO.StringIO now supports writing to and reading from a stream larger
than 2 GiB on 64-bit systems.

..

.. bpo: 10355
.. date: 8912
.. nonce: lkhqo9
.. section: Library

In SpooledTemporaryFile class mode and name properties and xreadlines method
now work for unrolled files.  encoding and newlines properties now removed
as they have no sense and always produced AttributeError.

..

.. bpo: 16686
.. date: 8911
.. nonce: zT_bpe
.. section: Library

Fixed a lot of bugs in audioop module.  Fixed crashes in avgpp(), maxpp()
and ratecv().  Fixed an integer overflow in add(), bias(), and ratecv().
reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
max() and rms() no more returns a negative result and various other
functions now work correctly with 32-bit sample -0x80000000.

..

.. bpo: 17073
.. date: 8910
.. nonce: wlCar1
.. section: Library

Fix some integer overflows in sqlite3 module.

..

.. bpo: 6083
.. date: 8909
.. nonce: MVAIwI
.. section: Library

Fix multiple segmentation faults occurred when PyArg_ParseTuple parses
nested mutating sequence.

..

.. bpo: 5289
.. date: 8908
.. nonce: 4azz2m
.. section: Library

Fix ctypes.util.find_library on Solaris.

..

.. bpo: 17106
.. date: 8907
.. nonce: -2_cbV
.. section: Library

Fix a segmentation fault in io.TextIOWrapper when an underlying stream or a
decoder produces data of an unexpected type (i.e. when io.TextIOWrapper
initialized with text stream or use bytes-to-bytes codec).

..

.. bpo: 13994
.. date: 8906
.. nonce: Y89GZB
.. section: Library

Add compatibility alias in distutils.ccompiler for
distutils.sysconfig.customize_compiler.

..

.. bpo: 15633
.. date: 8905
.. nonce: t407yZ
.. section: Library

httplib.HTTPResponse is now mark closed when the server sends less than the
advertised Content-Length.

..

.. bpo: 15881
.. date: 8904
.. nonce: UfzKmP
.. section: Library

Fixed atexit hook in multiprocessing.

..

.. bpo: 14340
.. date: 8903
.. nonce: 6XMfoZ
.. section: Library

Upgrade the embedded expat library to version 2.1.0.

..

.. bpo: 11159
.. date: 8902
.. nonce: P-3Mf3
.. section: Library

SAX parser now supports unicode file names.

..

.. bpo: 6972
.. date: 8901
.. nonce: e2Lq4T
.. section: Library

The zipfile module no longer overwrites files outside of its destination
path when extracting malicious zip files.

..

.. bpo: 17049
.. date: 8900
.. nonce: CoOx8W
.. section: Library

Localized calendar methods now return unicode if a locale includes an
encoding and the result string contains month or weekday (was regression
from Python 2.6).

..

.. bpo: 4844
.. date: 8899
.. nonce: jvXWfL
.. section: Library

ZipFile now raises BadZipfile when opens a ZIP file with an incomplete "End
of Central Directory" record.  Original patch by Guilherme Polo and Alan
McIntyre.

..

.. bpo: 15505
.. date: 8898
.. nonce: -pH9Mh
.. section: Library

`unittest.installHandler` no longer assumes SIGINT handler is set to a
callable object.

..

.. bpo: 17051
.. date: 8897
.. nonce: erKg1U
.. section: Library

Fix a memory leak in os.path.isdir() on Windows. Patch by Robert Xiao.

..

.. bpo: 13454
.. date: 8896
.. nonce: 81rUI-
.. section: Library

Fix a crash when deleting an iterator created by itertools.tee() if all
other iterators were very advanced before.

..

.. bpo: 16992
.. date: 8895
.. nonce: s_RXIM
.. section: Library

On Windows in signal.set_wakeup_fd, validate the file descriptor argument.

..

.. bpo: 15861
.. date: 8894
.. nonce: gGkxCM
.. section: Library

tkinter now correctly works with lists and tuples containing strings with
whitespaces, backslashes or unbalanced braces.

..

.. bpo: 10527
.. date: 8893
.. nonce: EuNKip
.. section: Library

Use poll() instead of select() for multiprocessing pipes.

..

.. bpo: 9720
.. date: 8892
.. nonce: XPXDks
.. section: Library

zipfile now writes correct local headers for files larger than 4 GiB.

..

.. bpo: 13899
.. date: 8891
.. nonce: yz3hXA
.. section: Library

\A, \Z, and \B now correctly match the A, Z, and B literals when used inside
character classes (e.g. '[\A]').  Patch by Matthew Barnett.

..

.. bpo: 16398
.. date: 8890
.. nonce: JU7cL4
.. section: Library

Optimize deque.rotate() so that it only moves pointers and doesn't touch the
underlying data with increfs and decrefs.

..

.. bpo: 15109
.. date: 8889
.. nonce: Qk6XVt
.. section: Library

Fix regression in sqlite3's iterdump method where it would die with an
encoding error if the database contained string values containing non-ASCII.
(Regression was introduced by fix for 9750).

..

.. bpo: 15545
.. date: 8888
.. nonce: FCBNNV
.. section: Library

Fix regression in sqlite3's iterdump method where it was failing if the
connection used a row factory (such as sqlite3.Row) that produced unsortable
objects. (Regression was introduced by fix for 9750).

..

.. bpo: 16828
.. date: 8887
.. nonce: KB886T
.. section: Library

Fix error incorrectly raised by bz2.compress(''). Patch by Martin Packman.

..

.. bpo: 9586
.. date: 8886
.. nonce: 9tuKgR
.. section: Library

Redefine SEM_FAILED on MacOSX to keep compiler happy.

..

.. bpo: 10527
.. date: 8885
.. nonce: 7btVvN
.. section: Library

make multiprocessing use poll() instead of select() if available.

..

.. bpo: 16485
.. date: 8884
.. nonce: aUJyTZ
.. section: Library

Now file descriptors are closed if file header patching failed on closing an
aifc file.

..

.. bpo: 12065
.. date: 8883
.. nonce: FBZpyD
.. section: Library

connect_ex() on an SSL socket now returns the original errno when the
socket's timeout expires (it used to return None).

..

.. bpo: 16713
.. date: 8882
.. nonce: YX5wyQ
.. section: Library

Fix the parsing of tel url with params using urlparse module.

..

.. bpo: 16443
.. date: 8881
.. nonce: SnGosi
.. section: Library

Add docstrings to regular expression match objects. Patch by Anton Kasyanov.

..

.. bpo: 8853
.. date: 8880
.. nonce: vSQPAG
.. section: Library

Allow port to be of type long for socket.getaddrinfo().

..

.. bpo: 16597
.. date: 8879
.. nonce: z8uMEN
.. section: Library

In buffered and text IO, call close() on the underlying stream if invoking
flush() fails.

..

.. bpo: 15701
.. date: 8878
.. nonce: rAh1Sy
.. section: Library

Fix HTTPError info method call to return the headers information.

..

.. bpo: 16646
.. date: 8877
.. nonce: Tc3vsq
.. section: Library

ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy
Storchaka)

..

.. bpo: 16626
.. date: 8876
.. nonce: P9xKcu
.. section: Library

Fix infinite recursion in glob.glob() on Windows when the pattern contains a
wildcard in the drive or UNC path.  Patch by Serhiy Storchaka.

..

.. bpo: 16298
.. date: 8875
.. nonce: kN3o52
.. section: Library

In HTTPResponse.read(), close the socket when there is no Content-Length and
the incoming stream is finished.  Patch by Eran Rundstein.

..

.. bpo: 16248
.. date: 8874
.. nonce: yOopnt
.. section: Library

Disable code execution from the user's home directory by tkinter when the -E
flag is passed to Python.  Patch by Zachary Ware.

..

.. bpo: 16628
.. date: 8873
.. nonce: qnWML3
.. section: Library

Fix a memory leak in ctypes.resize().

..

.. bpo: 13614
.. date: 8872
.. nonce: buqA2j
.. section: Library

Fix setup.py register failure with invalid rst in description. Patch by
Julien Courteau and Pierre Paul Lefebvre.

..

.. bpo: 10182
.. date: 8871
.. nonce: 0nH79H
.. section: Library

The re module doesn't truncate indices to 32 bits anymore. Patch by Serhiy
Storchaka.

..

.. bpo: 16573
.. date: 8870
.. nonce: kKjx72
.. section: Library

In 2to3, treat enumerate() like a consuming call, so superfluous list()
calls aren't added to filter(), map(), and zip() which are directly passed
enumerate().

..

.. bpo: 1160
.. date: 8869
.. nonce: n79fOA
.. section: Library

Fix compiling large regular expressions on UCS2 builds. Patch by Serhiy
Storchaka.

..

.. bpo: 14313
.. date: 8868
.. nonce: WpDB93
.. section: Library

zipfile now raises NotImplementedError when the compression type is unknown.

..

.. bpo: 16408
.. date: 8867
.. nonce: iqzks4
.. section: Library

Fix file descriptors not being closed in error conditions in the zipfile
module.  Patch by Serhiy Storchaka.

..

.. bpo: 16327
.. date: 8866
.. nonce: uVAHv3
.. section: Library

The subprocess module no longer leaks file descriptors used for
stdin/stdout/stderr pipes to the child when fork() fails.

..

.. bpo: 14396
.. date: 8865
.. nonce: aUgPuV
.. section: Library

Handle the odd rare case of waitpid returning 0 when not expected in
subprocess.Popen.wait().

..

.. bpo: 16411
.. date: 8864
.. nonce: 9Mn07O
.. section: Library

Fix a bug where zlib.decompressobj().flush() might try to access
previously-freed memory. Patch by Serhiy Storchaka.

..

.. bpo: 16350
.. date: 8863
.. nonce: b77tF6
.. section: Library

zlib.decompressobj().decompress() now accumulates data from successive calls
after EOF in unused_data, instead of only saving the argument to the last
call. decompressobj().flush() now correctly sets unused_data and
unconsumed_tail. A bug in the handling of MemoryError when setting the
unconsumed_tail attribute has also been fixed. Patch by Serhiy Storchaka.

..

.. bpo: 12759
.. date: 8862
.. nonce: c7p8aw
.. section: Library

sre_parse now raises a proper error when the name of the group is missing.
Initial patch by Serhiy Storchaka.

..

.. bpo: 16152
.. date: 8861
.. nonce: Lypvsp
.. section: Library

fix tokenize to ignore whitespace at the end of the code when no newline is
found.  Patch by Ned Batchelder.

..

.. bpo: 16230
.. date: 8860
.. nonce: Y7XU0-
.. section: Library

Fix a crash in select.select() when one of the lists changes size while
iterated on.  Patch by Serhiy Storchaka.

..

.. bpo: 16228
.. date: 8859
.. nonce: zsna-8
.. section: Library

Fix a crash in the json module where a list changes size while it is being
encoded.  Patch by Serhiy Storchaka.

..

.. bpo: 14897
.. date: 8858
.. nonce: OGbALj
.. section: Library

Enhance error messages of struct.pack and struct.pack_into. Patch by Matti
Mäki.

..

.. bpo: 12890
.. date: 8857
.. nonce: kDaDxa
.. section: Library

cgitb no longer prints spurious <p> tags in text mode when the logdir option
is specified.

..

.. bpo: 14398
.. date: 8856
.. nonce: jPT4ME
.. section: Library

Fix size truncation and overflow bugs in the bz2 module.

..

.. bpo: 5148
.. date: 8855
.. nonce: VHoO2C
.. section: Library

Ignore 'U' in mode given to gzip.open() and gzip.GzipFile().

..

.. bpo: 16220
.. date: 8854
.. nonce: KAtvbg
.. section: Library

wsgiref now always calls close() on an iterable response. Patch by Brent
Tubbs.

..

.. bpo: 16461
.. date: 8853
.. nonce: 4XLB7L
.. section: Library

Wave library should be able to deal with 4GB wav files, and sample rate of
44100 Hz.

..

.. bpo: 16176
.. date: 8852
.. nonce: iZz-x5
.. section: Library

Properly identify Windows 8 via platform.platform()

..

.. bpo: 15756
.. date: 8851
.. nonce: cV4TEW
.. section: Library

subprocess.poll() now properly handles errno.ECHILD to return a returncode
of 0 when the child has already exited or cannot be waited on.

..

.. bpo: 12376
.. date: 8850
.. nonce: mkpQwv
.. section: Library

Pass on parameters in TextTestResult.__init__ super call

..

.. bpo: 15222
.. date: 8849
.. nonce: lOnn6t
.. section: Library

Insert blank line after each message in mbox mailboxes

..

.. bpo: 16013
.. date: 8848
.. nonce: lJImKp
.. section: Library

Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy
Storchaka.

..

.. bpo: 15421
.. date: 8847
.. nonce: SUEEPv
.. section: Library

fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR.
Patch by Cédric Krier.

..

.. bpo: 15970
.. date: 8846
.. nonce: 8deo2K
.. section: Library

xml.etree.ElementTree now serializes correctly the empty HTML elements
'meta' and 'param'.

..

.. bpo: 15676
.. date: 8845
.. nonce: V_auQh
.. section: Library

Now "mmap" check for empty files before doing the offset check.  Patch by
Steven Willis.

..

.. bpo: 15340
.. date: 8844
.. nonce: Aqn0c1
.. section: Library

Fix importing the random module when /dev/urandom cannot be opened.  This
was a regression caused by the hash randomization patch.

..

.. bpo: 15841
.. date: 8843
.. nonce: M11nwa
.. section: Library

The readable(), writable() and seekable() methods of io.BytesIO and
io.StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.

..

.. bpo: 16112
.. date: 8842
.. nonce: 7UQthq
.. section: Library

platform.architecture does not correctly escape argument to /usr/bin/file.
Patch by David Benjamin.

..

.. bpo: 12776
.. date: 8841
.. nonce: MzM-xL
.. section: Library

call argparse type function (specified by add_argument) only once. Before,
the type function was called twice in the case where the default was
specified and the argument was given as well.  This was especially
problematic for the FileType type, as a default file would always be opened,
even if a file argument was specified on the command line. (See also:
bpo-11839)

..

.. bpo: 15906
.. date: 8840
.. nonce: sY-Tgu
.. section: Library

Fix a regression in argparse caused by the preceding change, when
action='append', type='str' and default=[].

..

.. bpo: 13370
.. date: 8839
.. nonce: E9RveK
.. section: Library

Ensure that ctypes works on Mac OS X when Python is compiled using the clang
compiler

..

.. bpo: 15544
.. date: 8838
.. nonce: 3QjWdU
.. section: Library

Fix Decimal.__float__ to work with payload-carrying NaNs.

..

.. bpo: 15199
.. date: 8837
.. nonce: iOOV1X
.. section: Library

Fix JavaScript's default MIME type to application/javascript. Patch by
Bohuslav Kabrda.

..

.. bpo: 15477
.. date: 8836
.. nonce: 9gGqPw
.. section: Library

In cmath and math modules, add workaround for platforms whose
system-supplied log1p function doesn't respect signs of zeros.

..

.. bpo: 11062
.. date: 8835
.. nonce: ZhTF21
.. section: Library

Fix adding a message from file to Babyl mailbox.

..

.. bpo: 15646
.. date: 8834
.. nonce: VbhKq4
.. section: Library

Prevent equivalent of a fork bomb when using multiprocessing on Windows
without the "if __name__ == '__main__'" idiom.

..

.. bpo: 15567
.. date: 8833
.. nonce: MGuZ8N
.. section: Library

Fix NameError when running threading._test

..

.. bpo: 15424
.. date: 8832
.. nonce: 6ZaCfJ
.. section: Library

Add a __sizeof__ implementation for array objects. Patch by Ludwig Hähne.

..

.. bpo: 15538
.. date: 8831
.. nonce: CJHtAs
.. section: Library

Fix compilation of the getnameinfo() / getaddrinfo() emulation code.  Patch
by Philipp Hagemeister.

..

.. bpo: 12288
.. date: 8830
.. nonce: EeBUVC
.. section: Library

Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.

..

.. bpo: 15489
.. date: 8829
.. nonce: P9-vH9
.. section: Library

Add a __sizeof__ implementation for BytesIO objects. Patch by Serhiy
Storchaka.

..

.. bpo: 15469
.. date: 8828
.. nonce: eFsJXX
.. section: Library

Add a __sizeof__ implementation for deque objects. Patch by Serhiy
Storchaka.

..

.. bpo: 15487
.. date: 8827
.. nonce: vtEBtw
.. section: Library

Add a __sizeof__ implementation for buffered I/O objects. Patch by Serhiy
Storchaka.

..

.. bpo: 15512
.. date: 8826
.. nonce: JO3bbV
.. section: Library

Add a __sizeof__ implementation for parser. Patch by Serhiy Storchaka.

..

.. bpo: 15402
.. date: 8825
.. nonce: MWs0d1
.. section: Library

An issue in the struct module that caused sys.getsizeof to return incorrect
results for struct.Struct instances has been fixed. Initial patch by Serhiy
Storchaka.

..

.. bpo: 15232
.. date: 8824
.. nonce: R723JW
.. section: Library

when mangle_from is True, email.Generator now correctly mangles lines that
start with 'From ' that occur in a MIME preamble or epilog.

..

.. bpo: 13922
.. date: 8823
.. nonce: mg0ypz
.. section: Library

argparse no longer incorrectly strips '--'s that appear after the first one.

..

.. bpo: 12353
.. date: 8822
.. nonce: S3NUQb
.. section: Library

argparse now correctly handles null argument values.

..

.. bpo: 6493
.. date: 8821
.. nonce: onAuOo
.. section: Library

An issue in ctypes on Windows that caused structure bitfields of type
ctypes.c_uint32 and width 32 to incorrectly be set has been fixed.

..

.. bpo: 14635
.. date: 8820
.. nonce: R89rsl
.. section: Library

telnetlib will use poll() rather than select() when possible to avoid
failing due to the select() file descriptor limit.

..

.. bpo: 15247
.. date: 8819
.. nonce: XQlOgY
.. section: Library

FileIO now raises an error when given a file descriptor pointing to a
directory.

..

.. bpo: 14591
.. date: 8818
.. nonce: WiL398
.. section: Library

Fix bug in Random.jumpahead that could produce an invalid Mersenne Twister
state on 64-bit machines.

..

.. bpo: 5346
.. date: 8817
.. nonce: KazqNd
.. section: Library

Preserve permissions of mbox, MMDF and Babyl mailbox files on flush().

..

.. bpo: 15219
.. date: 8816
.. nonce: q8ah8W
.. section: Library

Fix a reference leak when hashlib.new() is called with invalid parameters.

..

.. bpo: 9559
.. date: 8815
.. nonce: HNrpSz
.. section: Library

If messages were only added, a new file is no longer created and renamed
over the old file when flush() is called on an mbox, MMDF or Babyl mailbox.

..

.. bpo: 14653
.. date: 8814
.. nonce: wxr1Hp
.. section: Library

email.utils.mktime_tz() no longer relies on system mktime() when timezone
offest is supplied.

..

.. bpo: 6056
.. date: 8813
.. nonce: QB7JkF
.. section: Library

Make multiprocessing use setblocking(True) on the sockets it uses.  Original
patch by J Derek Wilson.

..

.. bpo: 15101
.. date: 8812
.. nonce: IWvk9X
.. section: Library

Make pool finalizer avoid joining current thread.

..

.. bpo: 15054
.. date: 8811
.. nonce: tE72L_
.. section: Library

A bug in tokenize.tokenize that caused string literals with 'b' and 'br'
prefixes to be incorrectly tokenized has been fixed. Patch by Serhiy
Storchaka.

..

.. bpo: 15036
.. date: 8810
.. nonce: Mhm512
.. section: Library

Mailbox no longer throws an error if a flush is done between operations when
removing or changing multiple items in mbox, MMDF, or Babyl mailboxes.

..

.. bpo: 10133
.. date: 8809
.. nonce: RredST
.. section: Library

Make multiprocessing deallocate buffer if socket read fails.  Patch by
Hallvard B Furuseth.

..

.. bpo: 13854
.. date: 8808
.. nonce: ms8PU3
.. section: Library

Make multiprocessing properly handle non-integer non-string argument to
SystemExit.

..

.. bpo: 12157
.. date: 8807
.. nonce: awxWQJ
.. section: Library

Make pool.map() empty iterables correctly.  Initial patch by mouad.

..

.. bpo: 14036
.. date: 8806
.. nonce: wfrN3N
.. section: Library

Add an additional check to validate that port in urlparse does not go in
illegal range and returns None.

..

.. bpo: 14888
.. date: 8805
.. nonce: 8d3GPF
.. section: Library

Fix misbehaviour of the _md5 module when called on data larger than 2**32
bytes.

..

.. bpo: 15908
.. date: 8804
.. nonce: xfD3R4
.. section: Library

Fix misbehaviour of the sha1 module when called on data larger than 2**32
bytes.

..

.. bpo: 15910
.. date: 8803
.. nonce: Xik0eY
.. section: Library

Fix misbehaviour of _md5 and sha1 modules when "updating" on data larger
than 2**32 bytes.

..

.. bpo: 14875
.. date: 8802
.. nonce: pGNN-W
.. section: Library

Use float('inf') instead of float('1e66666') in the json module.

..

.. bpo: 14572
.. date: 8801
.. nonce: FxInwF
.. section: Library

Prevent build failures with pre-3.5.0 versions of sqlite3, such as was
shipped with Centos 5 and Mac OS X 10.4.

..

.. bpo: 14426
.. date: 8800
.. nonce: GSay45
.. section: Library

Correct the Date format in Expires attribute of Set-Cookie Header in
Cookie.py.

..

.. bpo: 14721
.. date: 8799
.. nonce: 3gDakm
.. section: Library

Send proper header, Content-length: 0 when the body is an empty string ''.
Initial Patch contributed by Arve Knudsen.

..

.. bpo: 14072
.. date: 8798
.. nonce: 4bVZye
.. section: Library

Fix parsing of 'tel' URIs in urlparse by making the check for ports
stricter.

..

.. bpo: 9374
.. date: 8797
.. nonce: 73g_V_
.. section: Library

Generic parsing of query and fragment portions of url for any scheme.
Supported both by RFC3986 and RFC2396.

..

.. bpo: 14798
.. date: 8796
.. nonce: uw_PT-
.. section: Library

Fix the functions in pyclbr to raise an ImportError when the first part of a
dotted name is not a package. Patch by Xavier de Gaye.

..

.. bpo: 14832
.. date: 8795
.. nonce: ZyLvfY
.. section: Library

fixed the order of the argument references in the error message produced by
unittest's assertItemsEqual.

..

.. bpo: 14829
.. date: 8794
.. nonce: yWZKyP
.. section: Library

Fix bisect issues under 64-bit Windows.

..

.. bpo: 14777
.. date: 8793
.. nonce: SS0XEf
.. section: Library

tkinter may return undecoded UTF-8 bytes as a string when accessing the Tk
clipboard.  Modify clipboard_get() to first request type UTF8_STRING when no
specific type is requested in an X11 windowing environment, falling back to
the current default type STRING if that fails. Original patch by Thomas
Kluyver.

..

.. bpo: 12541
.. date: 8792
.. nonce: srvUYa
.. section: Library

Be lenient with quotes around Realm field with HTTP Basic Authentation in
urllib2.

..

.. bpo: 14662
.. date: 8791
.. nonce: kBgGen
.. section: Library

Prevent shutil failures on OS X when destination does not support chflag
operations.  Patch by Hynek Schlawack.

..

.. bpo: 14157
.. date: 8790
.. nonce: QVP6vO
.. section: Library

Fix time.strptime failing without a year on February 29th. Patch by Hynek
Schlawack.

..

.. bpo: 14768
.. date: 8789
.. nonce: UFzrQa
.. section: Library

os.path.expanduser('~/a') doesn't work correctly when HOME is '/'.

..

.. bpo: 13183
.. date: 8788
.. nonce: WXohoU
.. section: Library

Fix pdb skipping frames after hitting a breakpoint and running step.  Patch
by Xavier de Gaye.

..

.. bpo: 14664
.. date: 8787
.. nonce: pdyfQE
.. section: Library

It is now possible to use @unittest.skip{If,Unless} on a test class that
doesn't inherit from TestCase (i.e. a mixin).

..

.. bpo: 14160
.. date: 8786
.. nonce: eP9a5e
.. section: Library

TarFile.extractfile() failed to resolve symbolic links when the links were
not located in an archive subdirectory.

..

.. bpo: 14638
.. date: 8785
.. nonce: cfMimX
.. section: Library

pydoc now treats non-string __name__ values as if they were missing, instead
of raising an error.

..

.. bpo: 13684
.. date: 8784
.. nonce: GMakQh
.. section: Library

Fix httplib tunnel issue of infinite loops for certain sites which send EOF
without trailing \r\n.

..

.. bpo: 14308
.. date: 8783
.. nonce: VI_YtW
.. section: Library

Fix an exception when a "dummy" thread is in the threading module's active
list after a fork().

..

.. bpo: 14538
.. date: 8782
.. nonce: l61eIV
.. section: Library

HTMLParser can now parse correctly start tags that contain a bare '/'.

..

.. bpo: 14452
.. date: 8781
.. nonce: TPNgz8
.. section: Library

SysLogHandler no longer inserts a UTF-8 BOM into the message.

..

.. bpo: 13496
.. date: 8780
.. nonce: ZTq6yk
.. section: Library

Fix potential overflow in bisect.bisect algorithm when applied to a
collection of size > sys.maxsize / 2.

..

.. bpo: 14399
.. date: 8779
.. nonce: ucnoq5
.. section: Library

zipfile now recognizes that the archive has been modified even if only the
comment is changed.  As a consequence of this fix, ZipFile is now a new
style class.

..

.. bpo: 7978
.. date: 8778
.. nonce: DdYwzu
.. section: Library

SocketServer now restarts the select() call when EINTR is returned.  This
avoids crashing the server loop when a signal is received. Patch by Jerzy
Kozera.

..

.. bpo: 10340
.. date: 8777
.. nonce: QZDDK-
.. section: Library

asyncore - properly handle EINVAL in dispatcher constructor on OSX; avoid to
call handle_connect in case of a disconnected socket which was not meant to
connect.

..

.. bpo: 12757
.. date: 8776
.. nonce: lfCCKo
.. section: Library

Fix the skipping of doctests when python is run with -OO so that it works in
unittest's verbose mode as well as non-verbose mode.

..

.. bpo: 13694
.. date: 8775
.. nonce: qresWC
.. section: Library

asynchronous connect in asyncore.dispatcher does not set addr attribute.

..

.. bpo: 10484
.. date: 8774
.. nonce: NgDSdJ
.. section: Library

Fix the CGIHTTPServer's PATH_INFO handling problem.

..

.. bpo: 11199
.. date: 8773
.. nonce: UMivCa
.. section: Library

Fix the with urllib which hangs on particular ftp urls.

..

.. bpo: 14252
.. date: 8772
.. nonce: -5zjL9
.. section: Library

Fix subprocess.Popen.terminate() to not raise an error under Windows when
the child process has already exited.

..

.. bpo: 14195
.. date: 8771
.. nonce: XpCJYQ
.. section: Library

An issue that caused weakref.WeakSet instances to incorrectly return True
for a WeakSet instance 'a' in both 'a < a' and 'a > a' has been fixed.

..

.. bpo: 14159
.. date: 8770
.. nonce: -rJiOd
.. section: Library

Fix the len() of weak sets to return a better approximation when some
objects are dead or dying.  Moreover, the implementation is now O(1) rather
than O(n).

..

.. bpo: 2945
.. date: 8769
.. nonce: QZCfeH
.. section: Library

Make the distutils upload command aware of bdist_rpm products.

..

.. bpo: 6884
.. date: 8768
.. nonce: w-DWFF
.. section: Library

Fix long-standing bugs with MANIFEST.in parsing in distutils on Windows.

..

.. bpo: 16441
.. date: 8767
.. nonce: zm1gad
.. section: Library

Avoid excessive memory usage working with large gzip files using the gzip
module.

..

.. bpo: 15782
.. date: 8766
.. nonce: c-rtHz
.. section: Library

Prevent compile errors of OS X Carbon modules _Fm, _Qd, and _Qdoffs when
compiling with an SDK of 10.7 or later.  The OS X APIs they wrap have long
been deprecated and have now been removed with 10.7. These modules were
already empty for 64-bit builds and have been removed in Python 3.

..

.. bpo: 17477
.. date: 8765
.. nonce: mkozKG
.. section: Library

Update the bsddb module to pybsddb 5.3.0, supporting db-5.x, and dropping
support for db-4.1 and db-4.2.

..

.. bpo: 17192
.. date: 8764
.. nonce: U0oKFo
.. section: Library

Update the ctypes module's libffi to v3.0.13.  This specifically addresses a
stack misalignment issue on x86 and issues on some more recent platforms.

..

.. bpo: 12268
.. date: 8763
.. nonce: cWvcGA
.. section: Library

The io module file object write methods no longer abort early when a write
system calls is interrupted (EINTR).

..

.. bpo: 0
.. date: 8762
.. nonce: R41GNw
.. section: Library

Fix the leak of a dict in the time module when used in an embedded
interpreter that is repeatedly initialized and shutdown and reinitialized.

..

.. bpo: 12268
.. date: 8761
.. nonce: _DnsP2
.. section: Library

File readline, readlines and read or readall methods no longer lose data
when an underlying read system call is interrupted within an io module
object.  IOError is no longer raised due to a read system call returning
EINTR from within these methods.

..

.. bpo: 16012
.. date: 8760
.. nonce: O3e6G-
.. section: Library

Fix a regression in pyexpat. The parser's UseForeignDTD() method doesn't
require an argument again.

..

.. bpo: 13590
.. date: 8759
.. nonce: 1aEwh4
.. section: Library

OS X Xcode 4 - improve support for universal extension modules In
particular, fix extension module build failures when trying to use
32-bit-only installer Pythons on systems with Xcode 4 (currently OS X 10.8, 10.7,
and optionally 10.6). * Backport 3.3.0 fixes to 2.7 branch (for release in
2.7.4) * Since Xcode 4 removes ppc support, extension module builds now
check for ppc compiler support and by default remove ppc and   ppc64 archs
when they are not available. * Extension module builds now revert to using
system installed   headers and libs (/usr and /System/Library) if the SDK
used   to build the interpreter is not installed or has moved. * Try to
avoid building extension modules with deprecated   and problematic Apple
llvm-gcc compiler.  If original compiler   is not available, use clang
instead by default.

..

.. bpo: 0
.. date: 8758
.. nonce: hHxr-m
.. section: IDLE

IDLE was displaying spurious SystemExit tracebacks when running scripts that
terminated by raising SystemExit (i.e. unittest and turtledemo).

..

.. bpo: 9290
.. date: 8757
.. nonce: Msbacw
.. section: IDLE

In IDLE the sys.std* streams now implement io.TextIOBase interface and
support all mandatory methods and properties.

..

.. bpo: 16829
.. date: 8756
.. nonce: u44Uel
.. section: IDLE

IDLE printing no longer fails if there are spaces or other special
characters in the file path.

..

.. bpo: 16819
.. date: 8755
.. nonce: rcJDrk
.. section: IDLE

IDLE method completion now correctly works for unicode literals.

..

.. bpo: 16504
.. date: 8754
.. nonce: othtN_
.. section: IDLE

IDLE now catches SyntaxErrors raised by tokenizer. Patch by Roger Serwy.

..

.. bpo: 1207589
.. date: 8753
.. nonce: 0bmiue
.. section: IDLE

Add Cut/Copy/Paste items to IDLE right click Context Menu. Patch by Todd
Rovito.

..

.. bpo: 13052
.. date: 8752
.. nonce: ulRmqo
.. section: IDLE

Fix IDLE crashing when replace string in Search/Replace dialog ended with
'\'. Patch by Roger Serwy.

..

.. bpo: 9803
.. date: 8751
.. nonce: lJhnei
.. section: IDLE

Don't close IDLE on saving if breakpoint is open. Patch by Roger Serwy.

..

.. bpo: 14958
.. date: 8750
.. nonce: fWA3Eh
.. section: IDLE

Change IDLE systax highlighting to recognize all string and byte literals
currently supported in Python 2.7.

..

.. bpo: 14962
.. date: 8749
.. nonce: W_t8Sw
.. section: IDLE

Update text coloring in IDLE shell window after changing options.  Patch by
Roger Serwy.

..

.. bpo: 10997
.. date: 8748
.. nonce: D59Zo_
.. section: IDLE

Prevent a duplicate entry in IDLE's "Recent Files" menu.

..

.. bpo: 12510
.. date: 8747
.. nonce: 5hlN77
.. section: IDLE

Attempting to get invalid tooltip no longer closes IDLE. Original patch by
Roger Serwy.

..

.. bpo: 10365
.. date: 8746
.. nonce: DI-DrH
.. section: IDLE

File open dialog now works instead of crashing even when parent window is
closed. Patch by Roger Serwy.

..

.. bpo: 14876
.. date: 8745
.. nonce: 73XqgG
.. section: IDLE

Use user-selected font for highlight configuration. Patch by Roger Serwy.

..

.. bpo: 14409
.. date: 8744
.. nonce: 8SNyRR
.. section: IDLE

IDLE now properly executes commands in the Shell window when it cannot read
the normal config files on startup and has to use the built-in default key
bindings. There was previously a bug in one of the defaults.

..

.. bpo: 3573
.. date: 8743
.. nonce: FIbWrY
.. section: IDLE

IDLE hangs when passing invalid command line args (directory(ies) instead of
file(s)) (Patch by Guilherme Polo)

..

.. bpo: 5219
.. date: 8742
.. nonce: We72rp
.. section: IDLE

Prevent event handler cascade in IDLE.

..

.. bpo: 15318
.. date: 8741
.. nonce: H1-iES
.. section: IDLE

Prevent writing to sys.stdin.

..

.. bpo: 13532
.. date: 8740
.. nonce: csNEK_
.. section: IDLE

Check that arguments to sys.stdout.write are strings. (See also: bpo-15319)

..

.. bpo: 10365
.. date: 8739
.. nonce: MInibr
.. section: IDLE

File open dialog now works instead of crashing even when parent window is
closed while dialog is open.

..

.. bpo: 14018
.. date: 8738
.. nonce: HjN-7b
.. section: IDLE

Update checks for unstable system Tcl/Tk versions on OS X to include
versions shipped with OS X 10.7 and 10.8 in addition to 10.6.

..

.. bpo: 15853
.. date: 8737
.. nonce: Re1tK-
.. section: IDLE

Prevent IDLE crash on OS X when opening Preferences menu with certain
versions of Tk 8.5.  Initial patch by Kevin Walzer.

..

.. bpo: 16702
.. date: 8736
.. nonce: 3Xf_t-
.. section: Tests

test_urllib2_localnet tests now correctly ignores proxies for localhost
tests.

..

.. bpo: 13447
.. date: 8735
.. nonce: _wys-6
.. section: Tests

Add a test file to host regression tests for bugs in the scripts found in
the Tools directory.

..

.. bpo: 11420
.. date: 8734
.. nonce: J5oaxT
.. section: Tests

make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas
Wouters.

..

.. bpo: 17299
.. date: 8733
.. nonce: N_JA1r
.. section: Tests

Add test coverage for cPickle with file objects and general IO objects.
Original patch by Aman Shah.

..

.. bpo: 11963
.. date: 8732
.. nonce: _g8d_g
.. section: Tests

remove human verification from test_parser and test_subprocess.

..

.. bpo: 17249
.. date: 8731
.. nonce: wGvw7G
.. section: Tests

convert a test in test_capi to use unittest and reap threads.

..

.. bpo: 0
.. date: 8730
.. nonce: eaH1rt
.. section: Tests

We now run both test_email.py and test_email_renamed.py when running the
test_email regression test.  test_email_renamed contains some tests that
test_email does not.

..

.. bpo: 17041
.. date: 8729
.. nonce: 57V5iD
.. section: Tests

Fix testing when Python is configured with the --without-doc-strings option.

..

.. bpo: 15539
.. date: 8728
.. nonce: a1_G0Q
.. section: Tests

Added regression tests for Tools/scripts/pindent.py.

..

.. bpo: 15324
.. date: 8727
.. nonce: VlPGUN
.. section: Tests

Fix regrtest parsing of --fromfile and --randomize options.

..

.. bpo: 16618
.. date: 8726
.. nonce: a2Xoyn
.. section: Tests

Add more regression tests for glob. Patch by Serhiy Storchaka.

..

.. bpo: 16664
.. date: 8725
.. nonce: CxbZwX
.. section: Tests

Add regression tests for glob's behaviour concerning entries starting with a
".".  Patch by Sebastian Kreft.

..

.. bpo: 15747
.. date: 8724
.. nonce: TE3rVk
.. section: Tests

ZFS always returns EOPNOTSUPP when attempting to set the UF_IMMUTABLE flag
(via either chflags or lchflags); refactor affected tests in test_posix.py
to account for this.

..

.. bpo: 16549
.. date: 8723
.. nonce: 9ENPOM
.. section: Tests

Add tests for json.tools.  Initial patch by Berker Peksag and Serhiy
Storchaka.

..

.. bpo: 16559
.. date: 8722
.. nonce: JvxWbq
.. section: Tests

Add more tests for the json module, including some from the official test
suite at json.org.  Patch by Serhiy Storchaka.

..

.. bpo: 16274
.. date: 8721
.. nonce: 9-uVb_
.. section: Tests

Fix test_asyncore on Solaris.  Patch by Giampaolo Rodola'.

..

.. bpo: 15040
.. date: 8720
.. nonce: F30TYe
.. section: Tests

Close files in mailbox tests for PyPy compatibility. Original patch by Matti
Picus.

..

.. bpo: 15802
.. date: 8719
.. nonce: Ow-zrD
.. section: Tests

Fix test logic in TestMaildir.test_create_tmp. Patch by Serhiy Storchaka.

..

.. bpo: 15765
.. date: 8718
.. nonce: rH6KB2
.. section: Tests

Extend a previous fix to Solaris and OpenBSD for quirky getcwd() behaviour
(issue #9185) to NetBSD as well.

..

.. bpo: 15615
.. date: 8717
.. nonce: C9YuEt
.. section: Tests

Add some tests for the json module's handling of invalid input data.  Patch
by Kushal Das.

..

.. bpo: 15496
.. date: 8716
.. nonce: tm76dD
.. section: Tests

Add directory removal helpers for tests on Windows. Patch by Jeremy Kloth.

..

.. bpo: 15043
.. date: 8715
.. nonce: R2j8Hb
.. section: Tests

test_gdb is now skipped entirely if gdb security settings block loading of
the gdb hooks

..

.. bpo: 14589
.. date: 8714
.. nonce: 9aNtuR
.. section: Tests

Update certificate chain for sha256.tbs-internet.com, fixing a test failure
in test_ssl.

..

.. bpo: 16698
.. date: 8713
.. nonce: RgmYjY
.. section: Tests

Skip posix test_getgroups when built with OS X deployment target prior to
10.6.

..

.. bpo: 17111
.. date: 8712
.. nonce: ypc66r
.. section: Tests

Prevent test_surrogates (test_fileio) failure on OS X 10.4.

..

.. bpo: 17425
.. date: 8711
.. nonce: wTCSht
.. section: Build

Build against openssl 0.9.8y on Windows.

..

.. bpo: 16004
.. date: 8710
.. nonce: 5o_DZo
.. section: Build

Add `make touch`.

..

.. bpo: 5033
.. date: 8709
.. nonce: HKAgDA
.. section: Build

Fix building of the sqlite3 extension module when the SQLite library version
has "beta" in it. Patch by Andreas Pelme.

..

.. bpo: 17228
.. date: 8708
.. nonce: CCkAM0
.. section: Build

Fix building without pymalloc.

..

.. bpo: 17086
.. date: 8707
.. nonce: iNoopm
.. section: Build

Backport the patches from the 3.3 branch to cross-build the package.

..

.. bpo: 3754
.. date: 8706
.. nonce: sUdOUp
.. section: Build

fix typo in pthread AC_CACHE_VAL.

..

.. bpo: 17029
.. date: 8705
.. nonce: dUd1NT
.. section: Build

Let h2py search the multiarch system include directory.

..

.. bpo: 16953
.. date: 8704
.. nonce: tW1KVY
.. section: Build

Fix socket module compilation on platforms with HAVE_BROKEN_POLL. Patch by
Jeffrey Armstrong.

..

.. bpo: 16836
.. date: 8703
.. nonce: JZ-zO7
.. section: Build

Enable IPv6 support even if IPv6 is disabled on the build host.

..

.. bpo: 15923
.. date: 8702
.. nonce: PIv70V
.. section: Build

fix a mistake in asdl_c.py that resulted in a TypeError after 2801bf875a24
(see #15801).

..

.. bpo: 11715
.. date: 8701
.. nonce: M3MapP
.. section: Build

Fix multiarch detection without having Debian development tools (dpkg-dev)
installed.

..

.. bpo: 15819
.. date: 8700
.. nonce: 09XLHb
.. section: Build

Make sure we can build Python out-of-tree from a readonly source directory.
(Somewhat related to Issue #9860.)

..

.. bpo: 15822
.. date: 8699
.. nonce: aLjenQ
.. section: Build

Ensure 2to3 grammar pickles are properly installed.

..

.. bpo: 15560
.. date: 8698
.. nonce: I8yMU0
.. section: Build

Fix building _sqlite3 extension on OS X with an SDK.

..

.. bpo: 8847
.. date: 8697
.. nonce: lqI_r8
.. section: Build

Disable COMDAT folding in Windows PGO builds.

..

.. bpo: 14018
.. date: 8696
.. nonce: RHawO_
.. section: Build

Fix OS X Tcl/Tk framework checking when using OS X SDKs.

..

.. bpo: 16256
.. date: 8695
.. nonce: vrx66r
.. section: Build

OS X installer now sets correct permissions for doc directory.

..

.. bpo: 8767
.. date: 8694
.. nonce: swHbgQ
.. section: Build

Restore building with --disable-unicode. Patch by Stefano Taschini.

..

.. bpo: 0
.. date: 8693
.. nonce: wZLzuy
.. section: Build

Build against bzip2 1.0.6 and openssl 0.9.8x on Windows.

..

.. bpo: 14557
.. date: 8692
.. nonce: UCbIq7
.. section: Build

Fix extensions build on HP-UX. Patch by Adi Roiban.

..

.. bpo: 14437
.. date: 8691
.. nonce: 61tmQt
.. section: Build

Fix building the _io module under Cygwin.

..

.. bpo: 15587
.. date: 8690
.. nonce: gR7vei
.. section: Build

Enable Tk high-resolution text rendering on Macs with Retina displays.
Applies to Tkinter apps, such as IDLE, on OS X framework builds linked with
Cocoa Tk 8.5.

..

.. bpo: 17161
.. date: 8689
.. nonce: 8Qr4fl
.. section: Build

make install now also installs a python2 and python man page.

..

.. bpo: 16848
.. date: 8688
.. nonce: CtyvVC
.. section: Build

python-config now returns proper --ldflags values for OS X framework builds.

..

.. bpo: 17156
.. date: 8687
.. nonce: iaFJiz
.. section: Tools/Demos

pygettext.py now correctly escapes non-ascii characters.

..

.. bpo: 15539
.. date: 8686
.. nonce: 6bqqV-
.. section: Tools/Demos

Fix a number of bugs in Tools/scripts/pindent.py.  Now pindent.py works with
a "with" statement.  pindent.py no longer produces improper indentation.
pindent.py now works with continued lines broken after "class" or "def"
keywords and with continuations at the start of line.

..

.. bpo: 16476
.. date: 8685
.. nonce: xAomrd
.. section: Tools/Demos

Fix json.tool to avoid including trailing whitespace.

..

.. bpo: 13301
.. date: 8684
.. nonce: A4WOk5
.. section: Tools/Demos

use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py. Patch by
Serhiy Storchaka.

..

.. bpo: 15041
.. date: 8683
.. nonce: nMyhwF
.. section: Documentation

Update "see also" list in tkinter documentation.

..

.. bpo: 17412
.. date: 8682
.. nonce: 9xIwEh
.. section: Documentation

update 2.7 Doc/make.bat to also use sphinx-1.0.7.

..

.. bpo: 17047
.. date: 8681
.. nonce: sVzpby
.. section: Documentation

remove doubled words in docs and docstrings reported by Serhiy Storchaka and
Matthew Barnett.

..

.. bpo: 16406
.. date: 8680
.. nonce: _Z8alE
.. section: Documentation

combine the pages for uploading and registering to PyPI.

..

.. bpo: 16403
.. date: 8679
.. nonce: wPuYgA
.. section: Documentation

Document how distutils uses the maintainer field in PKG-INFO. Patch by Jyrki
Pulliainen.

..

.. bpo: 16695
.. date: 8678
.. nonce: O3-q4k
.. section: Documentation

Document how glob handles filenames starting with a dot. Initial patch by
Jyrki Pulliainen.

..

.. bpo: 8890
.. date: 8677
.. nonce: ldKgWT
.. section: Documentation

Stop advertising an insecure practice by replacing uses of the /tmp
directory with better alternatives in the documentation. Patch by Geoff
Wilson.

..

.. bpo: 17203
.. date: 8676
.. nonce: b42JWx
.. section: Documentation

add long option names to unittest discovery docs.

..

.. bpo: 13094
.. date: 8675
.. nonce: ujdNxz
.. section: Documentation

add "Why do lambdas defined in a loop with different values all return the
same result?" programming FAQ.

..

.. bpo: 14901
.. date: 8674
.. nonce: o_thZo
.. section: Documentation

Update portions of the Windows FAQ. Patch by Ashish Nitin Patil.

..

.. bpo: 15990
.. date: 8673
.. nonce: 41C5_M
.. section: Documentation

Improve argument/parameter documentation.

..

.. bpo: 16400
.. date: 8672
.. nonce: kDLZRV
.. section: Documentation

Update the description of which versions of a given package PyPI displays.

..

.. bpo: 15677
.. date: 8671
.. nonce: _0vY-h
.. section: Documentation

Document that zlib and gzip accept a compression level of 0 to mean 'no
compression'. Patch by Brian Brazil.

..

.. bpo: 8040
.. date: 8670
.. nonce: R8VAys
.. section: Documentation

added a version switcher to the documentation.  Patch by Yury Selivanov.

..

.. bpo: 16115
.. date: 8669
.. nonce: Ba1MH_
.. section: Documentation

Improve subprocess.Popen() documentation around args, shell, and executable
arguments.

..

.. bpo: 15979
.. date: 8668
.. nonce: UATtRZ
.. section: Documentation

Improve timeit documentation.

..

.. bpo: 16036
.. date: 8667
.. nonce: AGR4Am
.. section: Documentation

Improve documentation of built-in int()'s signature and arguments.

..

.. bpo: 15935
.. date: 8666
.. nonce: Ik7Y0z
.. section: Documentation

Clarification of argparse docs, re: add_argument() type and default
arguments.  Patch contributed by Chris Jerdonek.

..

.. bpo: 13769
.. date: 8665
.. nonce: TfRtQT
.. section: Documentation

Document the effect of ensure_ascii to the return type of JSON decoding
functions.

..

.. bpo: 14880
.. date: 8664
.. nonce: bfazFx
.. section: Documentation

Fix kwargs notation in csv.reader, .writer & .register_dialect. Patch by
Chris Rebert.

..

.. bpo: 14674
.. date: 8663
.. nonce: AMOJT_
.. section: Documentation

Add a discussion of the json module's standard compliance. Patch by Chris
Rebert.

..

.. bpo: 15630
.. date: 8662
.. nonce: ijhqyT
.. section: Documentation

Add an example for "continue" stmt in the tutorial. Patch by Daniel Ellis.

..

.. bpo: 13557
.. date: 8661
.. nonce: IHzHRn
.. section: Documentation

Clarify effect of giving two different namespaces to exec or execfile().

..

.. bpo: 14034
.. date: 8660
.. nonce: 34GDTv
.. section: Documentation

added the argparse tutorial.

..

.. bpo: 15250
.. date: 8659
.. nonce: vLLPGK
.. section: Documentation

Document that filecmp.dircmp compares files shallowly. Patch contributed by
Chris Jerdonek.

..

.. bpo: 15116
.. date: 8658
.. nonce: uDQI_8
.. section: Documentation

Remove references to appscript as it is no longer being supported.