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
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
|
.. release date: 2016-05-16
.. bpo: 26657
.. date: 9135
.. nonce: C_-XFg
.. original section: Library
.. section: Security
Fix directory traversal vulnerability with http.server on Windows. This
fixes a regression that was introduced in 3.3.4rc1 and 3.4.0rc1. Based on
patch by Philipp Hagemeister.
..
.. bpo: 26313
.. date: 9102
.. nonce: LjZAjy
.. original section: Library
.. section: Security
ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch
by Baji.
..
.. bpo: 25939
.. date: 9076
.. nonce: X49Fqd
.. original section: Library
.. section: Security
On Windows open the cert store readonly in ssl.enum_certificates.
..
.. bpo: 20041
.. date: 9253
.. nonce: TypyGp
.. section: Core and Builtins
Fixed TypeError when frame.f_trace is set to None. Patch by Xavier de Gaye.
..
.. bpo: 26168
.. date: 9252
.. nonce: -nPBL6
.. section: Core and Builtins
Fixed possible refleaks in failing Py_BuildValue() with the "N" format unit.
..
.. bpo: 26991
.. date: 9251
.. nonce: yWGNhz
.. section: Core and Builtins
Fix possible refleak when creating a function with annotations.
..
.. bpo: 27039
.. date: 9250
.. nonce: oO-wLV
.. section: Core and Builtins
Fixed bytearray.remove() for values greater than 127. Based on patch by Joe
Jevnik.
..
.. bpo: 23640
.. date: 9249
.. nonce: kvNC4c
.. section: Core and Builtins
int.from_bytes() no longer bypasses constructors for subclasses.
..
.. bpo: 27005
.. date: 9248
.. nonce: ZtcJf-
.. section: Core and Builtins
Optimized the float.fromhex() class method for exact float. It is now 2
times faster.
..
.. bpo: 18531
.. date: 9247
.. nonce: PkXgtO
.. section: Core and Builtins
Single var-keyword argument of dict subtype was passed unscathed to the
C-defined function. Now it is converted to exact dict.
..
.. bpo: 26811
.. date: 9246
.. nonce: oNzUWt
.. section: Core and Builtins
gc.get_objects() no longer contains a broken tuple with NULL pointer.
..
.. bpo: 20120
.. date: 9245
.. nonce: c-FZZc
.. section: Core and Builtins
Use RawConfigParser for .pypirc parsing, removing support for interpolation
unintentionally added with move to Python 3. Behavior no longer does any
interpolation in .pypirc files, matching behavior in Python 2.7 and
Setuptools 19.0.
..
.. bpo: 26249
.. date: 9244
.. nonce: ZbpWF3
.. section: Core and Builtins
Memory functions of the :c:func:`PyMem_Malloc` domain
(:c:data:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc allocator
<pymalloc>` rather than system :c:func:`malloc`. Applications calling
:c:func:`PyMem_Malloc` without holding the GIL can now crash: use
``PYTHONMALLOC=debug`` environment variable to validate the usage of memory
allocators in your application.
..
.. bpo: 26802
.. date: 9243
.. nonce: hWpU4v
.. section: Core and Builtins
Optimize function calls only using unpacking like ``func(*tuple)`` (no other
positional argument, no keyword): avoid copying the tuple. Patch written by
Joe Jevnik.
..
.. bpo: 26659
.. date: 9242
.. nonce: 5PRa83
.. section: Core and Builtins
Make the builtin slice type support cycle collection.
..
.. bpo: 26718
.. date: 9241
.. nonce: K5PQ8j
.. section: Core and Builtins
super.__init__ no longer leaks memory if called multiple times. NOTE: A
direct call of super.__init__ is not endorsed!
..
.. bpo: 27138
.. date: 9240
.. nonce: ifYEro
.. section: Core and Builtins
Fix the doc comment for FileFinder.find_spec().
..
.. bpo: 27147
.. date: 9239
.. nonce: tCCgmH
.. section: Core and Builtins
Mention :pep:`420` in the importlib docs.
..
.. bpo: 25339
.. date: 9238
.. nonce: ZcaC2E
.. section: Core and Builtins
PYTHONIOENCODING now has priority over locale in setting the error handler
for stdin and stdout.
..
.. bpo: 26494
.. date: 9237
.. nonce: G6eXIi
.. section: Core and Builtins
Fixed crash on iterating exhausting iterators. Affected classes are generic
sequence iterators, iterators of str, bytes, bytearray, list, tuple, set,
frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
..
.. bpo: 26574
.. date: 9236
.. nonce: D2YL_w
.. section: Core and Builtins
Optimize ``bytes.replace(b'', b'.')`` and ``bytearray.replace(b'', b'.')``.
Patch written by Josh Snider.
..
.. bpo: 26581
.. date: 9235
.. nonce: yNA7nm
.. section: Core and Builtins
If coding cookie is specified multiple times on a line in Python source code
file, only the first one is taken to account.
..
.. bpo: 19711
.. date: 9234
.. nonce: gDDPJE
.. section: Core and Builtins
Add tests for reloading namespace packages.
..
.. bpo: 21099
.. date: 9233
.. nonce: CuMWZJ
.. section: Core and Builtins
Switch applicable importlib tests to use :pep:`451` API.
..
.. bpo: 26563
.. date: 9232
.. nonce: lyrB2Q
.. section: Core and Builtins
Debug hooks on Python memory allocators now raise a fatal error if functions
of the :c:func:`PyMem_Malloc` family are called without holding the GIL.
..
.. bpo: 26564
.. date: 9231
.. nonce: xeRXaz
.. section: Core and Builtins
On error, the debug hooks on Python memory allocators now use the
:mod:`tracemalloc` module to get the traceback where a memory block was
allocated.
..
.. bpo: 26558
.. date: 9230
.. nonce: s05jz7
.. section: Core and Builtins
The debug hooks on Python memory allocator :c:func:`PyObject_Malloc` now
detect when functions are called without holding the GIL.
..
.. bpo: 26516
.. date: 9229
.. nonce: OjekqZ
.. section: Core and Builtins
Add :envvar:`PYTHONMALLOC` environment variable to set the Python memory
allocators and/or install debug hooks.
..
.. bpo: 26516
.. date: 9228
.. nonce: chNJuF
.. section: Core and Builtins
The :c:func:`PyMem_SetupDebugHooks` function can now also be used on Python
compiled in release mode.
..
.. bpo: 26516
.. date: 9227
.. nonce: q7fu1f
.. section: Core and Builtins
The :envvar:`PYTHONMALLOCSTATS` environment variable can now also be used on
Python compiled in release mode. It now has no effect if set to an empty
string.
..
.. bpo: 26516
.. date: 9226
.. nonce: 2k9k6R
.. section: Core and Builtins
In debug mode, debug hooks are now also installed on Python memory
allocators when Python is configured without pymalloc.
..
.. bpo: 26464
.. date: 9225
.. nonce: 7BreGz
.. section: Core and Builtins
Fix str.translate() when string is ASCII and first replacements removes
character, but next replacement uses a non-ASCII character or a string
longer than 1 character. Regression introduced in Python 3.5.0.
..
.. bpo: 22836
.. date: 9224
.. nonce: cimt1y
.. section: Core and Builtins
Ensure exception reports from PyErr_Display() and PyErr_WriteUnraisable()
are sensible even when formatting them produces secondary errors. This
affects the reports produced by sys.__excepthook__() and when __del__()
raises an exception.
..
.. bpo: 26302
.. date: 9223
.. nonce: UD9XQt
.. section: Core and Builtins
Correct behavior to reject comma as a legal character for cookie names.
..
.. bpo: 26136
.. date: 9222
.. nonce: eZ0t1K
.. section: Core and Builtins
Upgrade the warning when a generator raises StopIteration from
PendingDeprecationWarning to DeprecationWarning. Patch by Anish Shah.
..
.. bpo: 26204
.. date: 9221
.. nonce: x3Zp8E
.. section: Core and Builtins
The compiler now ignores all constant statements: bytes, str, int, float,
complex, name constants (None, False, True), Ellipsis and ast.Constant; not
only str and int. For example, ``1.0`` is now ignored in ``def f(): 1.0``.
..
.. bpo: 4806
.. date: 9220
.. nonce: i9m3hj
.. section: Core and Builtins
Avoid masking the original TypeError exception when using star (``*``)
unpacking in function calls. Based on patch by Hagen Fürstenau and Daniel
Urban.
..
.. bpo: 26146
.. date: 9219
.. nonce: HKrUth
.. section: Core and Builtins
Add a new kind of AST node: ``ast.Constant``. It can be used by external AST
optimizers, but the compiler does not emit directly such node.
..
.. bpo: 23601
.. date: 9218
.. nonce: 2E4seG
.. section: Core and Builtins
Sped-up allocation of dict key objects by using Python's small object
allocator. (Contributed by Julian Taylor.)
..
.. bpo: 18018
.. date: 9217
.. nonce: XKKap3
.. section: Core and Builtins
Import raises ImportError instead of SystemError if a relative import is
attempted without a known parent package.
..
.. bpo: 25843
.. date: 9216
.. nonce: NtJZie
.. section: Core and Builtins
When compiling code, don't merge constants if they are equal but have a
different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0`` is now
correctly compiled to two different functions: ``f1()`` returns ``1``
(``int``) and ``f2()`` returns ``1.0`` (``float``), even if ``1`` and
``1.0`` are equal.
..
.. bpo: 26107
.. date: 9215
.. nonce: q0LBMY
.. section: Core and Builtins
The format of the ``co_lnotab`` attribute of code objects changes to support
negative line number delta.
..
.. bpo: 26154
.. date: 9214
.. nonce: MtnRAH
.. section: Core and Builtins
Add a new private _PyThreadState_UncheckedGet() function to get the current
Python thread state, but don't issue a fatal error if it is NULL. This new
function must be used instead of accessing directly the
_PyThreadState_Current variable. The variable is no more exposed since
Python 3.5.1 to hide the exact implementation of atomic C types, to avoid
compiler issues.
..
.. bpo: 25791
.. date: 9213
.. nonce: gllzPw
.. section: Core and Builtins
If __package__ != __spec__.parent or if neither __package__ or __spec__ are
defined then ImportWarning is raised.
..
.. bpo: 22995
.. date: 9212
.. nonce: KYNKvs
.. section: Core and Builtins
[UPDATE] Comment out the one of the pickleability tests in
_PyObject_GetState() due to regressions observed in Cython-based projects.
..
.. bpo: 25961
.. date: 9211
.. nonce: Hdjjw0
.. section: Core and Builtins
Disallowed null characters in the type name.
..
.. bpo: 25973
.. date: 9210
.. nonce: Ud__ZP
.. section: Core and Builtins
Fix segfault when an invalid nonlocal statement binds a name starting with
two underscores.
..
.. bpo: 22995
.. date: 9209
.. nonce: Wq0E86
.. section: Core and Builtins
Instances of extension types with a state that aren't subclasses of list or
dict and haven't implemented any pickle-related methods (__reduce__,
__reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no
longer be pickled. Including memoryview.
..
.. bpo: 20440
.. date: 9208
.. nonce: GCwOfH
.. section: Core and Builtins
Massive replacing unsafe attribute setting code with special macro
Py_SETREF.
..
.. bpo: 25766
.. date: 9207
.. nonce: jn93Yu
.. section: Core and Builtins
Special method __bytes__() now works in str subclasses.
..
.. bpo: 25421
.. date: 9206
.. nonce: c47YEL
.. section: Core and Builtins
__sizeof__ methods of builtin types now use dynamic basic size. This allows
sys.getsize() to work correctly with their subclasses with __slots__
defined.
..
.. bpo: 25709
.. date: 9205
.. nonce: WwGm2k
.. section: Core and Builtins
Fixed problem with in-place string concatenation and utf-8 cache.
..
.. bpo: 5319
.. date: 9204
.. nonce: HxlGwI
.. section: Core and Builtins
New Py_FinalizeEx() API allowing Python to set an exit status of 120 on
failure to flush buffered streams.
..
.. bpo: 25485
.. date: 9203
.. nonce: 9qnaPt
.. section: Core and Builtins
telnetlib.Telnet is now a context manager.
..
.. bpo: 24097
.. date: 9202
.. nonce: Vt4E-i
.. section: Core and Builtins
Fixed crash in object.__reduce__() if slot name is freed inside __getattr__.
..
.. bpo: 24731
.. date: 9201
.. nonce: h9-hnz
.. section: Core and Builtins
Fixed crash on converting objects with special methods __bytes__, __trunc__,
and __float__ returning instances of subclasses of bytes, int, and float to
subclasses of bytes, int, and float correspondingly.
..
.. bpo: 25630
.. date: 9200
.. nonce: ZxzcoY
.. section: Core and Builtins
Fix a possible segfault during argument parsing in functions that accept
filesystem paths.
..
.. bpo: 23564
.. date: 9199
.. nonce: XHarGG
.. section: Core and Builtins
Fixed a partially broken sanity check in the _posixsubprocess internals
regarding how fds_to_pass were passed to the child. The bug had no actual
impact as subprocess.py already avoided it.
..
.. bpo: 25388
.. date: 9198
.. nonce: zm3uuQ
.. section: Core and Builtins
Fixed tokenizer crash when processing undecodable source code with a null
byte.
..
.. bpo: 25462
.. date: 9197
.. nonce: eXDzgO
.. section: Core and Builtins
The hash of the key now is calculated only once in most operations in C
implementation of OrderedDict.
..
.. bpo: 22995
.. date: 9196
.. nonce: 90kpuP
.. section: Core and Builtins
Default implementation of __reduce__ and __reduce_ex__ now rejects builtin
types with not defined __new__.
..
.. bpo: 24802
.. date: 9195
.. nonce: Qie066
.. section: Core and Builtins
Avoid buffer overreads when int(), float(), compile(), exec() and eval() are
passed bytes-like objects. These objects are not necessarily terminated by
a null byte, but the functions assumed they were.
..
.. bpo: 25555
.. date: 9194
.. nonce: MUpG-j
.. section: Core and Builtins
Fix parser and AST: fill lineno and col_offset of "arg" node when compiling
AST from Python objects.
..
.. bpo: 24726
.. date: 9193
.. nonce: AHk4v2
.. section: Core and Builtins
Fixed a crash and leaking NULL in repr() of OrderedDict that was mutated by
direct calls of dict methods.
..
.. bpo: 25449
.. date: 9192
.. nonce: VqTOFi
.. section: Core and Builtins
Iterating OrderedDict with keys with unstable hash now raises KeyError in C
implementations as well as in Python implementation.
..
.. bpo: 25395
.. date: 9191
.. nonce: htkE3W
.. section: Core and Builtins
Fixed crash when highly nested OrderedDict structures were garbage
collected.
..
.. bpo: 25401
.. date: 9190
.. nonce: ofrAtd
.. section: Core and Builtins
Optimize bytes.fromhex() and bytearray.fromhex(): they are now between 2x
and 3.5x faster.
..
.. bpo: 25399
.. date: 9189
.. nonce: dNKIhY
.. section: Core and Builtins
Optimize bytearray % args using the new private _PyBytesWriter API.
Formatting is now between 2.5 and 5 times faster.
..
.. bpo: 25274
.. date: 9188
.. nonce: QCGvAF
.. section: Core and Builtins
sys.setrecursionlimit() now raises a RecursionError if the new recursion
limit is too low depending at the current recursion depth. Modify also the
"lower-water mark" formula to make it monotonic. This mark is used to decide
when the overflowed flag of the thread state is reset.
..
.. bpo: 24402
.. date: 9187
.. nonce: MAgi3X
.. section: Core and Builtins
Fix input() to prompt to the redirected stdout when sys.stdout.fileno()
fails.
..
.. bpo: 25349
.. date: 9186
.. nonce: 7lBgJ8
.. section: Core and Builtins
Optimize bytes % args using the new private _PyBytesWriter API. Formatting
is now up to 2 times faster.
..
.. bpo: 24806
.. date: 9185
.. nonce: Nb0znT
.. section: Core and Builtins
Prevent builtin types that are not allowed to be subclassed from being
subclassed through multiple inheritance.
..
.. bpo: 25301
.. date: 9184
.. nonce: hUTCfr
.. section: Core and Builtins
The UTF-8 decoder is now up to 15 times as fast for error handlers:
``ignore``, ``replace`` and ``surrogateescape``.
..
.. bpo: 24848
.. date: 9183
.. nonce: HlUSuy
.. section: Core and Builtins
Fixed a number of bugs in UTF-7 decoding of misformed data.
..
.. bpo: 25267
.. date: 9182
.. nonce: SW8Gs6
.. section: Core and Builtins
The UTF-8 encoder is now up to 75 times as fast for error handlers:
``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass``. Patch
co-written with Serhiy Storchaka.
..
.. bpo: 25280
.. date: 9181
.. nonce: ivTMwd
.. section: Core and Builtins
Import trace messages emitted in verbose (-v) mode are no longer formatted
twice.
..
.. bpo: 25227
.. date: 9180
.. nonce: 19v5rp
.. section: Core and Builtins
Optimize ASCII and latin1 encoders with the ``surrogateescape`` error
handler: the encoders are now up to 3 times as fast. Initial patch written
by Serhiy Storchaka.
..
.. bpo: 25003
.. date: 9179
.. nonce: _ban92
.. section: Core and Builtins
On Solaris 11.3 or newer, os.urandom() now uses the getrandom() function
instead of the getentropy() function. The getentropy() function is blocking
to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.
..
.. bpo: 9232
.. date: 9178
.. nonce: pjsmWw
.. section: Core and Builtins
Modify Python's grammar to allow trailing commas in the argument list of a
function declaration. For example, "def f(\*, a = 3,): pass" is now legal.
Patch from Mark Dickinson.
..
.. bpo: 24965
.. date: 9177
.. nonce: wfyxbB
.. section: Core and Builtins
Implement :pep:`498` "Literal String Interpolation". This allows you to embed
expressions inside f-strings, which are converted to normal strings at run
time. Given x=3, then f'value={x}' == 'value=3'. Patch by Eric V. Smith.
..
.. bpo: 26478
.. date: 9176
.. nonce: n0dB8e
.. section: Core and Builtins
Fix semantic bugs when using binary operators with dictionary views and
tuples.
..
.. bpo: 26171
.. date: 9175
.. nonce: 8SaQEa
.. section: Core and Builtins
Fix possible integer overflow and heap corruption in zipimporter.get_data().
..
.. bpo: 25660
.. date: 9174
.. nonce: 93DzBo
.. section: Core and Builtins
Fix TAB key behaviour in REPL with readline.
..
.. bpo: 26288
.. date: 9173
.. nonce: f67RLk
.. section: Core and Builtins
Optimize PyLong_AsDouble.
..
.. bpo: 26289
.. date: 9172
.. nonce: uG9ozG
.. section: Core and Builtins
Optimize floor and modulo division for single-digit longs. Microbenchmarks
show 2-2.5x improvement. Built-in 'divmod' function is now also ~10%
faster. (See also: bpo-26315)
..
.. bpo: 25887
.. date: 9171
.. nonce: PtVIX7
.. section: Core and Builtins
Raise a RuntimeError when a coroutine object is awaited more than once.
..
.. bpo: 27057
.. date: 9170
.. nonce: YzTA_Q
.. section: Library
Fix os.set_inheritable() on Android, ioctl() is blocked by SELinux and fails
with EACCESS. The function now falls back to fcntl(). Patch written by
Michał Bednarski.
..
.. bpo: 27014
.. date: 9169
.. nonce: ui7Khn
.. section: Library
Fix infinite recursion using typing.py. Thanks to Kalle Tuure!
..
.. bpo: 27031
.. date: 9168
.. nonce: FtvDPs
.. section: Library
Removed dummy methods in Tkinter widget classes: tk_menuBar() and
tk_bindForTraversal().
..
.. bpo: 14132
.. date: 9167
.. nonce: 5wR9MN
.. section: Library
Fix urllib.request redirect handling when the target only has a query
string. Original fix by Ján Janech.
..
.. bpo: 17214
.. date: 9166
.. nonce: lUbZOV
.. section: Library
The "urllib.request" module now percent-encodes non-ASCII bytes found in
redirect target URLs. Some servers send Location header fields with
non-ASCII bytes, but "http.client" requires the request target to be
ASCII-encodable, otherwise a UnicodeEncodeError is raised. Based on patch by
Christian Heimes.
..
.. bpo: 27033
.. date: 9165
.. nonce: o4XIPr
.. section: Library
The default value of the decode_data parameter for smtpd.SMTPChannel and
smtpd.SMTPServer constructors is changed to False.
..
.. bpo: 27034
.. date: 9164
.. nonce: ptzz_S
.. section: Library
Removed deprecated class asynchat.fifo.
..
.. bpo: 26870
.. date: 9163
.. nonce: 5tCUlp
.. section: Library
Added readline.set_auto_history(), which can stop entries being
automatically added to the history list. Based on patch by Tyler Crompton.
..
.. bpo: 26039
.. date: 9162
.. nonce: JnXjiE
.. section: Library
zipfile.ZipFile.open() can now be used to write data into a ZIP file, as
well as for extracting data. Patch by Thomas Kluyver.
..
.. bpo: 26892
.. date: 9161
.. nonce: XIXb0h
.. section: Library
Honor debuglevel flag in urllib.request.HTTPHandler. Patch contributed by
Chi Hsuan Yen.
..
.. bpo: 22274
.. date: 9160
.. nonce: 0RHDMN
.. section: Library
In the subprocess module, allow stderr to be redirected to stdout even when
stdout is not redirected. Patch by Akira Li.
..
.. bpo: 26807
.. date: 9159
.. nonce: LXSPP6
.. section: Library
mock_open 'files' no longer error on readline at end of file. Patch from
Yolanda Robla.
..
.. bpo: 25745
.. date: 9158
.. nonce: -n8acU
.. section: Library
Fixed leaking a userptr in curses panel destructor.
..
.. bpo: 26977
.. date: 9157
.. nonce: 5G4HtL
.. section: Library
Removed unnecessary, and ignored, call to sum of squares helper in
statistics.pvariance.
..
.. bpo: 26002
.. date: 9156
.. nonce: bVD4pW
.. section: Library
Use bisect in statistics.median instead of a linear search. Patch by Upendra
Kuma.
..
.. bpo: 25974
.. date: 9155
.. nonce: cpOy5R
.. section: Library
Make use of new Decimal.as_integer_ratio() method in statistics module.
Patch by Stefan Krah.
..
.. bpo: 26996
.. date: 9154
.. nonce: LR__VD
.. section: Library
Add secrets module as described in :pep:`506`.
..
.. bpo: 26881
.. date: 9153
.. nonce: mdiq_L
.. section: Library
The modulefinder module now supports extended opcode arguments.
..
.. bpo: 23815
.. date: 9152
.. nonce: _krNe8
.. section: Library
Fixed crashes related to directly created instances of types in _tkinter and
curses.panel modules.
..
.. bpo: 17765
.. date: 9151
.. nonce: hiSVS1
.. section: Library
weakref.ref() no longer silently ignores keyword arguments. Patch by Georg
Brandl.
..
.. bpo: 26873
.. date: 9150
.. nonce: cYXRcH
.. section: Library
xmlrpc now raises ResponseError on unsupported type tags instead of silently
return incorrect result.
..
.. bpo: 26915
.. date: 9149
.. nonce: GoQKUL
.. section: Library
The __contains__ methods in the collections ABCs now check for identity
before checking equality. This better matches the behavior of the concrete
classes, allows sensible handling of NaNs, and makes it easier to reason
about container invariants.
..
.. bpo: 26711
.. date: 9148
.. nonce: Eu85Qw
.. section: Library
Fixed the comparison of plistlib.Data with other types.
..
.. bpo: 24114
.. date: 9147
.. nonce: RMRMtM
.. section: Library
Fix an uninitialized variable in `ctypes.util`.
The bug only occurs on SunOS when the ctypes implementation searches for the
`crle` program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos.
..
.. bpo: 26864
.. date: 9146
.. nonce: 1KgGds
.. section: Library
In urllib.request, change the proxy bypass host checking against no_proxy to
be case-insensitive, and to not match unrelated host names that happen to
have a bypassed hostname as a suffix. Patch by Xiang Zhang.
..
.. bpo: 24902
.. date: 9145
.. nonce: bwWpLj
.. section: Library
Print server URL on http.server startup. Initial patch by Felix Kaiser.
..
.. bpo: 25788
.. date: 9144
.. nonce: 9weIV5
.. section: Library
fileinput.hook_encoded() now supports an "errors" argument for passing to
open. Original patch by Joseph Hackman.
..
.. bpo: 26634
.. date: 9143
.. nonce: FZvsSb
.. section: Library
recursive_repr() now sets __qualname__ of wrapper. Patch by Xiang Zhang.
..
.. bpo: 26804
.. date: 9142
.. nonce: 9Orp-G
.. section: Library
urllib.request will prefer lower_case proxy environment variables over
UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-Peter Jansen.
..
.. bpo: 26837
.. date: 9141
.. nonce: 2FXGsD
.. section: Library
assertSequenceEqual() now correctly outputs non-stringified differing items
(like bytes in the -b mode). This affects assertListEqual() and
assertTupleEqual().
..
.. bpo: 26041
.. date: 9140
.. nonce: bVem-p
.. section: Library
Remove "will be removed in Python 3.7" from deprecation messages of
platform.dist() and platform.linux_distribution(). Patch by Kumaripaba
Miyurusara Athukorala.
..
.. bpo: 26822
.. date: 9139
.. nonce: rYSL4W
.. section: Library
itemgetter, attrgetter and methodcaller objects no longer silently ignore
keyword arguments.
..
.. bpo: 26733
.. date: 9138
.. nonce: YxaJmL
.. section: Library
Disassembling a class now disassembles class and static methods. Patch by
Xiang Zhang.
..
.. bpo: 26801
.. date: 9137
.. nonce: TQGY-7
.. section: Library
Fix error handling in :func:`shutil.get_terminal_size`, catch
:exc:`AttributeError` instead of :exc:`NameError`. Patch written by Emanuel
Barry.
..
.. bpo: 24838
.. date: 9136
.. nonce: 3Pfx8T
.. section: Library
tarfile's ustar and gnu formats now correctly calculate name and link field
limits for multibyte character encodings like utf-8.
..
.. bpo: 26717
.. date: 9134
.. nonce: jngTdu
.. section: Library
Stop encoding Latin-1-ized WSGI paths with UTF-8. Patch by Anthony Sottile.
..
.. bpo: 26782
.. date: 9133
.. nonce: JWLPrH
.. section: Library
Add STARTUPINFO to subprocess.__all__ on Windows.
..
.. bpo: 26404
.. date: 9132
.. nonce: hXw7Bs
.. section: Library
Add context manager to socketserver. Patch by Aviv Palivoda.
..
.. bpo: 26735
.. date: 9131
.. nonce: riSl3b
.. section: Library
Fix :func:`os.urandom` on Solaris 11.3 and newer when reading more than
1,024 bytes: call ``getrandom()`` multiple times with a limit of 1024 bytes
per call.
..
.. bpo: 26585
.. date: 9130
.. nonce: kfb749
.. section: Library
Eliminate http.server._quote_html() and use html.escape(quote=False). Patch
by Xiang Zhang.
..
.. bpo: 26685
.. date: 9129
.. nonce: sI_1Ff
.. section: Library
Raise OSError if closing a socket fails.
..
.. bpo: 16329
.. date: 9128
.. nonce: nuXD8W
.. section: Library
Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'.
..
.. bpo: 13952
.. date: 9127
.. nonce: SOoTVE
.. section: Library
Add .csv to mimetypes.types_map. Patch by Geoff Wilson.
..
.. bpo: 26587
.. date: 9126
.. nonce: Qo-B6C
.. section: Library
the site module now allows .pth files to specify files to be added to
sys.path (e.g. zip files).
..
.. bpo: 25609
.. date: 9125
.. nonce: t1ydQM
.. section: Library
Introduce contextlib.AbstractContextManager and typing.ContextManager.
..
.. bpo: 26709
.. date: 9124
.. nonce: luOPbP
.. section: Library
Fixed Y2038 problem in loading binary PLists.
..
.. bpo: 23735
.. date: 9123
.. nonce: Y5oQ9r
.. section: Library
Handle terminal resizing with Readline 6.3+ by installing our own SIGWINCH
handler. Patch by Eric Price.
..
.. bpo: 25951
.. date: 9122
.. nonce: 1CUASJ
.. section: Library
Change SSLSocket.sendall() to return None, as explicitly documented for
plain socket objects. Patch by Aviv Palivoda.
..
.. bpo: 26586
.. date: 9121
.. nonce: V5pZNa
.. section: Library
In http.server, respond with "413 Request header fields too large" if there
are too many header fields to parse, rather than killing the connection and
raising an unhandled exception. Patch by Xiang Zhang.
..
.. bpo: 26676
.. date: 9120
.. nonce: zLRFed
.. section: Library
Added missing XMLPullParser to ElementTree.__all__.
..
.. bpo: 22854
.. date: 9119
.. nonce: K3rMEH
.. section: Library
Change BufferedReader.writable() and BufferedWriter.readable() to always
return False.
..
.. bpo: 26492
.. date: 9118
.. nonce: YN18iz
.. section: Library
Exhausted iterator of array.array now conforms with the behavior of
iterators of other mutable sequences: it lefts exhausted even if iterated
array is extended.
..
.. bpo: 26641
.. date: 9117
.. nonce: 1ICQz0
.. section: Library
doctest.DocFileTest and doctest.testfile() now support packages (module
splitted into multiple directories) for the package parameter.
..
.. bpo: 25195
.. date: 9116
.. nonce: EOc4Po
.. section: Library
Fix a regression in mock.MagicMock. _Call is a subclass of tuple (changeset
3603bae63c13 only works for classes) so we need to implement __ne__
ourselves. Patch by Andrew Plummer.
..
.. bpo: 26644
.. date: 9115
.. nonce: 7tt1tk
.. section: Library
Raise ValueError rather than SystemError when a negative length is passed to
SSLSocket.recv() or read().
..
.. bpo: 23804
.. date: 9114
.. nonce: PP63Ff
.. section: Library
Fix SSL recv(0) and read(0) methods to return zero bytes instead of up to
1024.
..
.. bpo: 26616
.. date: 9113
.. nonce: v3QwdD
.. section: Library
Fixed a bug in datetime.astimezone() method.
..
.. bpo: 26637
.. date: 9112
.. nonce: ttiUf7
.. section: Library
The :mod:`importlib` module now emits an :exc:`ImportError` rather than a
:exc:`TypeError` if :func:`__import__` is tried during the Python shutdown
process but :data:`sys.path` is already cleared (set to ``None``).
..
.. bpo: 21925
.. date: 9111
.. nonce: xFz-hR
.. section: Library
:func:`warnings.formatwarning` now catches exceptions when calling
:func:`linecache.getline` and :func:`tracemalloc.get_object_traceback` to be
able to log :exc:`ResourceWarning` emitted late during the Python shutdown
process.
..
.. bpo: 23848
.. date: 9110
.. nonce: RkKqPi
.. section: Library
On Windows, faulthandler.enable() now also installs an exception handler to
dump the traceback of all Python threads on any Windows exception, not only
on UNIX signals (SIGSEGV, SIGFPE, SIGABRT).
..
.. bpo: 26530
.. date: 9109
.. nonce: RWN1jR
.. section: Library
Add C functions :c:func:`_PyTraceMalloc_Track` and
:c:func:`_PyTraceMalloc_Untrack` to track memory blocks using the
:mod:`tracemalloc` module. Add :c:func:`_PyTraceMalloc_GetTraceback` to get
the traceback of an object.
..
.. bpo: 26588
.. date: 9108
.. nonce: uen0XP
.. section: Library
The _tracemalloc now supports tracing memory allocations of multiple address
spaces (domains).
..
.. bpo: 24266
.. date: 9107
.. nonce: YZgVyM
.. section: Library
Ctrl+C during Readline history search now cancels the search mode when
compiled with Readline 7.
..
.. bpo: 26590
.. date: 9106
.. nonce: qEy91x
.. section: Library
Implement a safe finalizer for the _socket.socket type. It now releases the
GIL to close the socket.
..
.. bpo: 18787
.. date: 9105
.. nonce: rWyzgA
.. section: Library
spwd.getspnam() now raises a PermissionError if the user doesn't have
privileges.
..
.. bpo: 26560
.. date: 9104
.. nonce: A4WXNz
.. section: Library
Avoid potential ValueError in BaseHandler.start_response. Initial patch by
Peter Inglesby.
..
.. bpo: 26567
.. date: 9103
.. nonce: kcC99B
.. section: Library
Add a new function :c:func:`PyErr_ResourceWarning` function to pass the
destroyed object. Add a *source* attribute to
:class:`warnings.WarningMessage`. Add warnings._showwarnmsg() which uses
tracemalloc to get the traceback where source object was allocated.
..
.. bpo: 26569
.. date: 9101
.. nonce: EX8vF1
.. section: Library
Fix :func:`pyclbr.readmodule` and :func:`pyclbr.readmodule_ex` to support
importing packages.
..
.. bpo: 26499
.. date: 9100
.. nonce: NP08PI
.. section: Library
Account for remaining Content-Length in HTTPResponse.readline() and read1().
Based on patch by Silent Ghost. Also document that HTTPResponse now supports
these methods.
..
.. bpo: 25320
.. date: 9099
.. nonce: V96LIy
.. section: Library
Handle sockets in directories unittest discovery is scanning. Patch from
Victor van den Elzen.
..
.. bpo: 16181
.. date: 9098
.. nonce: P7lLvo
.. section: Library
cookiejar.http2time() now returns None if year is higher than
datetime.MAXYEAR.
..
.. bpo: 26513
.. date: 9097
.. nonce: HoPepy
.. section: Library
Fixes platform module detection of Windows Server
..
.. bpo: 23718
.. date: 9096
.. nonce: AMPC0o
.. section: Library
Fixed parsing time in week 0 before Jan 1. Original patch by Tamás Bence
Gedai.
..
.. bpo: 26323
.. date: 9095
.. nonce: KkZqEj
.. section: Library
Add Mock.assert_called() and Mock.assert_called_once() methods to
unittest.mock. Patch written by Amit Saha.
..
.. bpo: 20589
.. date: 9094
.. nonce: NsQ_I1
.. section: Library
Invoking Path.owner() and Path.group() on Windows now raise
NotImplementedError instead of ImportError.
..
.. bpo: 26177
.. date: 9093
.. nonce: HlSWer
.. section: Library
Fixed the keys() method for Canvas and Scrollbar widgets.
..
.. bpo: 15068
.. date: 9092
.. nonce: xokEVC
.. section: Library
Got rid of excessive buffering in fileinput. The bufsize parameter is now
deprecated and ignored.
..
.. bpo: 19475
.. date: 9091
.. nonce: MH2HH9
.. section: Library
Added an optional argument timespec to the datetime isoformat() method to
choose the precision of the time component.
..
.. bpo: 2202
.. date: 9090
.. nonce: dk9sd0
.. section: Library
Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls.
Initial patch by Mathieu Dupuy.
..
.. bpo: 26167
.. date: 9089
.. nonce: 3F-d12
.. section: Library
Minimized overhead in copy.copy() and copy.deepcopy(). Optimized copying and
deepcopying bytearrays, NotImplemented, slices, short lists, tuples, dicts,
sets.
..
.. bpo: 25718
.. date: 9088
.. nonce: 4EjZyv
.. section: Library
Fixed pickling and copying the accumulate() iterator with total is None.
..
.. bpo: 26475
.. date: 9087
.. nonce: JXVccY
.. section: Library
Fixed debugging output for regular expressions with the (?x) flag.
..
.. bpo: 26482
.. date: 9086
.. nonce: d635gW
.. section: Library
Allowed pickling recursive dequeues.
..
.. bpo: 26335
.. date: 9085
.. nonce: iXw5Yb
.. section: Library
Make mmap.write() return the number of bytes written like other write
methods. Patch by Jakub Stasiak.
..
.. bpo: 26457
.. date: 9084
.. nonce: Xe6Clh
.. section: Library
Fixed the subnets() methods in IP network classes for the case when
resulting prefix length is equal to maximal prefix length. Based on patch by
Xiang Zhang.
..
.. bpo: 26385
.. date: 9083
.. nonce: 50bDXm
.. section: Library
Remove the file if the internal open() call in NamedTemporaryFile() fails.
Patch by Silent Ghost.
..
.. bpo: 26402
.. date: 9082
.. nonce: k7DVuU
.. section: Library
Fix XML-RPC client to retry when the server shuts down a persistent
connection. This was a regression related to the new
http.client.RemoteDisconnected exception in 3.5.0a4.
..
.. bpo: 25913
.. date: 9081
.. nonce: 5flb95
.. section: Library
Leading ``<~`` is optional now in base64.a85decode() with adobe=True. Patch
by Swati Jaiswal.
..
.. bpo: 26186
.. date: 9080
.. nonce: R9rfiL
.. section: Library
Remove an invalid type check in importlib.util.LazyLoader.
..
.. bpo: 26367
.. date: 9079
.. nonce: Qct-9S
.. section: Library
importlib.__import__() raises ImportError like builtins.__import__() when
``level`` is specified but without an accompanying package specified.
..
.. bpo: 26309
.. date: 9078
.. nonce: ubEeiz
.. section: Library
In the "socketserver" module, shut down the request (closing the connected
socket) when verify_request() returns false. Patch by Aviv Palivoda.
..
.. bpo: 23430
.. date: 9077
.. nonce: s_mLiA
.. section: Library
Change the socketserver module to only catch exceptions raised from a
request handler that are derived from Exception (instead of BaseException).
Therefore SystemExit and KeyboardInterrupt no longer trigger the
handle_error() method, and will now to stop a single-threaded server.
..
.. bpo: 25995
.. date: 9075
.. nonce: NfcimP
.. section: Library
os.walk() no longer uses FDs proportional to the tree depth.
..
.. bpo: 25994
.. date: 9074
.. nonce: ga9rT-
.. section: Library
Added the close() method and the support of the context manager protocol for
the os.scandir() iterator.
..
.. bpo: 23992
.. date: 9073
.. nonce: O0Hhvc
.. section: Library
multiprocessing: make MapResult not fail-fast upon exception.
..
.. bpo: 26243
.. date: 9072
.. nonce: 41WSpF
.. section: Library
Support keyword arguments to zlib.compress(). Patch by Aviv Palivoda.
..
.. bpo: 26117
.. date: 9071
.. nonce: ne6p11
.. section: Library
The os.scandir() iterator now closes file descriptor not only when the
iteration is finished, but when it was failed with error.
..
.. bpo: 25949
.. date: 9070
.. nonce: -Lh9vz
.. section: Library
__dict__ for an OrderedDict instance is now created only when needed.
..
.. bpo: 25911
.. date: 9069
.. nonce: d4Zadh
.. section: Library
Restored support of bytes paths in os.walk() on Windows.
..
.. bpo: 26045
.. date: 9068
.. nonce: WmzUrX
.. section: Library
Add UTF-8 suggestion to error message when posting a non-Latin-1 string with
http.client.
..
.. bpo: 26039
.. date: 9067
.. nonce: a5Bxm4
.. section: Library
Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo.is_dir(). Patch by
Thomas Kluyver.
..
.. bpo: 12923
.. date: 9066
.. nonce: HPAu-B
.. section: Library
Reset FancyURLopener's redirect counter even if there is an exception.
Based on patches by Brian Brazil and Daniel Rocco.
..
.. bpo: 25945
.. date: 9065
.. nonce: guNgNM
.. section: Library
Fixed a crash when unpickle the functools.partial object with wrong state.
Fixed a leak in failed functools.partial constructor. "args" and "keywords"
attributes of functools.partial have now always types tuple and dict
correspondingly.
..
.. bpo: 26202
.. date: 9064
.. nonce: LPIXLg
.. section: Library
copy.deepcopy() now correctly copies range() objects with non-atomic
attributes.
..
.. bpo: 23076
.. date: 9063
.. nonce: 8rphoP
.. section: Library
Path.glob() now raises a ValueError if it's called with an invalid pattern.
Patch by Thomas Nyberg.
..
.. bpo: 19883
.. date: 9062
.. nonce: z9TsO6
.. section: Library
Fixed possible integer overflows in zipimport.
..
.. bpo: 26227
.. date: 9061
.. nonce: Fe6oiB
.. section: Library
On Windows, getnameinfo(), gethostbyaddr() and gethostbyname_ex() functions
of the socket module now decode the hostname from the ANSI code page rather
than UTF-8.
..
.. bpo: 26099
.. date: 9060
.. nonce: CH5jer
.. section: Library
The site module now writes an error into stderr if sitecustomize module can
be imported but executing the module raise an ImportError. Same change for
usercustomize.
..
.. bpo: 26147
.. date: 9059
.. nonce: i-Jc01
.. section: Library
xmlrpc now works with strings not encodable with used non-UTF-8 encoding.
..
.. bpo: 25935
.. date: 9058
.. nonce: cyni91
.. section: Library
Garbage collector now breaks reference loops with OrderedDict.
..
.. bpo: 16620
.. date: 9057
.. nonce: rxpn_Y
.. section: Library
Fixed AttributeError in msilib.Directory.glob().
..
.. bpo: 26013
.. date: 9056
.. nonce: 93RKNz
.. section: Library
Added compatibility with broken protocol 2 pickles created in old Python 3
versions (3.4.3 and lower).
..
.. bpo: 26129
.. date: 9055
.. nonce: g4RQZd
.. section: Library
Deprecated accepting non-integers in grp.getgrgid().
..
.. bpo: 25850
.. date: 9054
.. nonce: jwFPxj
.. section: Library
Use cross-compilation by default for 64-bit Windows.
..
.. bpo: 25822
.. date: 9053
.. nonce: 0Eafyi
.. section: Library
Add docstrings to the fields of urllib.parse results. Patch contributed by
Swati Jaiswal.
..
.. bpo: 22642
.. date: 9052
.. nonce: PEgS9F
.. section: Library
Convert trace module option parsing mechanism to argparse. Patch contributed
by SilentGhost.
..
.. bpo: 24705
.. date: 9051
.. nonce: IZYwjR
.. section: Library
Fix sysconfig._parse_makefile not expanding ${} vars appearing before $()
vars.
..
.. bpo: 26069
.. date: 9050
.. nonce: NaF4lN
.. section: Library
Remove the deprecated apis in the trace module.
..
.. bpo: 22138
.. date: 9049
.. nonce: nRNYkc
.. section: Library
Fix mock.patch behavior when patching descriptors. Restore original values
after patching. Patch contributed by Sean McCully.
..
.. bpo: 25672
.. date: 9048
.. nonce: fw9RJP
.. section: Library
In the ssl module, enable the SSL_MODE_RELEASE_BUFFERS mode option if it is
safe to do so.
..
.. bpo: 26012
.. date: 9047
.. nonce: IFSXNm
.. section: Library
Don't traverse into symlinks for ``**`` pattern in pathlib.Path.[r]glob().
..
.. bpo: 24120
.. date: 9046
.. nonce: Yiwa0h
.. section: Library
Ignore PermissionError when traversing a tree with pathlib.Path.[r]glob().
Patch by Ulrich Petri.
..
.. bpo: 21815
.. date: 9045
.. nonce: h7-UY8
.. section: Library
Accept ] characters in the data portion of imap responses, in order to
handle the flags with square brackets accepted and produced by servers such
as gmail.
..
.. bpo: 25447
.. date: 9044
.. nonce: -4m4xO
.. section: Library
fileinput now uses sys.stdin as-is if it does not have a buffer attribute
(restores backward compatibility).
..
.. bpo: 25971
.. date: 9043
.. nonce: vhMeG0
.. section: Library
Optimized creating Fractions from floats by 2 times and from Decimals by 3
times.
..
.. bpo: 25802
.. date: 9042
.. nonce: Y2KOnA
.. section: Library
Document as deprecated the remaining implementations of
importlib.abc.Loader.load_module().
..
.. bpo: 25928
.. date: 9041
.. nonce: JsQfKK
.. section: Library
Add Decimal.as_integer_ratio().
..
.. bpo: 25447
.. date: 9040
.. nonce: ajPRDy
.. section: Library
Copying the lru_cache() wrapper object now always works, independently from
the type of the wrapped object (by returning the original object unchanged).
..
.. bpo: 25768
.. date: 9039
.. nonce: GDj2ip
.. section: Library
Have the functions in compileall return booleans instead of ints and add
proper documentation and tests for the return values.
..
.. bpo: 24103
.. date: 9038
.. nonce: WufqrQ
.. section: Library
Fixed possible use after free in ElementTree.XMLPullParser.
..
.. bpo: 25860
.. date: 9037
.. nonce: 0hActb
.. section: Library
os.fwalk() no longer skips remaining directories when error occurs.
Original patch by Samson Lee.
..
.. bpo: 25914
.. date: 9036
.. nonce: h0V61F
.. section: Library
Fixed and simplified OrderedDict.__sizeof__.
..
.. bpo: 25869
.. date: 9035
.. nonce: eAnRH5
.. section: Library
Optimized deepcopying ElementTree; it is now 20 times faster.
..
.. bpo: 25873
.. date: 9034
.. nonce: L4Fgjm
.. section: Library
Optimized iterating ElementTree. Iterating elements Element.iter() is now
40% faster, iterating text Element.itertext() is now up to 2.5 times faster.
..
.. bpo: 25902
.. date: 9033
.. nonce: 6t2FmH
.. section: Library
Fixed various refcount issues in ElementTree iteration.
..
.. bpo: 22227
.. date: 9032
.. nonce: 5utM-Q
.. section: Library
The TarFile iterator is reimplemented using generator. This implementation
is simpler that using class.
..
.. bpo: 25638
.. date: 9031
.. nonce: yitRj4
.. section: Library
Optimized ElementTree.iterparse(); it is now 2x faster. Optimized
ElementTree parsing; it is now 10% faster.
..
.. bpo: 25761
.. date: 9030
.. nonce: JGgMOP
.. section: Library
Improved detecting errors in broken pickle data.
..
.. bpo: 25717
.. date: 9029
.. nonce: 0_xjaK
.. section: Library
Restore the previous behaviour of tolerating most fstat() errors when
opening files. This was a regression in 3.5a1, and stopped anonymous
temporary files from working in special cases.
..
.. bpo: 24903
.. date: 9028
.. nonce: 3LBdzb
.. section: Library
Fix regression in number of arguments compileall accepts when '-d' is
specified. The check on the number of arguments has been dropped completely
as it never worked correctly anyway.
..
.. bpo: 25764
.. date: 9027
.. nonce: 7WWG07
.. section: Library
In the subprocess module, preserve any exception caused by fork() failure
when preexec_fn is used.
..
.. bpo: 25771
.. date: 9026
.. nonce: It-7Qf
.. section: Library
Tweak the exception message for importlib.util.resolve_name() when 'package'
isn't specified but necessary.
..
.. bpo: 6478
.. date: 9025
.. nonce: -Bi9Hb
.. section: Library
_strptime's regexp cache now is reset after changing timezone with
time.tzset().
..
.. bpo: 14285
.. date: 9024
.. nonce: UyG8Hj
.. section: Library
When executing a package with the "python -m package" option, and package
initialization fails, a proper traceback is now reported. The "runpy"
module now lets exceptions from package initialization pass back to the
caller, rather than raising ImportError.
..
.. bpo: 19771
.. date: 9023
.. nonce: 5NG-bg
.. section: Library
Also in runpy and the "-m" option, omit the irrelevant message ". . . is a
package and cannot be directly executed" if the package could not even be
initialized (e.g. due to a bad ``*.pyc`` file).
..
.. bpo: 25177
.. date: 9022
.. nonce: aNR4Ha
.. section: Library
Fixed problem with the mean of very small and very large numbers. As a side
effect, statistics.mean and statistics.variance should be significantly
faster.
..
.. bpo: 25718
.. date: 9021
.. nonce: D9mHZF
.. section: Library
Fixed copying object with state with boolean value is false.
..
.. bpo: 10131
.. date: 9020
.. nonce: a7tptz
.. section: Library
Fixed deep copying of minidom documents. Based on patch by Marian Ganisin.
..
.. bpo: 7990
.. date: 9019
.. nonce: fpvQxH
.. section: Library
dir() on ElementTree.Element now lists properties: "tag", "text", "tail" and
"attrib". Original patch by Santoso Wijaya.
..
.. bpo: 25725
.. date: 9018
.. nonce: XIKv3R
.. section: Library
Fixed a reference leak in pickle.loads() when unpickling invalid data
including tuple instructions.
..
.. bpo: 25663
.. date: 9017
.. nonce: Ofwfqa
.. section: Library
In the Readline completer, avoid listing duplicate global names, and search
the global namespace before searching builtins.
..
.. bpo: 25688
.. date: 9016
.. nonce: 8P1HOv
.. section: Library
Fixed file leak in ElementTree.iterparse() raising an error.
..
.. bpo: 23914
.. date: 9015
.. nonce: 1sEz4J
.. section: Library
Fixed SystemError raised by unpickler on broken pickle data.
..
.. bpo: 25691
.. date: 9014
.. nonce: ZEaapY
.. section: Library
Fixed crash on deleting ElementTree.Element attributes.
..
.. bpo: 25624
.. date: 9013
.. nonce: ed-fM0
.. section: Library
ZipFile now always writes a ZIP_STORED header for directory entries. Patch
by Dingyuan Wang.
..
.. bpo: 25626
.. date: 9012
.. nonce: TQ3fvb
.. section: Library
Change three zlib functions to accept sizes that fit in Py_ssize_t, but
internally cap those sizes to UINT_MAX. This resolves a regression in 3.5
where GzipFile.read() failed to read chunks larger than 2 or 4 GiB. The
change affects the zlib.Decompress.decompress() max_length parameter, the
zlib.decompress() bufsize parameter, and the zlib.Decompress.flush() length
parameter.
..
.. bpo: 25583
.. date: 9011
.. nonce: Gk-cim
.. section: Library
Avoid incorrect errors raised by os.makedirs(exist_ok=True) when the OS
gives priority to errors such as EACCES over EEXIST.
..
.. bpo: 25593
.. date: 9010
.. nonce: 56uegI
.. section: Library
Change semantics of EventLoop.stop() in asyncio.
..
.. bpo: 6973
.. date: 9009
.. nonce: nl5cHt
.. section: Library
When we know a subprocess.Popen process has died, do not allow the
send_signal(), terminate(), or kill() methods to do anything as they could
potentially signal a different process.
..
.. bpo: 23883
.. date: 9008
.. nonce: OQS5sS
.. section: Library
Added missing APIs to __all__ to match the documented APIs for the following
modules: calendar, csv, enum, fileinput, ftplib, logging, optparse, tarfile,
threading and wave. Also added a test.support.check__all__() helper.
Patches by Jacek Kołodziej, Mauro S. M. Rodrigues and Joel Taddei.
..
.. bpo: 25590
.. date: 9007
.. nonce: KPcnfv
.. section: Library
In the Readline completer, only call getattr() once per attribute. Also
complete names of attributes such as properties and slots which are listed
by dir() but not yet created on an instance.
..
.. bpo: 25498
.. date: 9006
.. nonce: AvqEBl
.. section: Library
Fix a crash when garbage-collecting ctypes objects created by wrapping a
memoryview. This was a regression made in 3.5a1. Based on patch by
Eryksun.
..
.. bpo: 25584
.. date: 9005
.. nonce: 124mYw
.. section: Library
Added "escape" to the __all__ list in the glob module.
..
.. bpo: 25584
.. date: 9004
.. nonce: ZeWX0J
.. section: Library
Fixed recursive glob() with patterns starting with ``**``.
..
.. bpo: 25446
.. date: 9003
.. nonce: k1DByx
.. section: Library
Fix regression in smtplib's AUTH LOGIN support.
..
.. bpo: 18010
.. date: 9002
.. nonce: Azyf1C
.. section: Library
Fix the pydoc web server's module search function to handle exceptions from
importing packages.
..
.. bpo: 25554
.. date: 9001
.. nonce: UM9MlR
.. section: Library
Got rid of circular references in regular expression parsing.
..
.. bpo: 18973
.. date: 9000
.. nonce: Am9jFL
.. section: Library
Command-line interface of the calendar module now uses argparse instead of
optparse.
..
.. bpo: 25510
.. date: 8999
.. nonce: 79g7LA
.. section: Library
fileinput.FileInput.readline() now returns b'' instead of '' at the end if
the FileInput was opened with binary mode. Patch by Ryosuke Ito.
..
.. bpo: 25503
.. date: 8998
.. nonce: Zea0Y7
.. section: Library
Fixed inspect.getdoc() for inherited docstrings of properties. Original
patch by John Mark Vandenberg.
..
.. bpo: 25515
.. date: 8997
.. nonce: fQsyYG
.. section: Library
Always use os.urandom as a source of randomness in uuid.uuid4.
..
.. bpo: 21827
.. date: 8996
.. nonce: k2oreR
.. section: Library
Fixed textwrap.dedent() for the case when largest common whitespace is a
substring of smallest leading whitespace. Based on patch by Robert Li.
..
.. bpo: 25447
.. date: 8995
.. nonce: eDYc4t
.. section: Library
The lru_cache() wrapper objects now can be copied and pickled (by returning
the original object unchanged).
..
.. bpo: 25390
.. date: 8994
.. nonce: 6mSgRq
.. section: Library
typing: Don't crash on Union[str, Pattern].
..
.. bpo: 25441
.. date: 8993
.. nonce: d7zph6
.. section: Library
asyncio: Raise error from drain() when socket is closed.
..
.. bpo: 25410
.. date: 8992
.. nonce: QAs_3B
.. section: Library
Cleaned up and fixed minor bugs in C implementation of OrderedDict.
..
.. bpo: 25411
.. date: 8991
.. nonce: qsJTCb
.. section: Library
Improved Unicode support in SMTPHandler through better use of the email
package. Thanks to user simon04 for the patch.
..
.. bpo: 0
.. date: 8990
.. nonce: pFHJ0i
.. section: Library
Move the imp module from a PendingDeprecationWarning to DeprecationWarning.
..
.. bpo: 25407
.. date: 8989
.. nonce: ukNt1D
.. section: Library
Remove mentions of the formatter module being removed in Python 3.6.
..
.. bpo: 25406
.. date: 8988
.. nonce: 5MZKU_
.. section: Library
Fixed a bug in C implementation of OrderedDict.move_to_end() that caused
segmentation fault or hang in iterating after moving several items to the
start of ordered dict.
..
.. bpo: 25382
.. date: 8987
.. nonce: XQ44yE
.. section: Library
pickletools.dis() now outputs implicit memo index for the MEMOIZE opcode.
..
.. bpo: 25357
.. date: 8986
.. nonce: ebqGy-
.. section: Library
Add an optional newline parameter to binascii.b2a_base64(). base64.b64encode()
uses it to avoid a memory copy.
..
.. bpo: 24164
.. date: 8985
.. nonce: oi6H3E
.. section: Library
Objects that need calling ``__new__`` with keyword arguments, can now be
pickled using pickle protocols older than protocol version 4.
..
.. bpo: 25364
.. date: 8984
.. nonce: u_1Wi6
.. section: Library
zipfile now works in threads disabled builds.
..
.. bpo: 25328
.. date: 8983
.. nonce: Rja1Xg
.. section: Library
smtpd's SMTPChannel now correctly raises a ValueError if both decode_data
and enable_SMTPUTF8 are set to true.
..
.. bpo: 16099
.. date: 8982
.. nonce: _MTt3k
.. section: Library
RobotFileParser now supports Crawl-delay and Request-rate extensions. Patch
by Nikolay Bogoychev.
..
.. bpo: 25316
.. date: 8981
.. nonce: dHQHWI
.. section: Library
distutils raises OSError instead of DistutilsPlatformError when MSVC is not
installed.
..
.. bpo: 25380
.. date: 8980
.. nonce: sKZ6-I
.. section: Library
Fixed protocol for the STACK_GLOBAL opcode in pickletools.opcodes.
..
.. bpo: 23972
.. date: 8979
.. nonce: s2g30g
.. section: Library
Updates asyncio datagram create method allowing reuseport and reuseaddr
socket options to be set prior to binding the socket. Mirroring the existing
asyncio create_server method the reuseaddr option for datagram sockets
defaults to True if the O/S is 'posix' (except if the platform is Cygwin).
Patch by Chris Laws.
..
.. bpo: 25304
.. date: 8978
.. nonce: CsmLyI
.. section: Library
Add asyncio.run_coroutine_threadsafe(). This lets you submit a coroutine to
a loop from another thread, returning a concurrent.futures.Future. By
Vincent Michel.
..
.. bpo: 25232
.. date: 8977
.. nonce: KhKjCE
.. section: Library
Fix CGIRequestHandler to split the query from the URL at the first question
mark (?) rather than the last. Patch from Xiang Zhang.
..
.. bpo: 24657
.. date: 8976
.. nonce: h2Ag7y
.. section: Library
Prevent CGIRequestHandler from collapsing slashes in the query part of the
URL as if it were a path. Patch from Xiang Zhang.
..
.. bpo: 25287
.. date: 8975
.. nonce: KhzzMW
.. section: Library
Don't add crypt.METHOD_CRYPT to crypt.methods if it's not supported. Check
if it is supported, it may not be supported on OpenBSD for example.
..
.. bpo: 23600
.. date: 8974
.. nonce: 7J_RD5
.. section: Library
Default implementation of tzinfo.fromutc() was returning wrong results in
some cases.
..
.. bpo: 25203
.. date: 8973
.. nonce: IgDEbt
.. section: Library
Failed readline.set_completer_delims() no longer left the module in
inconsistent state.
..
.. bpo: 25011
.. date: 8972
.. nonce: VcaCd6
.. section: Library
rlcompleter now omits private and special attribute names unless the prefix
starts with underscores.
..
.. bpo: 25209
.. date: 8971
.. nonce: WxKcdJ
.. section: Library
rlcompleter now can add a space or a colon after completed keyword.
..
.. bpo: 22241
.. date: 8970
.. nonce: a-Mtw2
.. section: Library
timezone.utc name is now plain 'UTC', not 'UTC-00:00'.
..
.. bpo: 23517
.. date: 8969
.. nonce: 0ABp8q
.. section: Library
fromtimestamp() and utcfromtimestamp() methods of datetime.datetime now
round microseconds to nearest with ties going to nearest even integer
(ROUND_HALF_EVEN), as round(float), instead of rounding towards -Infinity
(ROUND_FLOOR).
..
.. bpo: 23552
.. date: 8968
.. nonce: I0T-M-
.. section: Library
Timeit now warns when there is substantial (4x) variance between best and
worst times. Patch from Serhiy Storchaka.
..
.. bpo: 24633
.. date: 8967
.. nonce: 6Unn9B
.. section: Library
site-packages/README -> README.txt.
..
.. bpo: 24879
.. date: 8966
.. nonce: YUzg_z
.. section: Library
help() and pydoc can now list named tuple fields in the order they were
defined rather than alphabetically. The ordering is determined by the
_fields attribute if present.
..
.. bpo: 24874
.. date: 8965
.. nonce: luBfgA
.. section: Library
Improve speed of itertools.cycle() and make its pickle more compact.
..
.. bpo: 0
.. date: 8964
.. nonce: mD-_3v
.. section: Library
Fix crash in itertools.cycle.__setstate__() when the first argument wasn't a
list.
..
.. bpo: 20059
.. date: 8963
.. nonce: SHv0Ji
.. section: Library
urllib.parse raises ValueError on all invalid ports. Patch by Martin Panter.
..
.. bpo: 24360
.. date: 8962
.. nonce: 5RwH-e
.. section: Library
Improve __repr__ of argparse.Namespace() for invalid identifiers. Patch by
Matthias Bussonnier.
..
.. bpo: 23426
.. date: 8961
.. nonce: PUV-Cx
.. section: Library
run_setup was broken in distutils. Patch from Alexander Belopolsky.
..
.. bpo: 13938
.. date: 8960
.. nonce: e5NSE1
.. section: Library
2to3 converts StringTypes to a tuple. Patch from Mark Hammond.
..
.. bpo: 2091
.. date: 8959
.. nonce: bp56pO
.. section: Library
open() accepted a 'U' mode string containing '+', but 'U' can only be used
with 'r'. Patch from Jeff Balogh and John O'Connor.
..
.. bpo: 8585
.. date: 8958
.. nonce: 78hPc2
.. section: Library
improved tests for zipimporter2. Patch from Mark Lawrence.
..
.. bpo: 18622
.. date: 8957
.. nonce: i6nCCW
.. section: Library
unittest.mock.mock_open().reset_mock would recurse infinitely. Patch from
Nicola Palumbo and Laurent De Buyst.
..
.. bpo: 24426
.. date: 8956
.. nonce: yCtQfT
.. section: Library
Fast searching optimization in regular expressions now works for patterns
that starts with capturing groups. Fast searching optimization now can't be
disabled at compile time.
..
.. bpo: 23661
.. date: 8955
.. nonce: 5VHJmh
.. section: Library
unittest.mock side_effects can now be exceptions again. This was a
regression vs Python 3.4. Patch from Ignacio Rossi
..
.. bpo: 13248
.. date: 8954
.. nonce: SA2hvu
.. section: Library
Remove deprecated inspect.getmoduleinfo function.
..
.. bpo: 25578
.. date: 8953
.. nonce: G6S-ft
.. section: Library
Fix (another) memory leak in SSLSocket.getpeercer().
..
.. bpo: 25530
.. date: 8952
.. nonce: hDFkwu
.. section: Library
Disable the vulnerable SSLv3 protocol by default when creating
ssl.SSLContext.
..
.. bpo: 25569
.. date: 8951
.. nonce: CfvQjK
.. section: Library
Fix memory leak in SSLSocket.getpeercert().
..
.. bpo: 25471
.. date: 8950
.. nonce: T0A02M
.. section: Library
Sockets returned from accept() shouldn't appear to be nonblocking.
..
.. bpo: 25319
.. date: 8949
.. nonce: iyuglv
.. section: Library
When threading.Event is reinitialized, the underlying condition should use a
regular lock rather than a recursive lock.
..
.. bpo: 0
.. date: 8948
.. nonce: rtZyid
.. section: Library
Skip getaddrinfo if host is already resolved. Patch by A. Jesse Jiryu Davis.
..
.. bpo: 26050
.. date: 8947
.. nonce: sclyvk
.. section: Library
Add asyncio.StreamReader.readuntil() method. Patch by Марк Коренберг.
..
.. bpo: 25924
.. date: 8946
.. nonce: Uxr2vt
.. section: Library
Avoid unnecessary serialization of getaddrinfo(3) calls on OS X versions
10.5 or higher. Original patch by A. Jesse Jiryu Davis.
..
.. bpo: 26406
.. date: 8945
.. nonce: ihvhF4
.. section: Library
Avoid unnecessary serialization of getaddrinfo(3) calls on current versions
of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis.
..
.. bpo: 26848
.. date: 8944
.. nonce: ChBOpQ
.. section: Library
Fix asyncio/subprocess.communicate() to handle empty input. Patch by Jack
O'Connor.
..
.. bpo: 27040
.. date: 8943
.. nonce: UASyCC
.. section: Library
Add loop.get_exception_handler method
..
.. bpo: 27041
.. date: 8942
.. nonce: p3893U
.. section: Library
asyncio: Add loop.create_future method
..
.. bpo: 20640
.. date: 8941
.. nonce: PmI-G8
.. section: IDLE
Add tests for idlelib.configHelpSourceEdit. Patch by Saimadhav Heblikar.
..
.. bpo: 0
.. date: 8940
.. nonce: _YJfG7
.. section: IDLE
In the 'IDLE-console differences' section of the IDLE doc, clarify how
running with IDLE affects sys.modules and the standard streams.
..
.. bpo: 25507
.. date: 8939
.. nonce: i8bNpk
.. section: IDLE
fix incorrect change in IOBinding that prevented printing. Augment IOBinding
htest to include all major IOBinding functions.
..
.. bpo: 25905
.. date: 8938
.. nonce: FzNb3B
.. section: IDLE
Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK in
README.txt and open this and NEWS.txt with 'ascii'. Re-encode CREDITS.txt to
utf-8 and open it with 'utf-8'.
..
.. bpo: 15348
.. date: 8937
.. nonce: d1Fg01
.. section: IDLE
Stop the debugger engine (normally in a user process) before closing the
debugger window (running in the IDLE process). This prevents the
RuntimeErrors that were being caught and ignored.
..
.. bpo: 24455
.. date: 8936
.. nonce: x6YqtE
.. section: IDLE
Prevent IDLE from hanging when a) closing the shell while the debugger is
active (15347); b) closing the debugger with the [X] button (15348); and c)
activating the debugger when already active (24455). The patch by Mark
Roseman does this by making two changes. 1. Suspend and resume the
gui.interaction method with the tcl vwait mechanism intended for this
purpose (instead of root.mainloop & .quit). 2. In gui.run, allow any
existing interaction to terminate first.
..
.. bpo: 0
.. date: 8935
.. nonce: Yp9LRY
.. section: IDLE
Change 'The program' to 'Your program' in an IDLE 'kill program?' message to
make it clearer that the program referred to is the currently running user
program, not IDLE itself.
..
.. bpo: 24750
.. date: 8934
.. nonce: xgsi-K
.. section: IDLE
Improve the appearance of the IDLE editor window status bar. Patch by Mark
Roseman.
..
.. bpo: 25313
.. date: 8933
.. nonce: xMXHpO
.. section: IDLE
Change the handling of new built-in text color themes to better address the
compatibility problem introduced by the addition of IDLE Dark. Consistently
use the revised idleConf.CurrentTheme everywhere in idlelib.
..
.. bpo: 24782
.. date: 8932
.. nonce: RgIPYE
.. section: IDLE
Extension configuration is now a tab in the IDLE Preferences dialog rather
than a separate dialog. The former tabs are now a sorted list. Patch by
Mark Roseman.
..
.. bpo: 22726
.. date: 8931
.. nonce: x8T0dA
.. section: IDLE
Re-activate the config dialog help button with some content about the other
buttons and the new IDLE Dark theme.
..
.. bpo: 24820
.. date: 8930
.. nonce: TFPJhr
.. section: IDLE
IDLE now has an 'IDLE Dark' built-in text color theme. It is more or less
IDLE Classic inverted, with a cobalt blue background. Strings, comments,
keywords, ... are still green, red, orange, ... . To use it with IDLEs
released before November 2015, hit the 'Save as New Custom Theme' button and
enter a new name, such as 'Custom Dark'. The custom theme will work with
any IDLE release, and can be modified.
..
.. bpo: 25224
.. date: 8929
.. nonce: 5Llwo4
.. section: IDLE
README.txt is now an idlelib index for IDLE developers and curious users.
The previous user content is now in the IDLE doc chapter. 'IDLE' now means
'Integrated Development and Learning Environment'.
..
.. bpo: 24820
.. date: 8928
.. nonce: ZUz9Fn
.. section: IDLE
Users can now set breakpoint colors in Settings -> Custom Highlighting.
Original patch by Mark Roseman.
..
.. bpo: 24972
.. date: 8927
.. nonce: uc0uNo
.. section: IDLE
Inactive selection background now matches active selection background, as
configured by users, on all systems. Found items are now always highlighted
on Windows. Initial patch by Mark Roseman.
..
.. bpo: 24570
.. date: 8926
.. nonce: s3EkNn
.. section: IDLE
Idle: make calltip and completion boxes appear on Macs affected by a tk
regression. Initial patch by Mark Roseman.
..
.. bpo: 24988
.. date: 8925
.. nonce: tXqq4T
.. section: IDLE
Idle ScrolledList context menus (used in debugger) now work on Mac Aqua.
Patch by Mark Roseman.
..
.. bpo: 24801
.. date: 8924
.. nonce: -bj_Ou
.. section: IDLE
Make right-click for context menu work on Mac Aqua. Patch by Mark Roseman.
..
.. bpo: 25173
.. date: 8923
.. nonce: EZzrPg
.. section: IDLE
Associate tkinter messageboxes with a specific widget. For Mac OSX, make
them a 'sheet'. Patch by Mark Roseman.
..
.. bpo: 25198
.. date: 8922
.. nonce: -j_BV7
.. section: IDLE
Enhance the initial html viewer now used for Idle Help. Properly indent
fixed-pitch text (patch by Mark Roseman). Give code snippet a very
Sphinx-like light blueish-gray background. Re-use initial width and height set by
users for shell and editor. When the Table of Contents (TOC) menu is used,
put the section header at the top of the screen.
..
.. bpo: 25225
.. date: 8921
.. nonce: 9pvdq6
.. section: IDLE
Condense and rewrite Idle doc section on text colors.
..
.. bpo: 21995
.. date: 8920
.. nonce: C5Rmzx
.. section: IDLE
Explain some differences between IDLE and console Python.
..
.. bpo: 22820
.. date: 8919
.. nonce: hix_8X
.. section: IDLE
Explain need for *print* when running file from Idle editor.
..
.. bpo: 25224
.. date: 8918
.. nonce: UVMYQq
.. section: IDLE
Doc: augment Idle feature list and no-subprocess section.
..
.. bpo: 25219
.. date: 8917
.. nonce: 8_9DYg
.. section: IDLE
Update doc for Idle command line options. Some were missing and notes were
not correct.
..
.. bpo: 24861
.. date: 8916
.. nonce: Ecg2yT
.. section: IDLE
Most of idlelib is private and subject to change. Use idleib.idle.* to start
Idle. See idlelib.__init__.__doc__.
..
.. bpo: 25199
.. date: 8915
.. nonce: ih7yY3
.. section: IDLE
Idle: add synchronization comments for future maintainers.
..
.. bpo: 16893
.. date: 8914
.. nonce: uIi1oB
.. section: IDLE
Replace help.txt with help.html for Idle doc display. The new
idlelib/help.html is rstripped Doc/build/html/library/idle.html. It looks
better than help.txt and will better document Idle as released. The tkinter
html viewer that works for this file was written by Rose Roseman. The now
unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
..
.. bpo: 24199
.. date: 8913
.. nonce: VKnZEv
.. section: IDLE
Deprecate unused idlelib.idlever with possible removal in 3.6.
..
.. bpo: 24790
.. date: 8912
.. nonce: hD1hlj
.. section: IDLE
Remove extraneous code (which also create 2 & 3 conflicts).
..
.. bpo: 26736
.. date: 8911
.. nonce: U_Hyqo
.. section: Documentation
Used HTTPS for external links in the documentation if possible.
..
.. bpo: 6953
.. date: 8910
.. nonce: Zk6rno
.. section: Documentation
Rework the Readline module documentation to group related functions
together, and add more details such as what underlying Readline functions
and variables are accessed.
..
.. bpo: 23606
.. date: 8909
.. nonce: 9MhIso
.. section: Documentation
Adds note to ctypes documentation regarding cdll.msvcrt.
..
.. bpo: 24952
.. date: 8908
.. nonce: RHhFPE
.. section: Documentation
Clarify the default size argument of stack_size() in the "threading" and
"_thread" modules. Patch from Mattip.
..
.. bpo: 26014
.. date: 8907
.. nonce: ptdZ_I
.. section: Documentation
Update 3.x packaging documentation: * "See also" links to the new docs are
now provided in the legacy pages * links to setuptools documentation have
been updated
..
.. bpo: 21916
.. date: 8906
.. nonce: muwCyp
.. section: Tests
Added tests for the turtle module. Patch by ingrid, Gregory Loyse and Jelle
Zijlstra.
..
.. bpo: 26295
.. date: 8905
.. nonce: sYBtj5
.. section: Tests
When using "python3 -m test --testdir=TESTDIR", regrtest doesn't add "test."
prefix to test module names.
..
.. bpo: 26523
.. date: 8904
.. nonce: em_Uzt
.. section: Tests
The multiprocessing thread pool (multiprocessing.dummy.Pool) was untested.
..
.. bpo: 26015
.. date: 8903
.. nonce: p3oWK3
.. section: Tests
Added new tests for pickling iterators of mutable sequences.
..
.. bpo: 26325
.. date: 8902
.. nonce: KOUc82
.. section: Tests
Added test.support.check_no_resource_warning() to check that no
ResourceWarning is emitted.
..
.. bpo: 25940
.. date: 8901
.. nonce: MvBwSe
.. section: Tests
Changed test_ssl to use its internal local server more. This avoids relying
on svn.python.org, which recently changed root certificate.
..
.. bpo: 25616
.. date: 8900
.. nonce: Qr-60p
.. section: Tests
Tests for OrderedDict are extracted from test_collections into separate file
test_ordered_dict.
..
.. bpo: 25449
.. date: 8899
.. nonce: MP6KNs
.. section: Tests
Added tests for OrderedDict subclasses.
..
.. bpo: 25188
.. date: 8898
.. nonce: lnLnIW
.. section: Tests
Add -P/--pgo to test.regrtest to suppress error output when running the test
suite for the purposes of a PGO build. Initial patch by Alecsandru Patrascu.
..
.. bpo: 22806
.. date: 8897
.. nonce: _QHyyV
.. section: Tests
Add ``python -m test --list-tests`` command to list tests.
..
.. bpo: 18174
.. date: 8896
.. nonce: TzH9d_
.. section: Tests
``python -m test --huntrleaks ...`` now also checks for leak of file
descriptors. Patch written by Richard Oudkerk.
..
.. bpo: 25260
.. date: 8895
.. nonce: jw3p83
.. section: Tests
Fix ``python -m test --coverage`` on Windows. Remove the list of ignored
directories.
..
.. bpo: 0
.. date: 8894
.. nonce: X-Bk5l
.. section: Tests
``PCbuild\rt.bat`` now accepts an unlimited number of arguments to pass
along to regrtest.py. Previously there was a limit of 9.
..
.. bpo: 26583
.. date: 8893
.. nonce: Up7hTl
.. section: Tests
Skip test_timestamp_overflow in test_import if bytecode files cannot be
written.
..
.. bpo: 21277
.. date: 8892
.. nonce: 7y1j9a
.. section: Build
Don't try to link _ctypes with a ffi_convenience library.
..
.. bpo: 26884
.. date: 8891
.. nonce: O8-azL
.. section: Build
Fix linking extension modules for cross builds. Patch by Xavier de Gaye.
..
.. bpo: 26932
.. date: 8890
.. nonce: 5kzaG9
.. section: Build
Fixed support of RTLD_* constants defined as enum values, not via macros (in
particular on Android). Patch by Chi Hsuan Yen.
..
.. bpo: 22359
.. date: 8889
.. nonce: HDjM4s
.. section: Build
Disable the rules for running _freeze_importlib and pgen when
cross-compiling. The output of these programs is normally saved with the source
code anyway, and is still regenerated when doing a native build. Patch by
Xavier de Gaye.
..
.. bpo: 21668
.. date: 8888
.. nonce: qWwBui
.. section: Build
Link audioop, _datetime, _ctypes_test modules to libm, except on Mac OS X.
Patch written by Chi Hsuan Yen.
..
.. bpo: 25702
.. date: 8887
.. nonce: ipxyJs
.. section: Build
A --with-lto configure option has been added that will enable link time
optimizations at build time during a make profile-opt. Some compilers and
toolchains are known to not produce stable code when using LTO, be sure to
test things thoroughly before relying on it. It can provide a few % speed up
over profile-opt alone.
..
.. bpo: 26624
.. date: 8886
.. nonce: 4fGrTl
.. section: Build
Adds validation of ucrtbase[d].dll version with warning for old versions.
..
.. bpo: 17603
.. date: 8885
.. nonce: 102DA-
.. section: Build
Avoid error about nonexistent fileblocks.o file by using a lower-level check
for st_blocks in struct stat.
..
.. bpo: 26079
.. date: 8884
.. nonce: mEzW0O
.. section: Build
Fixing the build output folder for tix-8.4.3.6. Patch by Bjoern Thiel.
..
.. bpo: 26465
.. date: 8883
.. nonce: _YR608
.. section: Build
Update Windows builds to use OpenSSL 1.0.2g.
..
.. bpo: 25348
.. date: 8882
.. nonce: FLSPfp
.. section: Build
Added ``--pgo`` and ``--pgo-job`` arguments to ``PCbuild\build.bat`` for
building with Profile-Guided Optimization. The old
``PCbuild\build_pgo.bat`` script is removed.
..
.. bpo: 25827
.. date: 8881
.. nonce: yg3DMM
.. section: Build
Add support for building with ICC to ``configure``, including a new
``--with-icc`` flag.
..
.. bpo: 25696
.. date: 8880
.. nonce: 2R_wIv
.. section: Build
Fix installation of Python on UNIX with make -j9.
..
.. bpo: 24986
.. date: 8879
.. nonce: 1WyXeU
.. section: Build
It is now possible to build Python on Windows without errors when external
libraries are not available.
..
.. bpo: 24421
.. date: 8878
.. nonce: 2zY7vM
.. section: Build
Compile Modules/_math.c once, before building extensions. Previously it
could fail to compile properly if the math and cmath builds were concurrent.
..
.. bpo: 26465
.. date: 8877
.. nonce: PkIaV8
.. section: Build
Update OS X 10.5+ 32-bit-only installer to build and link with OpenSSL
1.0.2g.
..
.. bpo: 26268
.. date: 8876
.. nonce: I3-YLh
.. section: Build
Update Windows builds to use OpenSSL 1.0.2f.
..
.. bpo: 25136
.. date: 8875
.. nonce: Vi-fmO
.. section: Build
Support Apple Xcode 7's new textual SDK stub libraries.
..
.. bpo: 24324
.. date: 8874
.. nonce: m6DZMx
.. section: Build
Do not enable unreachable code warnings when using gcc as the option does
not work correctly in older versions of gcc and has been silently removed as
of gcc-4.5.
..
.. bpo: 27053
.. date: 8873
.. nonce: 1IRbae
.. section: Windows
Updates make_zip.py to correctly generate library ZIP file.
..
.. bpo: 26268
.. date: 8872
.. nonce: Z-lJEh
.. section: Windows
Update the prepare_ssl.py script to handle OpenSSL releases that don't
include the contents of the include directory (that is, 1.0.2e and later).
..
.. bpo: 26071
.. date: 8871
.. nonce: wLxL2l
.. section: Windows
bdist_wininst created binaries fail to start and find 32bit Python
..
.. bpo: 26073
.. date: 8870
.. nonce: XwWgHp
.. section: Windows
Update the list of magic numbers in launcher
..
.. bpo: 26065
.. date: 8869
.. nonce: SkVLJp
.. section: Windows
Excludes venv from library when generating embeddable distro.
..
.. bpo: 25022
.. date: 8868
.. nonce: vAt_zr
.. section: Windows
Removed very outdated PC/example_nt/ directory.
..
.. bpo: 26799
.. date: 8867
.. nonce: gK2VXX
.. section: Tools/Demos
Fix python-gdb.py: don't get C types once when the Python code is loaded,
but get C types on demand. The C types can change if python-gdb.py is loaded
before the Python executable. Patch written by Thomas Ilsche.
..
.. bpo: 26271
.. date: 8866
.. nonce: wg-rzr
.. section: Tools/Demos
Fix the Freeze tool to properly use flags passed through configure. Patch by
Daniel Shaulov.
..
.. bpo: 26489
.. date: 8865
.. nonce: rJ_U5S
.. section: Tools/Demos
Add dictionary unpacking support to Tools/parser/unparse.py. Patch by Guo Ci
Teo.
..
.. bpo: 26316
.. date: 8864
.. nonce: QJvVOi
.. section: Tools/Demos
Fix variable name typo in Argument Clinic.
..
.. bpo: 25440
.. date: 8863
.. nonce: 5xhyGr
.. section: Tools/Demos
Fix output of python-config --extension-suffix.
..
.. bpo: 25154
.. date: 8862
.. nonce: yLO-r4
.. section: Tools/Demos
The pyvenv script has been deprecated in favour of `python3 -m venv`.
..
.. bpo: 26312
.. date: 8861
.. nonce: h1T61B
.. section: C API
SystemError is now raised in all programming bugs with using
PyArg_ParseTupleAndKeywords(). RuntimeError did raised before in some
programming bugs.
..
.. bpo: 26198
.. date: 8860
.. nonce: lVn1HX
.. section: C API
ValueError is now raised instead of TypeError on buffer overflow in parsing
"es#" and "et#" format units. SystemError is now raised instead of
TypeError on programmatical error in parsing format string.
|