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
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
|
.. bpo: 23285
.. date: 8948
.. nonce: bJJA8B
.. release date: 2015-02-08
.. section: Core and Builtins
PEP 475 - EINTR handling.
..
.. bpo: 22735
.. date: 8947
.. nonce: mFEX9n
.. section: Core and Builtins
Fix many edge cases (including crashes) involving custom mro()
implementations.
..
.. bpo: 22896
.. date: 8946
.. nonce: xSDAHK
.. section: Core and Builtins
Avoid using PyObject_AsCharBuffer(), PyObject_AsReadBuffer() and
PyObject_AsWriteBuffer().
..
.. bpo: 21295
.. date: 8945
.. nonce: LYq9nF
.. section: Core and Builtins
Revert some changes (issue #16795) to AST line numbers and column offsets
that constituted a regression.
..
.. bpo: 22986
.. date: 8944
.. nonce: yay2Lv
.. section: Core and Builtins
Allow changing an object's __class__ between a dynamic type and static type
in some cases.
..
.. bpo: 15859
.. date: 8943
.. nonce: Fs5mE2
.. section: Core and Builtins
PyUnicode_EncodeFSDefault(), PyUnicode_EncodeMBCS() and
PyUnicode_EncodeCodePage() now raise an exception if the object is not a
Unicode object. For PyUnicode_EncodeFSDefault(), it was already the case on
platforms other than Windows. Patch written by Campbell Barton.
..
.. bpo: 21408
.. date: 8942
.. nonce: Lz6P3P
.. section: Core and Builtins
The default __ne__() now returns NotImplemented if __eq__() returned
NotImplemented. Original patch by Martin Panter.
..
.. bpo: 23321
.. date: 8941
.. nonce: HQelge
.. section: Core and Builtins
Fixed a crash in str.decode() when error handler returned replacement string
longer than malformed input data.
..
.. bpo: 22286
.. date: 8940
.. nonce: l6Qyy1
.. section: Core and Builtins
The "backslashreplace" error handlers now works with decoding and
translating.
..
.. bpo: 23253
.. date: 8939
.. nonce: p4B1H-
.. section: Core and Builtins
Delay-load ShellExecute[AW] in os.startfile for reduced startup overhead on
Windows.
..
.. bpo: 22038
.. date: 8938
.. nonce: BMZUHx
.. section: Core and Builtins
pyatomic.h now uses stdatomic.h or GCC built-in functions for atomic memory
access if available. Patch written by Vitor de Lima and Gustavo Temple.
..
.. bpo: 20284
.. date: 8937
.. nonce: CH8wpD
.. section: Core and Builtins
%-interpolation (aka printf) formatting added for bytes and bytearray.
..
.. bpo: 23048
.. date: 8936
.. nonce: X5BUd3
.. section: Core and Builtins
Fix jumping out of an infinite while loop in the pdb.
..
.. bpo: 20335
.. date: 8935
.. nonce: YcAPOs
.. section: Core and Builtins
bytes constructor now raises TypeError when encoding or errors is specified
with non-string argument. Based on patch by Renaud Blanch.
..
.. bpo: 22834
.. date: 8934
.. nonce: N1kAXN
.. section: Core and Builtins
If the current working directory ends up being set to a non-existent
directory then import will no longer raise FileNotFoundError.
..
.. bpo: 22869
.. date: 8933
.. nonce: rAWg-V
.. section: Core and Builtins
Move the interpreter startup & shutdown code to a new dedicated
pylifecycle.c module
..
.. bpo: 22847
.. date: 8932
.. nonce: 6baj9f
.. section: Core and Builtins
Improve method cache efficiency.
..
.. bpo: 22335
.. date: 8931
.. nonce: DWsXiy
.. section: Core and Builtins
Fix crash when trying to enlarge a bytearray to 0x7fffffff bytes on a 32-bit
platform.
..
.. bpo: 22653
.. date: 8930
.. nonce: pCNlpv
.. section: Core and Builtins
Fix an assertion failure in debug mode when doing a reentrant dict insertion
in debug mode.
..
.. bpo: 22643
.. date: 8929
.. nonce: xv8xev
.. section: Core and Builtins
Fix integer overflow in Unicode case operations (upper, lower, title,
swapcase, casefold).
..
.. bpo: 17636
.. date: 8928
.. nonce: wiqnhw
.. section: Core and Builtins
Circular imports involving relative imports are now supported.
..
.. bpo: 22604
.. date: 8927
.. nonce: yii-It
.. section: Core and Builtins
Fix assertion error in debug mode when dividing a complex number by
(nan+0j).
..
.. bpo: 21052
.. date: 8926
.. nonce: -sf3tp
.. section: Core and Builtins
Do not raise ImportWarning when sys.path_hooks or sys.meta_path are set to
None.
..
.. bpo: 16518
.. date: 8925
.. nonce: UADwcN
.. section: Core and Builtins
Use 'bytes-like object required' in error messages that previously used the
far more cryptic "'x' does not support the buffer protocol.
..
.. bpo: 22470
.. date: 8924
.. nonce: igrgN2
.. section: Core and Builtins
Fixed integer overflow issues in "backslashreplace", "xmlcharrefreplace",
and "surrogatepass" error handlers.
..
.. bpo: 22540
.. date: 8923
.. nonce: FM72m-
.. section: Core and Builtins
speed up `PyObject_IsInstance` and `PyObject_IsSubclass` in the common case
that the second argument has metaclass `type`.
..
.. bpo: 18711
.. date: 8922
.. nonce: ds5wQa
.. section: Core and Builtins
Add a new `PyErr_FormatV` function, similar to `PyErr_Format` but accepting
a `va_list` argument.
..
.. bpo: 22520
.. date: 8921
.. nonce: ZPJXSq
.. section: Core and Builtins
Fix overflow checking when generating the repr of a unicode object.
..
.. bpo: 22519
.. date: 8920
.. nonce: xvJVg0
.. section: Core and Builtins
Fix overflow checking in PyBytes_Repr.
..
.. bpo: 22518
.. date: 8919
.. nonce: C9T6ed
.. section: Core and Builtins
Fix integer overflow issues in latin-1 encoding.
..
.. bpo: 16324
.. date: 8918
.. nonce: YfrBNz
.. section: Core and Builtins
_charset parameter of MIMEText now also accepts email.charset.Charset
instances. Initial patch by Claude Paroz.
..
.. bpo: 1764286
.. date: 8917
.. nonce: L4seL2
.. section: Core and Builtins
Fix inspect.getsource() to support decorated functions. Patch by Claudiu
Popa.
..
.. bpo: 18554
.. date: 8916
.. nonce: hxnaui
.. section: Core and Builtins
os.__all__ includes posix functions.
..
.. bpo: 21391
.. date: 8915
.. nonce: 3jntPd
.. section: Core and Builtins
Use os.path.abspath in the shutil module.
..
.. bpo: 11471
.. date: 8914
.. nonce: Uu752F
.. section: Core and Builtins
avoid generating a JUMP_FORWARD instruction at the end of an if-block if
there is no else-clause. Original patch by Eugene Toder.
..
.. bpo: 22215
.. date: 8913
.. nonce: IBFi6H
.. section: Core and Builtins
Now ValueError is raised instead of TypeError when str or bytes argument
contains not permitted null character or byte.
..
.. bpo: 22258
.. date: 8912
.. nonce: 4FszMt
.. section: Core and Builtins
Fix the internal function set_inheritable() on Illumos. This platform
exposes the function ``ioctl(FIOCLEX)``, but calling it fails with errno is
ENOTTY: "Inappropriate ioctl for device". set_inheritable() now falls back
to the slower ``fcntl()`` (``F_GETFD`` and then ``F_SETFD``).
..
.. bpo: 21389
.. date: 8911
.. nonce: dnWZBn
.. section: Core and Builtins
Displaying the __qualname__ of the underlying function in the repr of a
bound method.
..
.. bpo: 22206
.. date: 8910
.. nonce: 0i_ihB
.. section: Core and Builtins
Using pthread, PyThread_create_key() now sets errno to ENOMEM and returns -1
(error) on integer overflow.
..
.. bpo: 20184
.. date: 8909
.. nonce: bb3uHY
.. section: Core and Builtins
Argument Clinic based signature introspection added for 30 of the builtin
functions.
..
.. bpo: 22116
.. date: 8908
.. nonce: auVmIt
.. section: Core and Builtins
C functions and methods (of the 'builtin_function_or_method' type) can now
be weakref'ed. Patch by Wei Wu.
..
.. bpo: 22077
.. date: 8907
.. nonce: KZUDR-
.. section: Core and Builtins
Improve index error messages for bytearrays, bytes, lists, and tuples by
adding 'or slices'. Added ', not <typename>' for bytearrays. Original patch
by Claudiu Popa.
..
.. bpo: 20179
.. date: 8906
.. nonce: Nvhffc
.. section: Core and Builtins
Apply Argument Clinic to bytes and bytearray. Patch by Tal Einat.
..
.. bpo: 22082
.. date: 8905
.. nonce: 6X8Qmg
.. section: Core and Builtins
Clear interned strings in slotdefs.
..
.. bpo: 0
.. date: 8904
.. nonce: tuMnCc
.. section: Core and Builtins
Upgrade Unicode database to Unicode 7.0.0.
..
.. bpo: 21897
.. date: 8903
.. nonce: kiOGHe
.. section: Core and Builtins
Fix a crash with the f_locals attribute with closure variables when
frame.clear() has been called.
..
.. bpo: 21205
.. date: 8902
.. nonce: wZsx1K
.. section: Core and Builtins
Add a new ``__qualname__`` attribute to generator, the qualified name, and
use it in the representation of a generator (``repr(gen)``). The default
name of the generator (``__name__`` attribute) is now get from the function
instead of the code. Use ``gen.gi_code.co_name`` to get the name of the
code.
..
.. bpo: 21669
.. date: 8901
.. nonce: DFDrBA
.. section: Core and Builtins
With the aid of heuristics in SyntaxError.__init__, the parser now attempts
to generate more meaningful (or at least more search engine friendly) error
messages when "exec" and "print" are used as statements.
..
.. bpo: 21642
.. date: 8900
.. nonce: -lWoKz
.. section: Core and Builtins
In the conditional if-else expression, allow an integer written with no
space between itself and the ``else`` keyword (e.g. ``True if 42else
False``) to be valid syntax.
..
.. bpo: 21523
.. date: 8899
.. nonce: f_PPYO
.. section: Core and Builtins
Fix over-pessimistic computation of the stack effect of some opcodes in the
compiler. This also fixes a quadratic compilation time issue noticeable
when compiling code with a large number of "and" and "or" operators.
..
.. bpo: 21418
.. date: 8898
.. nonce: z9jp1_
.. section: Core and Builtins
Fix a crash in the builtin function super() when called without argument and
without current frame (ex: embedded Python).
..
.. bpo: 21425
.. date: 8897
.. nonce: i3Teb8
.. section: Core and Builtins
Fix flushing of standard streams in the interactive interpreter.
..
.. bpo: 21435
.. date: 8896
.. nonce: ZojVOT
.. section: Core and Builtins
In rare cases, when running finalizers on objects in cyclic trash a bad
pointer dereference could occur due to a subtle flaw in internal iteration
logic.
..
.. bpo: 21377
.. date: 8895
.. nonce: OawYfl
.. section: Core and Builtins
PyBytes_Concat() now tries to concatenate in-place when the first argument
has a reference count of 1. Patch by Nikolaus Rath.
..
.. bpo: 20355
.. date: 8894
.. nonce: OrCNkZ
.. section: Core and Builtins
-W command line options now have higher priority than the PYTHONWARNINGS
environment variable. Patch by Arfrever.
..
.. bpo: 21274
.. date: 8893
.. nonce: fVGfwq
.. section: Core and Builtins
Define PATH_MAX for GNU/Hurd in Python/pythonrun.c.
..
.. bpo: 20904
.. date: 8892
.. nonce: fAGdj2
.. section: Core and Builtins
Support setting FPU precision on m68k.
..
.. bpo: 21209
.. date: 8891
.. nonce: nMljFr
.. section: Core and Builtins
Fix sending tuples to custom generator objects with the yield from syntax.
..
.. bpo: 21193
.. date: 8890
.. nonce: Dg98Oo
.. section: Core and Builtins
pow(a, b, c) now raises ValueError rather than TypeError when b is negative.
Patch by Josh Rosenberg.
..
.. bpo: 21176
.. date: 8889
.. nonce: mitDhW
.. section: Core and Builtins
PEP 465: Add the '@' operator for matrix multiplication.
..
.. bpo: 21134
.. date: 8888
.. nonce: ZL4SKo
.. section: Core and Builtins
Fix segfault when str is called on an uninitialized UnicodeEncodeError,
UnicodeDecodeError, or UnicodeTranslateError object.
..
.. bpo: 19537
.. date: 8887
.. nonce: AkuC_J
.. section: Core and Builtins
Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas Schwab.
..
.. bpo: 20929
.. date: 8886
.. nonce: 9NlUR7
.. section: Core and Builtins
Add a type cast to avoid shifting a negative number.
..
.. bpo: 20731
.. date: 8885
.. nonce: _03SZg
.. section: Core and Builtins
Properly position in source code files even if they are opened in text mode.
Patch by Serhiy Storchaka.
..
.. bpo: 20637
.. date: 8884
.. nonce: ppYU0o
.. section: Core and Builtins
Key-sharing now also works for instance dictionaries of subclasses. Patch
by Peter Ingebretson.
..
.. bpo: 8297
.. date: 8883
.. nonce: _XdGON
.. section: Core and Builtins
Attributes missing from modules now include the module name in the error
text. Original patch by ysj.ray.
..
.. bpo: 19995
.. date: 8882
.. nonce: mnHEzX
.. section: Core and Builtins
%c, %o, %x, and %X now raise TypeError on non-integer input.
..
.. bpo: 19655
.. date: 8881
.. nonce: JgVdes
.. section: Core and Builtins
The ASDL parser - used by the build process to generate code for managing
the Python AST in C - was rewritten. The new parser is self contained and
does not require to carry long the spark.py parser-generator library;
spark.py was removed from the source base.
..
.. bpo: 12546
.. date: 8880
.. nonce: 09naZ9
.. section: Core and Builtins
Allow ``\x00`` to be used as a fill character when using str, int, float,
and complex __format__ methods.
..
.. bpo: 20480
.. date: 8879
.. nonce: TIYPLo
.. section: Core and Builtins
Add ipaddress.reverse_pointer. Patch by Leon Weber.
..
.. bpo: 13598
.. date: 8878
.. nonce: GJelrw
.. section: Core and Builtins
Modify string.Formatter to support auto-numbering of replacement fields. It
now matches the behavior of str.format() in this regard. Patches by Phil
Elson and Ramchandra Apte.
..
.. bpo: 8931
.. date: 8877
.. nonce: M05x4f
.. section: Core and Builtins
Make alternate formatting ('#') for type 'c' raise an exception. In versions
prior to 3.5, '#' with 'c' had no effect. Now specifying it is an error.
Patch by Torsten Landschoff.
..
.. bpo: 23165
.. date: 8876
.. nonce: lk8uCE
.. section: Core and Builtins
Perform overflow checks before allocating memory in the _Py_char2wchar
function.
..
.. bpo: 23399
.. date: 8875
.. nonce: hXMYgA
.. section: Library
pyvenv creates relative symlinks where possible.
..
.. bpo: 20289
.. date: 8874
.. nonce: nio1N-
.. section: Library
cgi.FieldStorage() now supports the context management protocol.
..
.. bpo: 13128
.. date: 8873
.. nonce: vqEcsy
.. section: Library
Print response headers for CONNECT requests when debuglevel > 0. Patch by
Demian Brecht.
..
.. bpo: 15381
.. date: 8872
.. nonce: Xv-wu8
.. section: Library
Optimized io.BytesIO to make less allocations and copyings.
..
.. bpo: 22818
.. date: 8871
.. nonce: NYdAc9
.. section: Library
Splitting on a pattern that could match an empty string now raises a
warning. Patterns that can only match empty strings are now rejected.
..
.. bpo: 23099
.. date: 8870
.. nonce: ZASrUo
.. section: Library
Closing io.BytesIO with exported buffer is rejected now to prevent
corrupting exported buffer.
..
.. bpo: 23326
.. date: 8869
.. nonce: 8VzlZD
.. section: Library
Removed __ne__ implementations. Since fixing default __ne__ implementation
in issue #21408 they are redundant.
..
.. bpo: 23363
.. date: 8868
.. nonce: -koaol
.. section: Library
Fix possible overflow in itertools.permutations.
..
.. bpo: 23364
.. date: 8867
.. nonce: 3yBV-6
.. section: Library
Fix possible overflow in itertools.product.
..
.. bpo: 23366
.. date: 8866
.. nonce: tyAfm8
.. section: Library
Fixed possible integer overflow in itertools.combinations.
..
.. bpo: 23369
.. date: 8865
.. nonce: nqChyE
.. section: Library
Fixed possible integer overflow in _json.encode_basestring_ascii.
..
.. bpo: 23353
.. date: 8864
.. nonce: Iytkpc
.. section: Library
Fix the exception handling of generators in PyEval_EvalFrameEx(). At entry,
save or swap the exception state even if PyEval_EvalFrameEx() is called with
throwflag=0. At exit, the exception state is now always restored or swapped,
not only if why is WHY_YIELD or WHY_RETURN. Patch co-written with Antoine
Pitrou.
..
.. bpo: 14099
.. date: 8863
.. nonce: t9-HVE
.. section: Library
Restored support of writing ZIP files to tellable but non-seekable streams.
..
.. bpo: 14099
.. date: 8862
.. nonce: Myxxww
.. section: Library
Writing to ZipFile and reading multiple ZipExtFiles is threadsafe now.
..
.. bpo: 19361
.. date: 8861
.. nonce: 2mvrV3
.. section: Library
JSON decoder now raises JSONDecodeError instead of ValueError.
..
.. bpo: 18518
.. date: 8860
.. nonce: JXgicC
.. section: Library
timeit now rejects statements which can't be compiled outside a function or
a loop (e.g. "return" or "break").
..
.. bpo: 23094
.. date: 8859
.. nonce: -8AXSi
.. section: Library
Fixed readline with frames in Python implementation of pickle.
..
.. bpo: 23268
.. date: 8858
.. nonce: ATtRa5
.. section: Library
Fixed bugs in the comparison of ipaddress classes.
..
.. bpo: 21408
.. date: 8857
.. nonce: 0rI6tx
.. section: Library
Removed incorrect implementations of __ne__() which didn't returned
NotImplemented if __eq__() returned NotImplemented. The default __ne__()
now works correctly.
..
.. bpo: 19996
.. date: 8856
.. nonce: 2-SiMf
.. section: Library
:class:`email.feedparser.FeedParser` now handles (malformed) headers with no
key rather than assuming the body has started.
..
.. bpo: 20188
.. date: 8855
.. nonce: xocY-2
.. section: Library
Support Application-Layer Protocol Negotiation (ALPN) in the ssl module.
..
.. bpo: 23133
.. date: 8854
.. nonce: 8p2Wnl
.. section: Library
Pickling of ipaddress objects now produces more compact and portable
representation.
..
.. bpo: 23248
.. date: 8853
.. nonce: FjcyCP
.. section: Library
Update ssl error codes from latest OpenSSL git master.
..
.. bpo: 23266
.. date: 8852
.. nonce: Mo7alR
.. section: Library
Much faster implementation of ipaddress.collapse_addresses() when there are
many non-consecutive addresses.
..
.. bpo: 23098
.. date: 8851
.. nonce: 7VwF3K
.. section: Library
64-bit dev_t is now supported in the os module.
..
.. bpo: 21817
.. date: 8850
.. nonce: xYUW-9
.. section: Library
When an exception is raised in a task submitted to a ProcessPoolExecutor,
the remote traceback is now displayed in the parent process. Patch by
Claudiu Popa.
..
.. bpo: 15955
.. date: 8849
.. nonce: uvpBL4
.. section: Library
Add an option to limit output size when decompressing LZMA data. Patch by
Nikolaus Rath and Martin Panter.
..
.. bpo: 23250
.. date: 8848
.. nonce: qNGAUf
.. section: Library
In the http.cookies module, capitalize "HttpOnly" and "Secure" as they are
written in the standard.
..
.. bpo: 23063
.. date: 8847
.. nonce: 9-UJRs
.. section: Library
In the distutils' check command, fix parsing of reST with code or code-block
directives.
..
.. bpo: 23209
.. date: 8846
.. nonce: I0bCCH
.. section: Library
selectors.BaseSelector.get_key() now raises a RuntimeError if the selector
is closed. And selectors.BaseSelector.close() now clears its internal
reference to the selector mapping to break a reference cycle. Initial patch
written by Martin Richard. (See also: bpo-23225)
..
.. bpo: 17911
.. date: 8845
.. nonce: yg65Iu
.. section: Library
Provide a way to seed the linecache for a PEP-302 module without actually
loading the code.
..
.. bpo: 17911
.. date: 8844
.. nonce: qeTePa
.. section: Library
Provide a new object API for traceback, including the ability to not lookup
lines at all until the traceback is actually rendered, without any trace of
the original objects being kept alive.
..
.. bpo: 19777
.. date: 8843
.. nonce: H_NDIA
.. section: Library
Provide a home() classmethod on Path objects. Contributed by Victor Salgado
and Mayank Tripathi.
..
.. bpo: 23206
.. date: 8842
.. nonce: xSiYwq
.. section: Library
Make ``json.dumps(..., ensure_ascii=False)`` as fast as the default case of
``ensure_ascii=True``. Patch by Naoki Inada.
..
.. bpo: 23185
.. date: 8841
.. nonce: KHyoSO
.. section: Library
Add math.inf and math.nan constants.
..
.. bpo: 23186
.. date: 8840
.. nonce: KzWLP2
.. section: Library
Add ssl.SSLObject.shared_ciphers() and ssl.SSLSocket.shared_ciphers() to
fetch the client's list ciphers sent at handshake.
..
.. bpo: 23143
.. date: 8839
.. nonce: AWxJXV
.. section: Library
Remove compatibility with OpenSSLs older than 0.9.8.
..
.. bpo: 23132
.. date: 8838
.. nonce: pbQcut
.. section: Library
Improve performance and introspection support of comparison methods created
by functool.total_ordering.
..
.. bpo: 19776
.. date: 8837
.. nonce: BxNgxd
.. section: Library
Add an expanduser() method on Path objects.
..
.. bpo: 23112
.. date: 8836
.. nonce: dZGf82
.. section: Library
Fix SimpleHTTPServer to correctly carry the query string and fragment when
it redirects to add a trailing slash.
..
.. bpo: 21793
.. date: 8835
.. nonce: T1kQBL
.. section: Library
Added http.HTTPStatus enums (i.e. HTTPStatus.OK, HTTPStatus.NOT_FOUND).
Patch by Demian Brecht.
..
.. bpo: 23093
.. date: 8834
.. nonce: cP7OqD
.. section: Library
In the io, module allow more operations to work on detached streams.
..
.. bpo: 23111
.. date: 8833
.. nonce: A34IA4
.. section: Library
In the ftplib, make ssl.PROTOCOL_SSLv23 the default protocol version.
..
.. bpo: 22585
.. date: 8832
.. nonce: F4BkNo
.. section: Library
On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(), instead of
reading /dev/urandom, to get pseudo-random bytes.
..
.. bpo: 19104
.. date: 8831
.. nonce: _eIThy
.. section: Library
pprint now produces evaluable output for wrapped strings.
..
.. bpo: 23071
.. date: 8830
.. nonce: 3BSqF7
.. section: Library
Added missing names to codecs.__all__. Patch by Martin Panter.
..
.. bpo: 22783
.. date: 8829
.. nonce: OfYxBd
.. section: Library
Pickling now uses the NEWOBJ opcode instead of the NEWOBJ_EX opcode if
possible.
..
.. bpo: 15513
.. date: 8828
.. nonce: 7yVnRE
.. section: Library
Added a __sizeof__ implementation for pickle classes.
..
.. bpo: 19858
.. date: 8827
.. nonce: cqOlIt
.. section: Library
pickletools.optimize() now aware of the MEMOIZE opcode, can produce more
compact result and no longer produces invalid output if input data contains
MEMOIZE opcodes together with PUT or BINPUT opcodes.
..
.. bpo: 22095
.. date: 8826
.. nonce: iISzxM
.. section: Library
Fixed HTTPConnection.set_tunnel with default port. The port value in the
host header was set to "None". Patch by Demian Brecht.
..
.. bpo: 23016
.. date: 8825
.. nonce: LyrPd_
.. section: Library
A warning no longer produces an AttributeError when the program is run with
pythonw.exe.
..
.. bpo: 21775
.. date: 8824
.. nonce: ELR_Al
.. section: Library
shutil.copytree(): fix crash when copying to VFAT. An exception handler
assumed that OSError objects always have a 'winerror' attribute. That is not
the case, so the exception handler itself raised AttributeError when run on
Linux (and, presumably, any other non-Windows OS). Patch by Greg Ward.
..
.. bpo: 1218234
.. date: 8823
.. nonce: 4GcoQK
.. section: Library
Fix inspect.getsource() to load updated source of reloaded module. Initial
patch by Berker Peksag.
..
.. bpo: 21740
.. date: 8822
.. nonce: TtAApO
.. section: Library
Support wrapped callables in doctest. Patch by Claudiu Popa.
..
.. bpo: 23009
.. date: 8821
.. nonce: -sW7gk
.. section: Library
Make sure selectors.EpollSelector.select() works when no FD is registered.
..
.. bpo: 22959
.. date: 8820
.. nonce: Vxt3EP
.. section: Library
In the constructor of http.client.HTTPSConnection, prefer the context's
check_hostname attribute over the *check_hostname* parameter.
..
.. bpo: 22696
.. date: 8819
.. nonce: pvdcxs
.. section: Library
Add function :func:`sys.is_finalizing` to know about interpreter shutdown.
..
.. bpo: 16043
.. date: 8818
.. nonce: TGIC7t
.. section: Library
Add a default limit for the amount of data xmlrpclib.gzip_decode will
return. This resolves CVE-2013-1753.
..
.. bpo: 14099
.. date: 8817
.. nonce: GJ5meQ
.. section: Library
ZipFile.open() no longer reopen the underlying file. Objects returned by
ZipFile.open() can now operate independently of the ZipFile even if the
ZipFile was created by passing in a file-like object as the first argument
to the constructor.
..
.. bpo: 22966
.. date: 8816
.. nonce: zIxDrT
.. section: Library
Fix __pycache__ pyc file name clobber when pyc_compile is asked to compile a
source file containing multiple dots in the source file name.
..
.. bpo: 21971
.. date: 8815
.. nonce: XlTc22
.. section: Library
Update turtledemo doc and add module to the index.
..
.. bpo: 21032
.. date: 8814
.. nonce: wxT_41
.. section: Library
Fixed socket leak if HTTPConnection.getresponse() fails. Original patch by
Martin Panter.
..
.. bpo: 22407
.. date: 8813
.. nonce: CWi1wX
.. section: Library
Deprecated the use of re.LOCALE flag with str patterns or re.ASCII. It was
newer worked.
..
.. bpo: 22902
.. date: 8812
.. nonce: ZqXriA
.. section: Library
The "ip" command is now used on Linux to determine MAC address in
uuid.getnode(). Pach by Bruno Cauet.
..
.. bpo: 22960
.. date: 8811
.. nonce: 2VDILT
.. section: Library
Add a context argument to xmlrpclib.ServerProxy constructor.
..
.. bpo: 22389
.. date: 8810
.. nonce: 82DuwD
.. section: Library
Add contextlib.redirect_stderr().
..
.. bpo: 21356
.. date: 8809
.. nonce: 8NY75J
.. section: Library
Make ssl.RAND_egd() optional to support LibreSSL. The availability of the
function is checked during the compilation. Patch written by Bernard Spil.
..
.. bpo: 22915
.. date: 8808
.. nonce: 709UAo
.. section: Library
SAX parser now supports files opened with file descriptor or bytes path.
..
.. bpo: 22609
.. date: 8807
.. nonce: mmLoeb
.. section: Library
Constructors and update methods of mapping classes in the collections module
now accept the self keyword argument.
..
.. bpo: 22940
.. date: 8806
.. nonce: SP99Nf
.. section: Library
Add readline.append_history_file.
..
.. bpo: 19676
.. date: 8805
.. nonce: Wijwr8
.. section: Library
Added the "namereplace" error handler.
..
.. bpo: 22788
.. date: 8804
.. nonce: vofL9e
.. section: Library
Add *context* parameter to logging.handlers.HTTPHandler.
..
.. bpo: 22921
.. date: 8803
.. nonce: a4wx1C
.. section: Library
Allow SSLContext to take the *hostname* parameter even if OpenSSL doesn't
support SNI.
..
.. bpo: 22894
.. date: 8802
.. nonce: 4AkwPA
.. section: Library
TestCase.subTest() would cause the test suite to be stopped when in failfast
mode, even in the absence of failures.
..
.. bpo: 22796
.. date: 8801
.. nonce: _pFPFA
.. section: Library
HTTP cookie parsing is now stricter, in order to protect against potential
injection attacks.
..
.. bpo: 22370
.. date: 8800
.. nonce: j4y21u
.. section: Library
Windows detection in pathlib is now more robust.
..
.. bpo: 22841
.. date: 8799
.. nonce: 8wpk7T
.. section: Library
Reject coroutines in asyncio add_signal_handler(). Patch by Ludovic.Gasc.
..
.. bpo: 19494
.. date: 8798
.. nonce: 7O5O8k
.. section: Library
Added urllib.request.HTTPBasicPriorAuthHandler. Patch by Matej Cepl.
..
.. bpo: 22578
.. date: 8797
.. nonce: 6XZ0Jf
.. section: Library
Added attributes to the re.error class.
..
.. bpo: 22849
.. date: 8796
.. nonce: AqBPyj
.. section: Library
Fix possible double free in the io.TextIOWrapper constructor.
..
.. bpo: 12728
.. date: 8795
.. nonce: rHZmXO
.. section: Library
Different Unicode characters having the same uppercase but different
lowercase are now matched in case-insensitive regular expressions.
..
.. bpo: 22821
.. date: 8794
.. nonce: 30cQ-U
.. section: Library
Fixed fcntl() with integer argument on 64-bit big-endian platforms.
..
.. bpo: 21650
.. date: 8793
.. nonce: 62MLqr
.. section: Library
Add an `--sort-keys` option to json.tool CLI.
..
.. bpo: 22824
.. date: 8792
.. nonce: d5Txvr
.. section: Library
Updated reprlib output format for sets to use set literals. Patch
contributed by Berker Peksag.
..
.. bpo: 22824
.. date: 8791
.. nonce: H_r9uH
.. section: Library
Updated reprlib output format for arrays to display empty arrays without an
unnecessary empty list. Suggested by Serhiy Storchaka.
..
.. bpo: 22406
.. date: 8790
.. nonce: sPlVbI
.. section: Library
Fixed the uu_codec codec incorrectly ported to 3.x. Based on patch by Martin
Panter.
..
.. bpo: 17293
.. date: 8789
.. nonce: Hk06bO
.. section: Library
uuid.getnode() now determines MAC address on AIX using netstat. Based on
patch by Aivars Kalvāns.
..
.. bpo: 22769
.. date: 8788
.. nonce: PunnvQ
.. section: Library
Fixed ttk.Treeview.tag_has() when called without arguments.
..
.. bpo: 22417
.. date: 8787
.. nonce: To4b7U
.. section: Library
Verify certificates by default in httplib (PEP 476).
..
.. bpo: 22775
.. date: 8786
.. nonce: V5aCUz
.. section: Library
Fixed unpickling of http.cookies.SimpleCookie with protocol 2 and above.
Patch by Tim Graham.
..
.. bpo: 22776
.. date: 8785
.. nonce: xNcRse
.. section: Library
Brought excluded code into the scope of a try block in SysLogHandler.emit().
..
.. bpo: 22665
.. date: 8784
.. nonce: j6Jlp8
.. section: Library
Add missing get_terminal_size and SameFileError to shutil.__all__.
..
.. bpo: 6623
.. date: 8783
.. nonce: 6LOidS
.. section: Library
Remove deprecated Netrc class in the ftplib module. Patch by Matt Chaput.
..
.. bpo: 17381
.. date: 8782
.. nonce: 4J5yv7
.. section: Library
Fixed handling of case-insensitive ranges in regular expressions.
..
.. bpo: 22410
.. date: 8781
.. nonce: 99YFdd
.. section: Library
Module level functions in the re module now cache compiled locale-dependent
regular expressions taking into account the locale.
..
.. bpo: 22759
.. date: 8780
.. nonce: BJPdiL
.. section: Library
Query methods on pathlib.Path() (exists(), is_dir(), etc.) now return False
when the underlying stat call raises NotADirectoryError.
..
.. bpo: 8876
.. date: 8779
.. nonce: A83Av4
.. section: Library
distutils now falls back to copying files when hard linking doesn't work.
This allows use with special filesystems such as VirtualBox shared folders.
..
.. bpo: 22217
.. date: 8778
.. nonce: nXzGur
.. section: Library
Implemented reprs of classes in the zipfile module.
..
.. bpo: 22457
.. date: 8777
.. nonce: Xd2Mk-
.. section: Library
Honour load_tests in the start_dir of discovery.
..
.. bpo: 18216
.. date: 8776
.. nonce: trTZw4
.. section: Library
gettext now raises an error when a .mo file has an unsupported major version
number. Patch by Aaron Hill.
..
.. bpo: 13918
.. date: 8775
.. nonce: -OnUhD
.. section: Library
Provide a locale.delocalize() function which can remove locale-specific
number formatting from a string representing a number, without then
converting it to a specific type. Patch by Cédric Krier.
..
.. bpo: 22676
.. date: 8774
.. nonce: d2v8QM
.. section: Library
Make the pickling of global objects which don't have a __module__ attribute
less slow.
..
.. bpo: 18853
.. date: 8773
.. nonce: 76DrPD
.. section: Library
Fixed ResourceWarning in shlex.__nain__.
..
.. bpo: 9351
.. date: 8772
.. nonce: u5UI-6
.. section: Library
Defaults set with set_defaults on an argparse subparser are no longer
ignored when also set on the parent parser.
..
.. bpo: 7559
.. date: 8771
.. nonce: QG35ZP
.. section: Library
unittest test loading ImportErrors are reported as import errors with their
import exception rather than as attribute errors after the import has
already failed.
..
.. bpo: 19746
.. date: 8770
.. nonce: S1dg1K
.. section: Library
Make it possible to examine the errors from unittest discovery without
executing the test suite. The new `errors` attribute on TestLoader exposes
these non-fatal errors encountered during discovery.
..
.. bpo: 21991
.. date: 8769
.. nonce: Mkm0IN
.. section: Library
Make email.headerregistry's header 'params' attributes be read-only
(MappingProxyType). Previously the dictionary was modifiable but a new one
was created on each access of the attribute.
..
.. bpo: 22638
.. date: 8768
.. nonce: Ur73gJ
.. section: Library
SSLv3 is now disabled throughout the standard library. It can still be
enabled by instantiating a SSLContext manually.
..
.. bpo: 22641
.. date: 8767
.. nonce: m0ldtl
.. section: Library
In asyncio, the default SSL context for client connections is now created
using ssl.create_default_context(), for stronger security.
..
.. bpo: 17401
.. date: 8766
.. nonce: SZd19P
.. section: Library
Include closefd in io.FileIO repr.
..
.. bpo: 21338
.. date: 8765
.. nonce: evDyHD
.. section: Library
Add silent mode for compileall. quiet parameters of compile_{dir, file,
path} functions now have a multilevel value. Also, -q option of the CLI now
have a multilevel value. Patch by Thomas Kluyver.
..
.. bpo: 20152
.. date: 8764
.. nonce: 9_o92A
.. section: Library
Convert the array and cmath modules to Argument Clinic.
..
.. bpo: 18643
.. date: 8763
.. nonce: 6Qdc0J
.. section: Library
Add socket.socketpair() on Windows.
..
.. bpo: 22435
.. date: 8762
.. nonce: s2U7Zm
.. section: Library
Fix a file descriptor leak when socketserver bind fails.
..
.. bpo: 13096
.. date: 8761
.. nonce: rsailB
.. section: Library
Fixed segfault in CTypes POINTER handling of large values.
..
.. bpo: 11694
.. date: 8760
.. nonce: JuDrch
.. section: Library
Raise ConversionError in xdrlib as documented. Patch by Filip Gruszczyński
and Claudiu Popa.
..
.. bpo: 19380
.. date: 8759
.. nonce: nqgoRQ
.. section: Library
Optimized parsing of regular expressions.
..
.. bpo: 1519638
.. date: 8758
.. nonce: 2pbuog
.. section: Library
Now unmatched groups are replaced with empty strings in re.sub() and
re.subn().
..
.. bpo: 18615
.. date: 8757
.. nonce: 65TxnY
.. section: Library
sndhdr.what/whathdr now return a namedtuple.
..
.. bpo: 22462
.. date: 8756
.. nonce: 1h4Kpr
.. section: Library
Fix pyexpat's creation of a dummy frame to make it appear in exception
tracebacks.
..
.. bpo: 21965
.. date: 8755
.. nonce: n_jnXs
.. section: Library
Add support for in-memory SSL to the ssl module. Patch by Geert Jansen.
..
.. bpo: 21173
.. date: 8754
.. nonce: egkbEx
.. section: Library
Fix len() on a WeakKeyDictionary when .clear() was called with an iterator
alive.
..
.. bpo: 11866
.. date: 8753
.. nonce: xrvbIC
.. section: Library
Eliminated race condition in the computation of names for new threads.
..
.. bpo: 21905
.. date: 8752
.. nonce: coKyRo
.. section: Library
Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while
iterating. Patch by Olivier Grisel.
..
.. bpo: 11271
.. date: 8751
.. nonce: ZYiJru
.. section: Library
concurrent.futures.Executor.map() now takes a *chunksize* argument to allow
batching of tasks in child processes and improve performance of
ProcessPoolExecutor. Patch by Dan O'Reilly.
..
.. bpo: 21883
.. date: 8750
.. nonce: qpuQu6
.. section: Library
os.path.join() and os.path.relpath() now raise a TypeError with more helpful
error message for unsupported or mismatched types of arguments.
..
.. bpo: 22219
.. date: 8749
.. nonce: l9Enh9
.. section: Library
The zipfile module CLI now adds entries for directories (including empty
directories) in ZIP file.
..
.. bpo: 22449
.. date: 8748
.. nonce: nFW_Fl
.. section: Library
In the ssl.SSLContext.load_default_certs, consult the environmental
variables SSL_CERT_DIR and SSL_CERT_FILE on Windows.
..
.. bpo: 22508
.. date: 8747
.. nonce: 2LbnGQ
.. section: Library
The email.__version__ variable has been removed; the email code is no longer
shipped separately from the stdlib, and __version__ hasn't been updated in
several releases.
..
.. bpo: 20076
.. date: 8746
.. nonce: -7OIVB
.. section: Library
Added non derived UTF-8 aliases to locale aliases table.
..
.. bpo: 20079
.. date: 8745
.. nonce: qM949O
.. section: Library
Added locales supported in glibc 2.18 to locale alias table.
..
.. bpo: 20218
.. date: 8744
.. nonce: CMgOyE
.. section: Library
Added convenience methods read_text/write_text and read_bytes/ write_bytes
to pathlib.Path objects.
..
.. bpo: 22396
.. date: 8743
.. nonce: cQSizA
.. section: Library
On 32-bit AIX platform, don't expose os.posix_fadvise() nor
os.posix_fallocate() because their prototypes in system headers are wrong.
..
.. bpo: 22517
.. date: 8742
.. nonce: qT6-aB
.. section: Library
When an io.BufferedRWPair object is deallocated, clear its weakrefs.
..
.. bpo: 22437
.. date: 8741
.. nonce: MRVnmQ
.. section: Library
Number of capturing groups in regular expression is no longer limited by
100.
..
.. bpo: 17442
.. date: 8740
.. nonce: rnc87D
.. section: Library
InteractiveInterpreter now displays the full chained traceback in its
showtraceback method, to match the built in interactive interpreter.
..
.. bpo: 23392
.. date: 8739
.. nonce: Pe7_WK
.. section: Library
Added tests for marshal C API that works with FILE*.
..
.. bpo: 10510
.. date: 8738
.. nonce: N-ntcD
.. section: Library
distutils register and upload methods now use HTML standards compliant CRLF
line endings.
..
.. bpo: 9850
.. date: 8737
.. nonce: D-UnVi
.. section: Library
Fixed macpath.join() for empty first component. Patch by Oleg Oshmyan.
..
.. bpo: 5309
.. date: 8736
.. nonce: pVMmQ8
.. section: Library
distutils' build and build_ext commands now accept a ``-j`` option to enable
parallel building of extension modules.
..
.. bpo: 22448
.. date: 8735
.. nonce: fAapvE
.. section: Library
Improve canceled timer handles cleanup to prevent unbound memory usage.
Patch by Joshua Moore-Oliva.
..
.. bpo: 22427
.. date: 8734
.. nonce: TZ5S_u
.. section: Library
TemporaryDirectory no longer attempts to clean up twice when used in the
with statement in generator.
..
.. bpo: 22362
.. date: 8733
.. nonce: xIBThN
.. section: Library
Forbidden ambiguous octal escapes out of range 0-0o377 in regular
expressions.
..
.. bpo: 20912
.. date: 8732
.. nonce: cAq3mZ
.. section: Library
Now directories added to ZIP file have correct Unix and MS-DOS directory
attributes.
..
.. bpo: 21866
.. date: 8731
.. nonce: hSc4wM
.. section: Library
ZipFile.close() no longer writes ZIP64 central directory records if
allowZip64 is false.
..
.. bpo: 22278
.. date: 8730
.. nonce: abqBXZ
.. section: Library
Fix urljoin problem with relative urls, a regression observed after changes
to issue22118 were submitted.
..
.. bpo: 22415
.. date: 8729
.. nonce: xJLAvI
.. section: Library
Fixed debugging output of the GROUPREF_EXISTS opcode in the re module.
Removed trailing spaces in debugging output.
..
.. bpo: 22423
.. date: 8728
.. nonce: Rtb4oT
.. section: Library
Unhandled exception in thread no longer causes unhandled AttributeError when
sys.stderr is None.
..
.. bpo: 21332
.. date: 8727
.. nonce: Gwxwlr
.. section: Library
Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering,
rather than block buffering. Patch by Akira Li.
..
.. bpo: 21091
.. date: 8726
.. nonce: M5hAtT
.. section: Library
Fix API bug: email.message.EmailMessage.is_attachment is now a method.
..
.. bpo: 21079
.. date: 8725
.. nonce: czVcL8
.. section: Library
Fix email.message.EmailMessage.is_attachment to return the correct result
when the header has parameters as well as a value.
..
.. bpo: 22247
.. date: 8724
.. nonce: sGIpR3
.. section: Library
Add NNTPError to nntplib.__all__.
..
.. bpo: 22366
.. date: 8723
.. nonce: Dd1eFj
.. section: Library
urllib.request.urlopen will accept a context object (SSLContext) as an
argument which will then be used for HTTPS connection. Patch by Alex Gaynor.
..
.. bpo: 4180
.. date: 8722
.. nonce: QBx0JK
.. section: Library
The warnings registries are now reset when the filters are modified.
..
.. bpo: 22419
.. date: 8721
.. nonce: FqH4aC
.. section: Library
Limit the length of incoming HTTP request in wsgiref server to 65536 bytes
and send a 414 error code for higher lengths. Patch contributed by Devin
Cook.
..
.. bpo: 0
.. date: 8720
.. nonce: y7r3O2
.. section: Library
Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some web browsers. Reported by Sergey
Bobrov.
..
.. bpo: 20537
.. date: 8719
.. nonce: E0CE54
.. section: Library
logging methods now accept an exception instance as well as a Boolean value
or exception tuple. Thanks to Yury Selivanov for the patch.
..
.. bpo: 22384
.. date: 8718
.. nonce: -Nl4He
.. section: Library
An exception in Tkinter callback no longer crashes the program when it is
run with pythonw.exe.
..
.. bpo: 22168
.. date: 8717
.. nonce: vLeKWC
.. section: Library
Prevent turtle AttributeError with non-default Canvas on OS X.
..
.. bpo: 21147
.. date: 8716
.. nonce: w9DE17
.. section: Library
sqlite3 now raises an exception if the request contains a null character
instead of truncating it. Based on patch by Victor Stinner.
..
.. bpo: 13968
.. date: 8715
.. nonce: 1okGqm
.. section: Library
The glob module now supports recursive search in subdirectories using the
``**`` pattern.
..
.. bpo: 21951
.. date: 8714
.. nonce: 3vS4LK
.. section: Library
Fixed a crash in Tkinter on AIX when called Tcl command with empty string or
tuple argument.
..
.. bpo: 21951
.. date: 8713
.. nonce: _CCC4v
.. section: Library
Tkinter now most likely raises MemoryError instead of crash if the memory
allocation fails.
..
.. bpo: 22338
.. date: 8712
.. nonce: rKlCMz
.. section: Library
Fix a crash in the json module on memory allocation failure.
..
.. bpo: 12410
.. date: 8711
.. nonce: oFf-cB
.. section: Library
imaplib.IMAP4 now supports the context management protocol. Original patch
by Tarek Ziadé.
..
.. bpo: 21270
.. date: 8710
.. nonce: qMBaY-
.. section: Library
We now override tuple methods in mock.call objects so that they can be used
as normal call attributes.
..
.. bpo: 16662
.. date: 8709
.. nonce: Nghn-Y
.. section: Library
load_tests() is now unconditionally run when it is present in a package's
__init__.py. TestLoader.loadTestsFromModule() still accepts use_load_tests,
but it is deprecated and ignored. A new keyword-only attribute `pattern` is
added and documented. Patch given by Robert Collins, tweaked by Barry
Warsaw.
..
.. bpo: 22226
.. date: 8708
.. nonce: T1ZMPY
.. section: Library
First letter no longer is stripped from the "status" key in the result of
Treeview.heading().
..
.. bpo: 19524
.. date: 8707
.. nonce: EQJjlF
.. section: Library
Fixed resource leak in the HTTP connection when an invalid response is
received. Patch by Martin Panter.
..
.. bpo: 20421
.. date: 8706
.. nonce: iR0S1s
.. section: Library
Add a .version() method to SSL sockets exposing the actual protocol version
in use.
..
.. bpo: 19546
.. date: 8705
.. nonce: 8VdYBK
.. section: Library
configparser exceptions no longer expose implementation details. Chained
KeyErrors are removed, which leads to cleaner tracebacks. Patch by Claudiu
Popa.
..
.. bpo: 22051
.. date: 8704
.. nonce: cUjFqL
.. section: Library
turtledemo no longer reloads examples to re-run them. Initialization of
variables and gui setup should be done in main(), which is called each time
a demo is run, but not on import.
..
.. bpo: 21933
.. date: 8703
.. nonce: IhMjN1
.. section: Library
Turtledemo users can change the code font size with a menu selection or
control(command) '-' or '+' or control-mousewheel. Original patch by Lita
Cho.
..
.. bpo: 21597
.. date: 8702
.. nonce: aPTCWJ
.. section: Library
The separator between the turtledemo text pane and the drawing canvas can
now be grabbed and dragged with a mouse. The code text pane can be widened
to easily view or copy the full width of the text. The canvas can be
widened on small screens. Original patches by Jan Kanis and Lita Cho.
..
.. bpo: 18132
.. date: 8701
.. nonce: 2R2nwM
.. section: Library
Turtledemo buttons no longer disappear when the window is shrunk. Original
patches by Jan Kanis and Lita Cho.
..
.. bpo: 22043
.. date: 8700
.. nonce: Q6RvGL
.. section: Library
time.monotonic() is now always available. ``threading.Lock.acquire()``,
``threading.RLock.acquire()`` and socket operations now use a monotonic
clock, instead of the system clock, when a timeout is used.
..
.. bpo: 21527
.. date: 8699
.. nonce: N5WPxr
.. section: Library
Add a default number of workers to ThreadPoolExecutor equal to 5 times the
number of CPUs. Patch by Claudiu Popa.
..
.. bpo: 22216
.. date: 8698
.. nonce: Cmalu6
.. section: Library
smtplib now resets its state more completely after a quit. The most obvious
consequence of the previous behavior was a STARTTLS failure during a
connect/starttls/quit/connect/starttls sequence.
..
.. bpo: 22098
.. date: 8697
.. nonce: 5JYiQN
.. section: Library
ctypes' BigEndianStructure and LittleEndianStructure now define an empty
__slots__ so that subclasses don't always get an instance dict. Patch by
Claudiu Popa.
..
.. bpo: 22185
.. date: 8696
.. nonce: 1SCCIK
.. section: Library
Fix an occasional RuntimeError in threading.Condition.wait() caused by
mutation of the waiters queue without holding the lock. Patch by Doug
Zongker.
..
.. bpo: 22287
.. date: 8695
.. nonce: awH2AI
.. section: Library
On UNIX, _PyTime_gettimeofday() now uses clock_gettime(CLOCK_REALTIME) if
available. As a side effect, Python now depends on the librt library on
Solaris and on Linux (only with glibc older than 2.17).
..
.. bpo: 22182
.. date: 8694
.. nonce: 5EG1Bc
.. section: Library
Use e.args to unpack exceptions correctly in distutils.file_util.move_file.
Patch by Claudiu Popa.
..
.. bpo: 0
.. date: 8693
.. nonce: zBfe8J
.. section: Library
The webbrowser module now uses subprocess's start_new_session=True rather
than a potentially risky preexec_fn=os.setsid call.
..
.. bpo: 22042
.. date: 8692
.. nonce: WZvb8s
.. section: Library
signal.set_wakeup_fd(fd) now raises an exception if the file descriptor is
in blocking mode.
..
.. bpo: 16808
.. date: 8691
.. nonce: kPy_5U
.. section: Library
inspect.stack() now returns a named tuple instead of a tuple. Patch by
Daniel Shahaf.
..
.. bpo: 22236
.. date: 8690
.. nonce: 1utXkg
.. section: Library
Fixed Tkinter images copying operations in NoDefaultRoot mode.
..
.. bpo: 2527
.. date: 8689
.. nonce: fR2GS6
.. section: Library
Add a *globals* argument to timeit functions, in order to override the
globals namespace in which the timed code is executed. Patch by Ben Roberts.
..
.. bpo: 22118
.. date: 8688
.. nonce: 3gdkOF
.. section: Library
Switch urllib.parse to use RFC 3986 semantics for the resolution of relative
URLs, rather than RFCs 1808 and 2396. Patch by Demian Brecht.
..
.. bpo: 21549
.. date: 8687
.. nonce: i1LVvg
.. section: Library
Added the "members" parameter to TarFile.list().
..
.. bpo: 19628
.. date: 8686
.. nonce: ssQVP8
.. section: Library
Allow compileall recursion depth to be specified with a -r option.
..
.. bpo: 15696
.. date: 8685
.. nonce: PTwXYJ
.. section: Library
Add a __sizeof__ implementation for mmap objects on Windows.
..
.. bpo: 22068
.. date: 8684
.. nonce: wCdaW0
.. section: Library
Avoided reference loops with Variables and Fonts in Tkinter.
..
.. bpo: 22165
.. date: 8683
.. nonce: J1np4o
.. section: Library
SimpleHTTPRequestHandler now supports undecodable file names.
..
.. bpo: 15381
.. date: 8682
.. nonce: Ia8pf6
.. section: Library
Optimized line reading in io.BytesIO.
..
.. bpo: 8797
.. date: 8681
.. nonce: aJcIPu
.. section: Library
Raise HTTPError on failed Basic Authentication immediately. Initial patch by
Sam Bull.
..
.. bpo: 20729
.. date: 8680
.. nonce: I-1Lap
.. section: Library
Restored the use of lazy iterkeys()/itervalues()/iteritems() in the mailbox
module.
..
.. bpo: 21448
.. date: 8679
.. nonce: THJSYB
.. section: Library
Changed FeedParser feed() to avoid O(N**2) behavior when parsing long line.
Original patch by Raymond Hettinger.
..
.. bpo: 22184
.. date: 8678
.. nonce: UCbSOt
.. section: Library
The functools LRU Cache decorator factory now gives an earlier and clearer
error message when the user forgets the required parameters.
..
.. bpo: 17923
.. date: 8677
.. nonce: YI_QjG
.. section: Library
glob() patterns ending with a slash no longer match non-dirs on AIX. Based
on patch by Delhallt.
..
.. bpo: 21725
.. date: 8676
.. nonce: eIu-2N
.. section: Library
Added support for RFC 6531 (SMTPUTF8) in smtpd.
..
.. bpo: 22176
.. date: 8675
.. nonce: rgbRyg
.. section: Library
Update the ctypes module's libffi to v3.1. This release adds support for
the Linux AArch64 and POWERPC ELF ABIv2 little endian architectures.
..
.. bpo: 5411
.. date: 8674
.. nonce: 5Utapn
.. section: Library
Added support for the "xztar" format in the shutil module.
..
.. bpo: 21121
.. date: 8673
.. nonce: ZLsRil
.. section: Library
Don't force 3rd party C extensions to be built with
-Werror=declaration-after-statement.
..
.. bpo: 21975
.. date: 8672
.. nonce: MI8ntO
.. section: Library
Fixed crash when using uninitialized sqlite3.Row (in particular when
unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the
__new__() method.
..
.. bpo: 20170
.. date: 8671
.. nonce: 8QfhN7
.. section: Library
Convert posixmodule to use Argument Clinic.
..
.. bpo: 21539
.. date: 8670
.. nonce: YccmZF
.. section: Library
Add an *exists_ok* argument to `Pathlib.mkdir()` to mimic `mkdir -p` and
`os.makedirs()` functionality. When true, ignore FileExistsErrors. Patch
by Berker Peksag.
..
.. bpo: 22127
.. date: 8669
.. nonce: 0l2OO5
.. section: Library
Bypass IDNA for pure-ASCII host names in the socket module (in particular
for numeric IPs).
..
.. bpo: 21047
.. date: 8668
.. nonce: XfUQG3
.. section: Library
set the default value for the *convert_charrefs* argument of HTMLParser to
True. Patch by Berker Peksag.
..
.. bpo: 0
.. date: 8667
.. nonce: 56bAnQ
.. section: Library
Add an __all__ to html.entities.
..
.. bpo: 15114
.. date: 8666
.. nonce: jXwseC
.. section: Library
the strict mode and argument of HTMLParser, HTMLParser.error, and the
HTMLParserError exception have been removed.
..
.. bpo: 22085
.. date: 8665
.. nonce: 3JM_Aw
.. section: Library
Dropped support of Tk 8.3 in Tkinter.
..
.. bpo: 21580
.. date: 8664
.. nonce: 3ssycS
.. section: Library
Now Tkinter correctly handles bytes arguments passed to Tk. In particular
this allows initializing images from binary data.
..
.. bpo: 22003
.. date: 8663
.. nonce: 4ZIDS1
.. section: Library
When initialized from a bytes object, io.BytesIO() now defers making a copy
until it is mutated, improving performance and memory use on some use cases.
Patch by David Wilson.
..
.. bpo: 22018
.. date: 8662
.. nonce: 6ApxSH
.. section: Library
On Windows, signal.set_wakeup_fd() now also supports sockets. A side effect
is that Python depends to the WinSock library.
..
.. bpo: 22054
.. date: 8661
.. nonce: zp6Svw
.. section: Library
Add os.get_blocking() and os.set_blocking() functions to get and set the
blocking mode of a file descriptor (False if the O_NONBLOCK flag is set,
True otherwise). These functions are not available on Windows.
..
.. bpo: 17172
.. date: 8660
.. nonce: R_LI_2
.. section: Library
Make turtledemo start as active on OS X even when run with subprocess.
Patch by Lita Cho.
..
.. bpo: 21704
.. date: 8659
.. nonce: gL3ikj
.. section: Library
Fix build error for _multiprocessing when semaphores are not available.
Patch by Arfrever Frehtes Taifersar Arahesis.
..
.. bpo: 20173
.. date: 8658
.. nonce: FAL-4L
.. section: Library
Convert sha1, sha256, sha512 and md5 to ArgumentClinic. Patch by Vajrasky
Kok.
..
.. bpo: 0
.. date: 8657
.. nonce: G25tq3
.. section: Library
Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError on
closed socket. repr(socket.socket) already works fine.
..
.. bpo: 22033
.. date: 8656
.. nonce: nkBNci
.. section: Library
Reprs of most Python implemented classes now contain actual class name
instead of hardcoded one.
..
.. bpo: 21947
.. date: 8655
.. nonce: mlisu-
.. section: Library
The dis module can now disassemble generator-iterator objects based on their
gi_code attribute. Patch by Clement Rouault.
..
.. bpo: 16133
.. date: 8654
.. nonce: tYuYQF
.. section: Library
The asynchat.async_chat.handle_read() method now ignores BlockingIOError
exceptions.
..
.. bpo: 22044
.. date: 8653
.. nonce: t09GRU
.. section: Library
Fixed premature DECREF in call_tzinfo_method. Patch by Tom Flanagan.
..
.. bpo: 19884
.. date: 8652
.. nonce: v73gSn
.. section: Library
readline: Disable the meta modifier key if stdout is not a terminal to not
write the ANSI sequence ``"\033[1034h"`` into stdout. This sequence is used
on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit
characters.
..
.. bpo: 4350
.. date: 8651
.. nonce: nrTzJn
.. section: Library
Removed a number of out-of-dated and non-working for a long time Tkinter
methods.
..
.. bpo: 6167
.. date: 8650
.. nonce: n9dV_D
.. section: Library
Scrollbar.activate() now returns the name of active element if the argument
is not specified. Scrollbar.set() now always accepts only 2 arguments.
..
.. bpo: 15275
.. date: 8649
.. nonce: jk0tTI
.. section: Library
Clean up and speed up the ntpath module.
..
.. bpo: 21888
.. date: 8648
.. nonce: danlpz
.. section: Library
plistlib's load() and loads() now work if the fmt parameter is specified.
..
.. bpo: 22032
.. date: 8647
.. nonce: UklzQW
.. section: Library
__qualname__ instead of __name__ is now always used to format fully
qualified class names of Python implemented classes.
..
.. bpo: 22031
.. date: 8646
.. nonce: 9aazp1
.. section: Library
Reprs now always use hexadecimal format with the "0x" prefix when contain an
id in form " at 0x...".
..
.. bpo: 22018
.. date: 8645
.. nonce: b_JTHH
.. section: Library
signal.set_wakeup_fd() now raises an OSError instead of a ValueError on
``fstat()`` failure.
..
.. bpo: 21044
.. date: 8644
.. nonce: 16xo9u
.. section: Library
tarfile.open() now handles fileobj with an integer 'name' attribute. Based
on patch by Antoine Pietri.
..
.. bpo: 21966
.. date: 8643
.. nonce: hHD9MK
.. section: Library
Respect -q command-line option when code module is ran.
..
.. bpo: 19076
.. date: 8642
.. nonce: xCoIai
.. section: Library
Don't pass the redundant 'file' argument to self.error().
..
.. bpo: 16382
.. date: 8641
.. nonce: -XBK7z
.. section: Library
Improve exception message of warnings.warn() for bad category. Initial patch
by Phil Elson.
..
.. bpo: 21932
.. date: 8640
.. nonce: LK_5S1
.. section: Library
os.read() now uses a :c:func:`Py_ssize_t` type instead of :c:type:`int` for
the size to support reading more than 2 GB at once. On Windows, the size is
truncated to INT_MAX. As any call to os.read(), the OS may read less bytes
than the number of requested bytes.
..
.. bpo: 21942
.. date: 8639
.. nonce: TLOS41
.. section: Library
Fixed source file viewing in pydoc's server mode on Windows.
..
.. bpo: 11259
.. date: 8638
.. nonce: GxfYnE
.. section: Library
asynchat.async_chat().set_terminator() now raises a ValueError if the number
of received bytes is negative.
..
.. bpo: 12523
.. date: 8637
.. nonce: XBdAky
.. section: Library
asynchat.async_chat.push() now raises a TypeError if it doesn't get a bytes
string
..
.. bpo: 21707
.. date: 8636
.. nonce: rrY_wd
.. section: Library
Add missing kwonlyargcount argument to ModuleFinder.replace_paths_in_code().
..
.. bpo: 20639
.. date: 8635
.. nonce: YdvOpp
.. section: Library
calling Path.with_suffix('') allows removing the suffix again. Patch by
July Tikhonov.
..
.. bpo: 21714
.. date: 8634
.. nonce: HhkGXW
.. section: Library
Disallow the construction of invalid paths using Path.with_name(). Original
patch by Antony Lee.
..
.. bpo: 15014
.. date: 8633
.. nonce: dB50zb
.. section: Library
Added 'auth' method to smtplib to make implementing auth mechanisms simpler,
and used it internally in the login method.
..
.. bpo: 21151
.. date: 8632
.. nonce: o7IuiD
.. section: Library
Fixed a segfault in the winreg module when ``None`` is passed as a
``REG_BINARY`` value to SetValueEx. Patch by John Ehresman.
..
.. bpo: 21090
.. date: 8631
.. nonce: 20Ooif
.. section: Library
io.FileIO.readall() does not ignore I/O errors anymore. Before, it ignored
I/O errors if at least the first C call read() succeed.
..
.. bpo: 5800
.. date: 8630
.. nonce: ZJiLZP
.. section: Library
headers parameter of wsgiref.headers.Headers is now optional. Initial patch
by Pablo Torres Navarrete and SilentGhost.
..
.. bpo: 21781
.. date: 8629
.. nonce: u_oiv9
.. section: Library
ssl.RAND_add() now supports strings longer than 2 GB.
..
.. bpo: 21679
.. date: 8628
.. nonce: CTVT9A
.. section: Library
Prevent extraneous fstat() calls during open(). Patch by Bohuslav Kabrda.
..
.. bpo: 21863
.. date: 8627
.. nonce: BzbwSL
.. section: Library
cProfile now displays the module name of C extension functions, in addition
to their own name.
..
.. bpo: 11453
.. date: 8626
.. nonce: 53Gr_R
.. section: Library
asyncore: emit a ResourceWarning when an unclosed file_wrapper object is
destroyed. The destructor now closes the file if needed. The close() method
can now be called twice: the second call does nothing.
..
.. bpo: 21858
.. date: 8625
.. nonce: 0hbFBG
.. section: Library
Better handling of Python exceptions in the sqlite3 module.
..
.. bpo: 21476
.. date: 8624
.. nonce: VN-5pW
.. section: Library
Make sure the email.parser.BytesParser TextIOWrapper is discarded after
parsing, so the input file isn't unexpectedly closed.
..
.. bpo: 20295
.. date: 8623
.. nonce: U1MPhw
.. section: Library
imghdr now recognizes OpenEXR format images.
..
.. bpo: 21729
.. date: 8622
.. nonce: dk7o_U
.. section: Library
Used the "with" statement in the dbm.dumb module to ensure files closing.
Patch by Claudiu Popa.
..
.. bpo: 21491
.. date: 8621
.. nonce: Zxmut-
.. section: Library
socketserver: Fix a race condition in child processes reaping.
..
.. bpo: 21719
.. date: 8620
.. nonce: DhQz3I
.. section: Library
Added the ``st_file_attributes`` field to os.stat_result on Windows.
..
.. bpo: 21832
.. date: 8619
.. nonce: PBA0Uu
.. section: Library
Require named tuple inputs to be exact strings.
..
.. bpo: 21722
.. date: 8618
.. nonce: WTHuRy
.. section: Library
The distutils "upload" command now exits with a non-zero return code when
uploading fails. Patch by Martin Dengler.
..
.. bpo: 21723
.. date: 8617
.. nonce: r86fwb
.. section: Library
asyncio.Queue: support any type of number (ex: float) for the maximum size.
Patch written by Vajrasky Kok.
..
.. bpo: 21711
.. date: 8616
.. nonce: JWPFQZ
.. section: Library
support for "site-python" directories has now been removed from the site
module (it was deprecated in 3.4).
..
.. bpo: 17552
.. date: 8615
.. nonce: NunErD
.. section: Library
new socket.sendfile() method allowing a file to be sent over a socket by
using high-performance os.sendfile() on UNIX. Patch by Giampaolo Rodola'.
..
.. bpo: 18039
.. date: 8614
.. nonce: vC9hNy
.. section: Library
dbm.dump.open() now always creates a new database when the flag has the
value 'n'. Patch by Claudiu Popa.
..
.. bpo: 21326
.. date: 8613
.. nonce: Y6iW3s
.. section: Library
Add a new is_closed() method to asyncio.BaseEventLoop. run_forever() and
run_until_complete() methods of asyncio.BaseEventLoop now raise an exception
if the event loop was closed.
..
.. bpo: 21766
.. date: 8612
.. nonce: 0xk_xC
.. section: Library
Prevent a security hole in CGIHTTPServer by URL unquoting paths before
checking for a CGI script at that path.
..
.. bpo: 21310
.. date: 8611
.. nonce: 2mjByJ
.. section: Library
Fixed possible resource leak in failed open().
..
.. bpo: 21256
.. date: 8610
.. nonce: dGq6cw
.. section: Library
Printout of keyword args should be in deterministic order in a mock function
call. This will help to write better doctests.
..
.. bpo: 21677
.. date: 8609
.. nonce: 58CDDD
.. section: Library
Fixed chaining nonnormalized exceptions in io close() methods.
..
.. bpo: 11709
.. date: 8608
.. nonce: JdObvL
.. section: Library
Fix the pydoc.help function to not fail when sys.stdin is not a valid file.
..
.. bpo: 21515
.. date: 8607
.. nonce: D9TLJF
.. section: Library
tempfile.TemporaryFile now uses os.O_TMPFILE flag is available.
..
.. bpo: 13223
.. date: 8606
.. nonce: 9AzEbN
.. section: Library
Fix pydoc.writedoc so that the HTML documentation for methods that use
'self' in the example code is generated correctly.
..
.. bpo: 21463
.. date: 8605
.. nonce: 09PsgH
.. section: Library
In urllib.request, fix pruning of the FTP cache.
..
.. bpo: 21618
.. date: 8604
.. nonce: 3Z7WS3
.. section: Library
The subprocess module could fail to close open fds that were inherited by
the calling process and already higher than POSIX resource limits would
otherwise allow. On systems with a functioning /proc/self/fd or /dev/fd
interface the max is now ignored and all fds are closed.
..
.. bpo: 20383
.. date: 8603
.. nonce: pSPFpW
.. section: Library
Introduce importlib.util.module_from_spec() as the preferred way to create a
new module.
..
.. bpo: 21552
.. date: 8602
.. nonce: uVy4tM
.. section: Library
Fixed possible integer overflow of too long string lengths in the tkinter
module on 64-bit platforms.
..
.. bpo: 14315
.. date: 8601
.. nonce: YzZzS8
.. section: Library
The zipfile module now ignores extra fields in the central directory that
are too short to be parsed instead of letting a struct.unpack error bubble
up as this "bad data" appears in many real world zip files in the wild and
is ignored by other zip tools.
..
.. bpo: 13742
.. date: 8600
.. nonce: QJiVSC
.. section: Library
Added "key" and "reverse" parameters to heapq.merge(). (First draft of patch
contributed by Simon Sapin.)
..
.. bpo: 21402
.. date: 8599
.. nonce: 51vDXt
.. section: Library
tkinter.ttk now works when default root window is not set.
..
.. bpo: 3015
.. date: 8598
.. nonce: FE_PII
.. section: Library
_tkinter.create() now creates tkapp object with wantobject=1 by default.
..
.. bpo: 10203
.. date: 8597
.. nonce: zgr0hh
.. section: Library
sqlite3.Row now truly supports sequence protocol. In particular it supports
reverse() and negative indices. Original patch by Claudiu Popa.
..
.. bpo: 18807
.. date: 8596
.. nonce: XP7p8B
.. section: Library
If copying (no symlinks) specified for a venv, then the python interpreter
aliases (python, python3) are now created by copying rather than symlinking.
..
.. bpo: 20197
.. date: 8595
.. nonce: nYR9fq
.. section: Library
Added support for the WebP image type in the imghdr module. Patch by Fabrice
Aneche and Claudiu Popa.
..
.. bpo: 21513
.. date: 8594
.. nonce: ro4AOe
.. section: Library
Speedup some properties of IP addresses (IPv4Address, IPv6Address) such as
.is_private or .is_multicast.
..
.. bpo: 21137
.. date: 8593
.. nonce: wgHb_F
.. section: Library
Improve the repr for threading.Lock() and its variants by showing the
"locked" or "unlocked" status. Patch by Berker Peksag.
..
.. bpo: 21538
.. date: 8592
.. nonce: Q60FWA
.. section: Library
The plistlib module now supports loading of binary plist files when
reference or offset size is not a power of two.
..
.. bpo: 21455
.. date: 8591
.. nonce: 6-Uvv4
.. section: Library
Add a default backlog to socket.listen().
..
.. bpo: 21525
.. date: 8590
.. nonce: hAKOve
.. section: Library
Most Tkinter methods which accepted tuples now accept lists too.
..
.. bpo: 22166
.. date: 8589
.. nonce: sZYhmv
.. section: Library
With the assistance of a new internal _codecs._forget_codec helping
function, test_codecs now clears the encoding caches to avoid the appearance
of a reference leak
..
.. bpo: 22236
.. date: 8588
.. nonce: ginJSI
.. section: Library
Tkinter tests now don't reuse default root window. New root window is
created for every test class.
..
.. bpo: 10744
.. date: 8587
.. nonce: kfV0wm
.. section: Library
Fix :pep:`3118` format strings on ctypes objects with a nontrivial shape.
..
.. bpo: 20826
.. date: 8586
.. nonce: 3rXqMC
.. section: Library
Optimize ipaddress.collapse_addresses().
..
.. bpo: 21487
.. date: 8585
.. nonce: sX8YmK
.. section: Library
Optimize ipaddress.summarize_address_range() and
ipaddress.{IPv4Network,IPv6Network}.subnets().
..
.. bpo: 21486
.. date: 8584
.. nonce: CeFKRP
.. section: Library
Optimize parsing of netmasks in ipaddress.IPv4Network and
ipaddress.IPv6Network.
..
.. bpo: 13916
.. date: 8583
.. nonce: D77YVH
.. section: Library
Disallowed the surrogatepass error handler for non UTF-\* encodings.
..
.. bpo: 20998
.. date: 8582
.. nonce: fkxpXI
.. section: Library
Fixed re.fullmatch() of repeated single character pattern with ignore case.
Original patch by Matthew Barnett.
..
.. bpo: 21075
.. date: 8581
.. nonce: f_hmEh
.. section: Library
fileinput.FileInput now reads bytes from standard stream if binary mode is
specified. Patch by Sam Kimbrel.
..
.. bpo: 19775
.. date: 8580
.. nonce: yxxD_R
.. section: Library
Add a samefile() method to pathlib Path objects. Initial patch by Vajrasky
Kok.
..
.. bpo: 21226
.. date: 8579
.. nonce: pzGmG1
.. section: Library
Set up modules properly in PyImport_ExecCodeModuleObject (and friends).
..
.. bpo: 21398
.. date: 8578
.. nonce: guSBXt
.. section: Library
Fix a unicode error in the pydoc pager when the documentation contains
characters not encodable to the stdout encoding.
..
.. bpo: 16531
.. date: 8577
.. nonce: AhrY_v
.. section: Library
ipaddress.IPv4Network and ipaddress.IPv6Network now accept an (address,
netmask) tuple argument, so as to easily construct network objects from
existing addresses.
..
.. bpo: 21156
.. date: 8576
.. nonce: 3dmBEp
.. section: Library
importlib.abc.InspectLoader.source_to_code() is now a staticmethod.
..
.. bpo: 21424
.. date: 8575
.. nonce: 8CJBqW
.. section: Library
Simplified and optimized heaqp.nlargest() and nmsmallest() to make fewer
tuple comparisons.
..
.. bpo: 21396
.. date: 8574
.. nonce: cqO6DN
.. section: Library
Fix TextIOWrapper(..., write_through=True) to not force a flush() on the
underlying binary stream. Patch by akira.
..
.. bpo: 18314
.. date: 8573
.. nonce: NCd_KF
.. section: Library
Unlink now removes junctions on Windows. Patch by Kim Gräsman
..
.. bpo: 21088
.. date: 8572
.. nonce: WOg7Xy
.. section: Library
Bugfix for curses.window.addch() regression in 3.4.0. In porting to Argument
Clinic, the first two arguments were reversed.
..
.. bpo: 21407
.. date: 8571
.. nonce: cZjFde
.. section: Library
_decimal: The module now supports function signatures.
..
.. bpo: 10650
.. date: 8570
.. nonce: HYT4Oe
.. section: Library
Remove the non-standard 'watchexp' parameter from the Decimal.quantize()
method in the Python version. It had never been present in the C version.
..
.. bpo: 21469
.. date: 8569
.. nonce: _fFGuq
.. section: Library
Reduced the risk of false positives in robotparser by checking to make sure
that robots.txt has been read or does not exist prior to returning True in
can_fetch().
..
.. bpo: 19414
.. date: 8568
.. nonce: bAAw4D
.. section: Library
Have the OrderedDict mark deleted links as unusable. This gives an early
failure if the link is deleted during iteration.
..
.. bpo: 21421
.. date: 8567
.. nonce: 5AKAat
.. section: Library
Add __slots__ to the MappingViews ABC. Patch by Josh Rosenberg.
..
.. bpo: 21101
.. date: 8566
.. nonce: Lj-_P4
.. section: Library
Eliminate double hashing in the C speed-up code for collections.Counter().
..
.. bpo: 21321
.. date: 8565
.. nonce: wUkTON
.. section: Library
itertools.islice() now releases the reference to the source iterator when
the slice is exhausted. Patch by Anton Afanasyev.
..
.. bpo: 21057
.. date: 8564
.. nonce: 0TC4Xl
.. section: Library
TextIOWrapper now allows the underlying binary stream's read() or read1()
method to return an arbitrary bytes-like object (such as a memoryview).
Patch by Nikolaus Rath.
..
.. bpo: 20951
.. date: 8563
.. nonce: tF0dJi
.. section: Library
SSLSocket.send() now raises either SSLWantReadError or SSLWantWriteError on
a non-blocking socket if the operation would block. Previously, it would
return 0. Patch by Nikolaus Rath.
..
.. bpo: 13248
.. date: 8562
.. nonce: 7vtGj0
.. section: Library
removed previously deprecated asyncore.dispatcher __getattr__ cheap
inheritance hack.
..
.. bpo: 9815
.. date: 8561
.. nonce: 52FPlI
.. section: Library
assertRaises now tries to clear references to local variables in the
exception's traceback.
..
.. bpo: 19940
.. date: 8560
.. nonce: 2qtBQ8
.. section: Library
ssl.cert_time_to_seconds() now interprets the given time string in the UTC
timezone (as specified in RFC 5280), not the local timezone.
..
.. bpo: 13204
.. date: 8559
.. nonce: ZPKA5g
.. section: Library
Calling sys.flags.__new__ would crash the interpreter, now it raises a
TypeError.
..
.. bpo: 19385
.. date: 8558
.. nonce: PexO_g
.. section: Library
Make operations on a closed dbm.dumb database always raise the same
exception.
..
.. bpo: 21207
.. date: 8557
.. nonce: Hr72AB
.. section: Library
Detect when the os.urandom cached fd has been closed or replaced, and open
it anew.
..
.. bpo: 21291
.. date: 8556
.. nonce: 5sSLWN
.. section: Library
subprocess's Popen.wait() is now thread safe so that multiple threads may be
calling wait() or poll() on a Popen instance at the same time without losing
the Popen.returncode value.
..
.. bpo: 21127
.. date: 8555
.. nonce: A1aBjG
.. section: Library
Path objects can now be instantiated from str subclass instances (such as
``numpy.str_``).
..
.. bpo: 15002
.. date: 8554
.. nonce: qorYDe
.. section: Library
urllib.response object to use _TemporaryFileWrapper (and
_TemporaryFileCloser) facility. Provides a better way to handle file
descriptor close. Patch contributed by Christian Theune.
..
.. bpo: 12220
.. date: 8553
.. nonce: U25uE9
.. section: Library
mindom now raises a custom ValueError indicating it doesn't support spaces
in URIs instead of letting a 'split' ValueError bubble up.
..
.. bpo: 21068
.. date: 8552
.. nonce: 9k6N9m
.. section: Library
The ssl.PROTOCOL* constants are now enum members.
..
.. bpo: 21276
.. date: 8551
.. nonce: JkfhvQ
.. section: Library
posixmodule: Don't define USE_XATTRS on KFreeBSD and the Hurd.
..
.. bpo: 21262
.. date: 8550
.. nonce: 1J5ylk
.. section: Library
New method assert_not_called for Mock. It raises AssertionError if the mock
has been called.
..
.. bpo: 21238
.. date: 8549
.. nonce: 5CDoox
.. section: Library
New keyword argument `unsafe` to Mock. It raises `AttributeError` incase of
an attribute startswith assert or assret.
..
.. bpo: 20896
.. date: 8548
.. nonce: oWwAb1
.. section: Library
ssl.get_server_certificate() now uses PROTOCOL_SSLv23, not PROTOCOL_SSLv3,
for maximum compatibility.
..
.. bpo: 21239
.. date: 8547
.. nonce: EalCNt
.. section: Library
patch.stopall() didn't work deterministically when the same name was patched
more than once.
..
.. bpo: 21203
.. date: 8546
.. nonce: 1IMs-Z
.. section: Library
Updated fileConfig and dictConfig to remove inconsistencies. Thanks to Jure
Koren for the patch.
..
.. bpo: 21222
.. date: 8545
.. nonce: G6MQBP
.. section: Library
Passing name keyword argument to mock.create_autospec now works.
..
.. bpo: 21197
.. date: 8544
.. nonce: Gzfqdl
.. section: Library
Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX.
..
.. bpo: 17498
.. date: 8543
.. nonce: LR9xyb
.. section: Library
Some SMTP servers disconnect after certain errors, violating strict RFC
conformance. Instead of losing the error code when we issue the subsequent
RSET, smtplib now returns the error code and defers raising the
SMTPServerDisconnected error until the next command is issued.
..
.. bpo: 17826
.. date: 8542
.. nonce: z0zMRV
.. section: Library
setting an iterable side_effect on a mock function created by
create_autospec now works. Patch by Kushal Das.
..
.. bpo: 7776
.. date: 8541
.. nonce: K5S2Pe
.. section: Library
Fix ``Host:`` header and reconnection when using
http.client.HTTPConnection.set_tunnel(). Patch by Nikolaus Rath.
..
.. bpo: 20968
.. date: 8540
.. nonce: 53Aagz
.. section: Library
unittest.mock.MagicMock now supports division. Patch by Johannes Baiter.
..
.. bpo: 21529
.. date: 8539
.. nonce: 57R_Fc
.. section: Library
Fix arbitrary memory access in JSONDecoder.raw_decode with a negative second
parameter. Bug reported by Guido Vranken. (See also: CVE-2014-4616)
..
.. bpo: 21169
.. date: 8538
.. nonce: KE7B0M
.. section: Library
getpass now handles non-ascii characters that the input stream encoding
cannot encode by re-encoding using the replace error handler.
..
.. bpo: 21171
.. date: 8537
.. nonce: iUbV9S
.. section: Library
Fixed undocumented filter API of the rot13 codec. Patch by Berker Peksag.
..
.. bpo: 20539
.. date: 8536
.. nonce: 62nbEb
.. section: Library
Improved math.factorial error message for large positive inputs and changed
exception type (OverflowError -> ValueError) for large negative inputs.
..
.. bpo: 21172
.. date: 8535
.. nonce: dQ7yY7
.. section: Library
isinstance check relaxed from dict to collections.Mapping.
..
.. bpo: 21155
.. date: 8534
.. nonce: JSKEE7
.. section: Library
asyncio.EventLoop.create_unix_server() now raises a ValueError if path and
sock are specified at the same time.
..
.. bpo: 21136
.. date: 8533
.. nonce: JZAKv3
.. section: Library
Avoid unnecessary normalization of Fractions resulting from power and other
operations. Patch by Raymond Hettinger.
..
.. bpo: 17621
.. date: 8532
.. nonce: 1x0mvJ
.. section: Library
Introduce importlib.util.LazyLoader.
..
.. bpo: 21076
.. date: 8531
.. nonce: upxQc6
.. section: Library
signal module constants were turned into enums. Patch by Giampaolo Rodola'.
..
.. bpo: 20636
.. date: 8530
.. nonce: KGh-BD
.. section: Library
Improved the repr of Tkinter widgets.
..
.. bpo: 19505
.. date: 8529
.. nonce: VEtIE6
.. section: Library
The items, keys, and values views of OrderedDict now support reverse
iteration using reversed().
..
.. bpo: 21149
.. date: 8528
.. nonce: cnjwMR
.. section: Library
Improved thread-safety in logging cleanup during interpreter shutdown.
Thanks to Devin Jeanpierre for the patch.
..
.. bpo: 21058
.. date: 8527
.. nonce: IhluPP
.. section: Library
Fix a leak of file descriptor in :func:`tempfile.NamedTemporaryFile`, close
the file descriptor if :func:`io.open` fails
..
.. bpo: 21200
.. date: 8526
.. nonce: Kht8yD
.. section: Library
Return None from pkgutil.get_loader() when __spec__ is missing.
..
.. bpo: 21013
.. date: 8525
.. nonce: 3s8Ic0
.. section: Library
Enhance ssl.create_default_context() when used for server side sockets to
provide better security by default.
..
.. bpo: 20145
.. date: 8524
.. nonce: FP5FY0
.. section: Library
`assertRaisesRegex` and `assertWarnsRegex` now raise a TypeError if the
second argument is not a string or compiled regex.
..
.. bpo: 20633
.. date: 8523
.. nonce: 6kaPjT
.. section: Library
Replace relative import by absolute import.
..
.. bpo: 20980
.. date: 8522
.. nonce: cYszHY
.. section: Library
Stop wrapping exception when using ThreadPool.
..
.. bpo: 21082
.. date: 8521
.. nonce: GLzGlV
.. section: Library
In os.makedirs, do not set the process-wide umask. Note this changes
behavior of makedirs when exist_ok=True.
..
.. bpo: 20990
.. date: 8520
.. nonce: PBfjW3
.. section: Library
Fix issues found by pyflakes for multiprocessing.
..
.. bpo: 21015
.. date: 8519
.. nonce: xnwWAH
.. section: Library
SSL contexts will now automatically select an elliptic curve for ECDH key
exchange on OpenSSL 1.0.2 and later, and otherwise default to "prime256v1".
..
.. bpo: 21000
.. date: 8518
.. nonce: JUyyVV
.. section: Library
Improve the command-line interface of json.tool.
..
.. bpo: 20995
.. date: 8517
.. nonce: KSORJT
.. section: Library
Enhance default ciphers used by the ssl module to enable better security and
prioritize perfect forward secrecy.
..
.. bpo: 20884
.. date: 8516
.. nonce: qNmub_
.. section: Library
Don't assume that __file__ is defined on importlib.__init__.
..
.. bpo: 21499
.. date: 8515
.. nonce: wU4OBi
.. section: Library
Ignore __builtins__ in several test_importlib.test_api tests.
..
.. bpo: 20627
.. date: 8514
.. nonce: fgfQ1x
.. section: Library
xmlrpc.client.ServerProxy is now a context manager.
..
.. bpo: 19165
.. date: 8513
.. nonce: sAkUjU
.. section: Library
The formatter module now raises DeprecationWarning instead of
PendingDeprecationWarning.
..
.. bpo: 13936
.. date: 8512
.. nonce: _Q0Yog
.. section: Library
Remove the ability of datetime.time instances to be considered false in
boolean contexts.
..
.. bpo: 18931
.. date: 8511
.. nonce: mq4Mud
.. section: Library
selectors module now supports /dev/poll on Solaris. Patch by Giampaolo
Rodola'.
..
.. bpo: 19977
.. date: 8510
.. nonce: A-sQ_V
.. section: Library
When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale),
:py:data:`sys.stdin` and :py:data:`sys.stdout` are now using the
``surrogateescape`` error handler, instead of the ``strict`` error handler.
..
.. bpo: 20574
.. date: 8509
.. nonce: KaKqSs
.. section: Library
Implement incremental decoder for cp65001 code (Windows code page 65001,
Microsoft UTF-8).
..
.. bpo: 20879
.. date: 8508
.. nonce: myeYdq
.. section: Library
Delay the initialization of encoding and decoding tables for base32, ascii85
and base85 codecs in the base64 module, and delay the initialization of the
unquote_to_bytes() table of the urllib.parse module, to not waste memory if
these modules are not used.
..
.. bpo: 19157
.. date: 8507
.. nonce: V1-XhC
.. section: Library
Include the broadcast address in the usuable hosts for IPv6 in ipaddress.
..
.. bpo: 11599
.. date: 8506
.. nonce: 9QOXf4
.. section: Library
When an external command (e.g. compiler) fails, distutils now prints out the
whole command line (instead of just the command name) if the environment
variable DISTUTILS_DEBUG is set.
..
.. bpo: 4931
.. date: 8505
.. nonce: uF10hr
.. section: Library
distutils should not produce unhelpful "error: None" messages anymore.
distutils.util.grok_environment_error is kept but doc-deprecated.
..
.. bpo: 20875
.. date: 8504
.. nonce: IjfI5V
.. section: Library
Prevent possible gzip "'read' is not defined" NameError. Patch by Claudiu
Popa.
..
.. bpo: 11558
.. date: 8503
.. nonce: pxrsmq
.. section: Library
``email.message.Message.attach`` now returns a more useful error message if
``attach`` is called on a message for which ``is_multipart`` is False.
..
.. bpo: 20283
.. date: 8502
.. nonce: v0Vs9V
.. section: Library
RE pattern methods now accept the string keyword parameters as documented.
The pattern and source keyword parameters are left as deprecated aliases.
..
.. bpo: 20778
.. date: 8501
.. nonce: g_fAGI
.. section: Library
Fix modulefinder to work with bytecode-only modules.
..
.. bpo: 20791
.. date: 8500
.. nonce: n_zrkc
.. section: Library
copy.copy() now doesn't make a copy when the input is a bytes object.
Initial patch by Peter Otten.
..
.. bpo: 19748
.. date: 8499
.. nonce: kiA171
.. section: Library
On AIX, time.mktime() now raises an OverflowError for year outsize range
[1902; 2037].
..
.. bpo: 19573
.. date: 8498
.. nonce: QJvX_V
.. section: Library
inspect.signature: Use enum for parameter kind constants.
..
.. bpo: 20726
.. date: 8497
.. nonce: 0yfRDI
.. section: Library
inspect.signature: Make Signature and Parameter picklable.
..
.. bpo: 17373
.. date: 8496
.. nonce: ECwuJO
.. section: Library
Add inspect.Signature.from_callable method.
..
.. bpo: 20378
.. date: 8495
.. nonce: l9M3H-
.. section: Library
Improve repr of inspect.Signature and inspect.Parameter.
..
.. bpo: 20816
.. date: 8494
.. nonce: DFMEgN
.. section: Library
Fix inspect.getcallargs() to raise correct TypeError for missing
keyword-only arguments. Patch by Jeremiah Lowin.
..
.. bpo: 20817
.. date: 8493
.. nonce: O5XyZB
.. section: Library
Fix inspect.getcallargs() to fail correctly if more than 3 arguments are
missing. Patch by Jeremiah Lowin.
..
.. bpo: 6676
.. date: 8492
.. nonce: CJu5On
.. section: Library
Ensure a meaningful exception is raised when attempting to parse more than
one XML document per pyexpat xmlparser instance. (Original patches by
Hirokazu Yamamoto and Amaury Forgeot d'Arc, with suggested wording by David
Gutteridge)
..
.. bpo: 21117
.. date: 8491
.. nonce: hyH7EK
.. section: Library
Fix inspect.signature to better support functools.partial. Due to the
specifics of functools.partial implementation, positional-or-keyword
arguments passed as keyword arguments become keyword-only.
..
.. bpo: 20334
.. date: 8490
.. nonce: 0yFmfQ
.. section: Library
inspect.Signature and inspect.Parameter are now hashable. Thanks to Antony
Lee for bug reports and suggestions.
..
.. bpo: 15916
.. date: 8489
.. nonce: _vhKPn
.. section: Library
doctest.DocTestSuite returns an empty unittest.TestSuite instead of raising
ValueError if it finds no tests
..
.. bpo: 21209
.. date: 8488
.. nonce: wRE7Dn
.. section: Library
Fix asyncio.tasks.CoroWrapper to workaround a bug in yield-from
implementation in CPythons prior to 3.4.1.
..
.. bpo: 0
.. date: 8487
.. nonce: Q1I78Z
.. section: Library
asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream
issue #163).
..
.. bpo: 21311
.. date: 8486
.. nonce: JsDF8H
.. section: Library
Avoid exception in _osx_support with non-standard compiler configurations.
Patch by John Szakmeister.
..
.. bpo: 11571
.. date: 8485
.. nonce: RPeGNo
.. section: Library
Ensure that the turtle window becomes the topmost window when launched on OS
X.
..
.. bpo: 21801
.. date: 8484
.. nonce: rzfhYl
.. section: Library
Validate that __signature__ is None or an instance of Signature.
..
.. bpo: 21923
.. date: 8483
.. nonce: hXnoZa
.. section: Library
Prevent AttributeError in distutils.sysconfig.customize_compiler due to
possible uninitialized _config_vars.
..
.. bpo: 21323
.. date: 8482
.. nonce: quiWfl
.. section: Library
Fix http.server to again handle scripts in CGI subdirectories, broken by the
fix for security issue #19435. Patch by Zach Byrne.
..
.. bpo: 22733
.. date: 8481
.. nonce: 21gJBp
.. section: Library
Fix ffi_prep_args not zero-extending argument values correctly on 64-bit
Windows.
..
.. bpo: 23302
.. date: 8480
.. nonce: X2dabK
.. section: Library
Default to TCP_NODELAY=1 upon establishing an HTTPConnection. Removed use of
hard-coded MSS as it's an optimization that's no longer needed with Nagle
disabled.
..
.. bpo: 20577
.. date: 8479
.. nonce: Y71IMj
.. section: IDLE
Configuration of the max line length for the FormatParagraph extension has
been moved from the General tab of the Idle preferences dialog to the
FormatParagraph tab of the Config Extensions dialog. Patch by Tal Einat.
..
.. bpo: 16893
.. date: 8478
.. nonce: JfHAA4
.. section: IDLE
Update Idle doc chapter to match current Idle and add new information.
..
.. bpo: 3068
.. date: 8477
.. nonce: TYjXTA
.. section: IDLE
Add Idle extension configuration dialog to Options menu. Changes are written
to HOME/.idlerc/config-extensions.cfg. Original patch by Tal Einat.
..
.. bpo: 16233
.. date: 8476
.. nonce: sOadNo
.. section: IDLE
A module browser (File : Class Browser, Alt+C) requires an editor window
with a filename. When Class Browser is requested otherwise, from a shell,
output window, or 'Untitled' editor, Idle no longer displays an error box.
It now pops up an Open Module box (Alt+M). If a valid name is entered and a
module is opened, a corresponding browser is also opened.
..
.. bpo: 4832
.. date: 8475
.. nonce: GRKi9M
.. section: IDLE
Save As to type Python files automatically adds .py to the name you enter
(even if your system does not display it). Some systems automatically add
.txt when type is Text files.
..
.. bpo: 21986
.. date: 8474
.. nonce: 04GUv2
.. section: IDLE
Code objects are not normally pickled by the pickle module. To match this,
they are no longer pickled when running under Idle.
..
.. bpo: 17390
.. date: 8473
.. nonce: I4vHFh
.. section: IDLE
Adjust Editor window title; remove 'Python', move version to end.
..
.. bpo: 14105
.. date: 8472
.. nonce: -FZwYH
.. section: IDLE
Idle debugger breakpoints no longer disappear when inserting or deleting
lines.
..
.. bpo: 17172
.. date: 8471
.. nonce: R8jkU1
.. section: IDLE
Turtledemo can now be run from Idle. Currently, the entry is on the Help
menu, but it may move to Run. Patch by Ramchandra Apt and Lita Cho.
..
.. bpo: 21765
.. date: 8470
.. nonce: JyiDbd
.. section: IDLE
Add support for non-ascii identifiers to HyperParser.
..
.. bpo: 21940
.. date: 8469
.. nonce: VlIRz7
.. section: IDLE
Add unittest for WidgetRedirector. Initial patch by Saimadhav Heblikar.
..
.. bpo: 18592
.. date: 8468
.. nonce: sMG-SZ
.. section: IDLE
Add unittest for SearchDialogBase. Patch by Phil Webster.
..
.. bpo: 21694
.. date: 8467
.. nonce: 1oLmRo
.. section: IDLE
Add unittest for ParenMatch. Patch by Saimadhav Heblikar.
..
.. bpo: 21686
.. date: 8466
.. nonce: TAkFB0
.. section: IDLE
add unittest for HyperParser. Original patch by Saimadhav Heblikar.
..
.. bpo: 12387
.. date: 8465
.. nonce: XO7Ozk
.. section: IDLE
Add missing upper(lower)case versions of default Windows key bindings for
Idle so Caps Lock does not disable them. Patch by Roger Serwy.
..
.. bpo: 21695
.. date: 8464
.. nonce: g-t0Tm
.. section: IDLE
Closing a Find-in-files output window while the search is still in progress
no longer closes Idle.
..
.. bpo: 18910
.. date: 8463
.. nonce: ke8lMK
.. section: IDLE
Add unittest for textView. Patch by Phil Webster.
..
.. bpo: 18292
.. date: 8462
.. nonce: ks_3wm
.. section: IDLE
Add unittest for AutoExpand. Patch by Saihadhav Heblikar.
..
.. bpo: 18409
.. date: 8461
.. nonce: 7fe-aK
.. section: IDLE
Add unittest for AutoComplete. Patch by Phil Webster.
..
.. bpo: 21477
.. date: 8460
.. nonce: 33NOe0
.. section: IDLE
htest.py - Improve framework, complete set of tests. Patches by Saimadhav
Heblikar
..
.. bpo: 18104
.. date: 8459
.. nonce: 8Fj9Pf
.. section: IDLE
Add idlelib/idle_test/htest.py with a few sample tests to begin
consolidating and improving human-validated tests of Idle. Change other
files as needed to work with htest. Running the module as __main__ runs all
tests.
..
.. bpo: 21139
.. date: 8458
.. nonce: kqetng
.. section: IDLE
Change default paragraph width to 72, the :pep:`8` recommendation.
..
.. bpo: 21284
.. date: 8457
.. nonce: KKJfmv
.. section: IDLE
Paragraph reformat test passes after user changes reformat width.
..
.. bpo: 17654
.. date: 8456
.. nonce: NbzhNS
.. section: IDLE
Ensure IDLE menus are customized properly on OS X for non-framework builds
and for all variants of Tk.
..
.. bpo: 23180
.. date: 8455
.. nonce: cE_89F
.. section: IDLE
Rename IDLE "Windows" menu item to "Window". Patch by Al Sweigart.
..
.. bpo: 15506
.. date: 8454
.. nonce: nh8KlR
.. section: Build
Use standard PKG_PROG_PKG_CONFIG autoconf macro in the configure script.
..
.. bpo: 22935
.. date: 8453
.. nonce: -vY3lc
.. section: Build
Allow the ssl module to be compiled if openssl doesn't support SSL 3.
..
.. bpo: 22592
.. date: 8452
.. nonce: O_IE9W
.. section: Build
Drop support of the Borland C compiler to build Python. The distutils module
still supports it to build extensions.
..
.. bpo: 22591
.. date: 8451
.. nonce: wwBlG8
.. section: Build
Drop support of MS-DOS, especially of the DJGPP compiler (MS-DOS port of
GCC).
..
.. bpo: 16537
.. date: 8450
.. nonce: llFo71
.. section: Build
Check whether self.extensions is empty in setup.py. Patch by Jonathan
Hosmer.
..
.. bpo: 22359
.. date: 8449
.. nonce: YYFOFG
.. section: Build
Remove incorrect uses of recursive make. Patch by Jonas Wagner.
..
.. bpo: 21958
.. date: 8448
.. nonce: 3rq4qR
.. section: Build
Define HAVE_ROUND when building with Visual Studio 2013 and above. Patch by
Zachary Turner.
..
.. bpo: 18093
.. date: 8447
.. nonce: gnZieo
.. section: Build
the programs that embed the CPython runtime are now in a separate "Programs"
directory, rather than being kept in the Modules directory.
..
.. bpo: 15759
.. date: 8446
.. nonce: iGLR6O
.. section: Build
"make suspicious", "make linkcheck" and "make doctest" in Doc/ now display
special message when and only when there are failures.
..
.. bpo: 21141
.. date: 8445
.. nonce: 669LzK
.. section: Build
The Windows build process no longer attempts to find Perl, instead relying
on OpenSSL source being configured and ready to build. The
``PCbuild\build_ssl.py`` script has been re-written and re-named to
``PCbuild\prepare_ssl.py``, and takes care of configuring OpenSSL source for
both 32 and 64 bit platforms. OpenSSL sources obtained from svn.python.org
will always be pre-configured and ready to build.
..
.. bpo: 21037
.. date: 8444
.. nonce: v1rZzo
.. section: Build
Add a build option to enable AddressSanitizer support.
..
.. bpo: 19962
.. date: 8443
.. nonce: HDlwsE
.. section: Build
The Windows build process now creates "python.bat" in the root of the source
tree, which passes all arguments through to the most recently built
interpreter.
..
.. bpo: 21285
.. date: 8442
.. nonce: cU9p2E
.. section: Build
Refactor and fix curses configure check to always search in a ncursesw
directory.
..
.. bpo: 15234
.. date: 8441
.. nonce: vlM720
.. section: Build
For BerkeleyDB and Sqlite, only add the found library and include directories
if they aren't already being searched. This avoids an explicit runtime
library dependency.
..
.. bpo: 17861
.. date: 8440
.. nonce: jCi44U
.. section: Build
Tools/scripts/generate_opcode_h.py automatically regenerates
Include/opcode.h from Lib/opcode.py if the latter gets any change.
..
.. bpo: 20644
.. date: 8439
.. nonce: aV0zq7
.. section: Build
OS X installer build support for documentation build changes in 3.4.1:
assume externally supplied sphinx-build is available in /usr/bin.
..
.. bpo: 20022
.. date: 8438
.. nonce: EqSCTW
.. section: Build
Eliminate use of deprecated bundlebuilder in OS X builds.
..
.. bpo: 15968
.. date: 8437
.. nonce: vxUxHK
.. section: Build
Incorporated Tcl, Tk, and Tix builds into the Windows build solution.
..
.. bpo: 17095
.. date: 8436
.. nonce: -XEBIU
.. section: Build
Fix Modules/Setup *shared* support.
..
.. bpo: 21811
.. date: 8435
.. nonce: 3_Xyr-
.. section: Build
Anticipated fixes to support OS X versions > 10.9.
..
.. bpo: 21166
.. date: 8434
.. nonce: KAl7aO
.. section: Build
Prevent possible segfaults and other random failures of python
--generate-posix-vars in pybuilddir.txt build target.
..
.. bpo: 18096
.. date: 8433
.. nonce: ELyAUJ
.. section: Build
Fix library order returned by python-config.
..
.. bpo: 17219
.. date: 8432
.. nonce: q8ueQ0
.. section: Build
Add library build dir for Python extension cross-builds.
..
.. bpo: 22919
.. date: 8431
.. nonce: 1XThL9
.. section: Build
Windows build updated to support VC 14.0 (Visual Studio 2015), which will be
used for the official release.
..
.. bpo: 21236
.. date: 8430
.. nonce: 84LXxj
.. section: Build
Build _msi.pyd with cabinet.lib instead of fci.lib
..
.. bpo: 17128
.. date: 8429
.. nonce: U2biLA
.. section: Build
Use private version of OpenSSL for OS X 10.5+ installer.
..
.. bpo: 14203
.. date: 8428
.. nonce: 3hv0TX
.. section: C API
Remove obsolete support for view==NULL in PyBuffer_FillInfo(),
bytearray_getbuffer(), bytesiobuf_getbuffer() and array_buffer_getbuf(). All
functions now raise BufferError in that case.
..
.. bpo: 22445
.. date: 8427
.. nonce: s0AOAS
.. section: C API
PyBuffer_IsContiguous() now implements precise contiguity tests, compatible
with NumPy's NPY_RELAXED_STRIDES_CHECKING compilation flag. Previously the
function reported false negatives for corner cases.
..
.. bpo: 22079
.. date: 8426
.. nonce: zhs2qM
.. section: C API
PyType_Ready() now checks that statically allocated type has no dynamically
allocated bases.
..
.. bpo: 22453
.. date: 8425
.. nonce: XoO4ns
.. section: C API
Removed non-documented macro PyObject_REPR().
..
.. bpo: 18395
.. date: 8424
.. nonce: YC9B06
.. section: C API
Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename
``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these
functions.
..
.. bpo: 21233
.. date: 8423
.. nonce: 98hZAt
.. section: C API
Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), PyObject_Calloc(),
_PyObject_GC_Calloc(). bytes(int) is now using ``calloc()`` instead of
``malloc()`` for large objects which is faster and use less memory.
..
.. bpo: 20942
.. date: 8422
.. nonce: qHLJ5-
.. section: C API
PyImport_ImportFrozenModuleObject() no longer sets __file__ to match what
importlib does; this affects _frozen_importlib as well as any module loaded
using imp.init_frozen().
..
.. bpo: 19548
.. date: 8421
.. nonce: yOX8sS
.. section: Documentation
Update the codecs module documentation to better cover the distinction
between text encodings and other codecs, together with other clarifications.
Patch by Martin Panter.
..
.. bpo: 22394
.. date: 8420
.. nonce: 6bJywY
.. section: Documentation
Doc/Makefile now supports ``make venv PYTHON=../python`` to create a venv
for generating the documentation, e.g., ``make html
PYTHON=venv/bin/python3``.
..
.. bpo: 21514
.. date: 8419
.. nonce: 1H16T6
.. section: Documentation
The documentation of the json module now refers to new JSON RFC 7159 instead
of obsoleted RFC 4627.
..
.. bpo: 21777
.. date: 8418
.. nonce: dtQCWV
.. section: Documentation
The binary sequence methods on bytes and bytearray are now documented
explicitly, rather than assuming users will be able to derive the expected
behaviour from the behaviour of the corresponding str methods.
..
.. bpo: 6916
.. date: 8417
.. nonce: 4sm3nE
.. section: Documentation
undocument deprecated asynchat.fifo class.
..
.. bpo: 17386
.. date: 8416
.. nonce: ivaGLb
.. section: Documentation
Expanded functionality of the ``Doc/make.bat`` script to make it much more
comparable to ``Doc/Makefile``.
..
.. bpo: 21312
.. date: 8415
.. nonce: 6IqcV4
.. section: Documentation
Update the thread_foobar.h template file to include newer threading APIs.
Patch by Jack McCracken.
..
.. bpo: 21043
.. date: 8414
.. nonce: oEOC8O
.. section: Documentation
Remove the recommendation for specific CA organizations and to mention the
ability to load the OS certificates.
..
.. bpo: 20765
.. date: 8413
.. nonce: Rv3GgV
.. section: Documentation
Add missing documentation for PurePath.with_name() and
PurePath.with_suffix().
..
.. bpo: 19407
.. date: 8412
.. nonce: mRyNnG
.. section: Documentation
New package installation and distribution guides based on the Python
Packaging Authority tools. Existing guides have been retained as legacy
links from the distutils docs, as they still contain some required reference
material for tool developers that isn't recorded anywhere else.
..
.. bpo: 19697
.. date: 8411
.. nonce: 2jMQBP
.. section: Documentation
Document cases where __main__.__spec__ is None.
..
.. bpo: 18982
.. date: 8410
.. nonce: TynSM6
.. section: Tests
Add tests for CLI of the calendar module.
..
.. bpo: 19548
.. date: 8409
.. nonce: 25Kxq_
.. section: Tests
Added some additional checks to test_codecs to ensure that statements in the
updated documentation remain accurate. Patch by Martin Panter.
..
.. bpo: 22838
.. date: 8408
.. nonce: VZBtZg
.. section: Tests
All test_re tests now work with unittest test discovery.
..
.. bpo: 22173
.. date: 8407
.. nonce: dxIIVx
.. section: Tests
Update lib2to3 tests to use unittest test discovery.
..
.. bpo: 16000
.. date: 8406
.. nonce: Y7O6TP
.. section: Tests
Convert test_curses to use unittest.
..
.. bpo: 21456
.. date: 8405
.. nonce: Axsw43
.. section: Tests
Skip two tests in test_urllib2net.py if _ssl module not present. Patch by
Remi Pointel.
..
.. bpo: 20746
.. date: 8404
.. nonce: N2pzAY
.. section: Tests
Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye.
..
.. bpo: 22060
.. date: 8403
.. nonce: TduJNO
.. section: Tests
test_ctypes has been somewhat cleaned up and simplified; it now uses
unittest test discovery to find its tests.
..
.. bpo: 22104
.. date: 8402
.. nonce: -YYDup
.. section: Tests
regrtest.py no longer holds a reference to the suite of tests loaded from
test modules that don't define test_main().
..
.. bpo: 22111
.. date: 8401
.. nonce: 0XlFAU
.. section: Tests
Assorted cleanups in test_imaplib. Patch by Milan Oberkirch.
..
.. bpo: 22002
.. date: 8400
.. nonce: jpiaA2
.. section: Tests
Added ``load_package_tests`` function to test.support and used it to
implement/augment test discovery in test_asyncio, test_email,
test_importlib, test_json, and test_tools.
..
.. bpo: 21976
.. date: 8399
.. nonce: Slq6se
.. section: Tests
Fix test_ssl to accept LibreSSL version strings. Thanks to William Orr.
..
.. bpo: 21918
.. date: 8398
.. nonce: QTFFSj
.. section: Tests
Converted test_tools from a module to a package containing separate test
files for each tested script.
..
.. bpo: 9554
.. date: 8397
.. nonce: VsP0Ve
.. section: Tests
Use modern unittest features in test_argparse. Initial patch by Denver
Coneybeare and Radu Voicilas.
..
.. bpo: 20155
.. date: 8396
.. nonce: nphzS3
.. section: Tests
Changed HTTP method names in failing tests in test_httpservers so that
packet filtering software (specifically Windows Base Filtering Engine) does
not interfere with the transaction semantics expected by the tests.
..
.. bpo: 19493
.. date: 8395
.. nonce: SwbzLQ
.. section: Tests
Refactored the ctypes test package to skip tests explicitly rather than
silently.
..
.. bpo: 18492
.. date: 8394
.. nonce: ylPRU7
.. section: Tests
All resources are now allowed when tests are not run by regrtest.py.
..
.. bpo: 21634
.. date: 8393
.. nonce: Eng06F
.. section: Tests
Fix pystone micro-benchmark: use floor division instead of true division to
benchmark integers instead of floating point numbers. Set pystone version to
1.2. Patch written by Lennart Regebro.
..
.. bpo: 21605
.. date: 8392
.. nonce: qsLV8d
.. section: Tests
Added tests for Tkinter images.
..
.. bpo: 21493
.. date: 8391
.. nonce: NqhRsy
.. section: Tests
Added test for ntpath.expanduser(). Original patch by Claudiu Popa.
..
.. bpo: 19925
.. date: 8390
.. nonce: dhMx08
.. section: Tests
Added tests for the spwd module. Original patch by Vajrasky Kok.
..
.. bpo: 21522
.. date: 8389
.. nonce: b-VwFW
.. section: Tests
Added Tkinter tests for Listbox.itemconfigure(),
PanedWindow.paneconfigure(), and Menu.entryconfigure().
..
.. bpo: 17756
.. date: 8388
.. nonce: LLfbfU
.. section: Tests
Fix test_code test when run from the installed location.
..
.. bpo: 17752
.. date: 8387
.. nonce: P8iG44
.. section: Tests
Fix distutils tests when run from the installed location.
..
.. bpo: 18604
.. date: 8386
.. nonce: Q00Xrj
.. section: Tests
Consolidated checks for GUI availability. All platforms now at least check
whether Tk can be instantiated when the GUI resource is requested.
..
.. bpo: 21275
.. date: 8385
.. nonce: lI5FkX
.. section: Tests
Fix a socket test on KFreeBSD.
..
.. bpo: 21223
.. date: 8384
.. nonce: lMY6ka
.. section: Tests
Pass test_site/test_startup_imports when some of the extensions are built as
builtins.
..
.. bpo: 20635
.. date: 8383
.. nonce: mzWmoS
.. section: Tests
Added tests for Tk geometry managers.
..
.. bpo: 0
.. date: 8382
.. nonce: E5XNqr
.. section: Tests
Add test case for freeze.
..
.. bpo: 20743
.. date: 8381
.. nonce: hxZQUf
.. section: Tests
Fix a reference leak in test_tcl.
..
.. bpo: 21097
.. date: 8380
.. nonce: gsUesm
.. section: Tests
Move test_namespace_pkgs into test_importlib.
..
.. bpo: 21503
.. date: 8379
.. nonce: H9TPCg
.. section: Tests
Use test_both() consistently in test_importlib.
..
.. bpo: 20939
.. date: 8378
.. nonce: x3KQ35
.. section: Tests
Avoid various network test failures due to new redirect of
http://www.python.org/ to https://www.python.org: use http://www.example.com
instead.
..
.. bpo: 20668
.. date: 8377
.. nonce: IWjOSC
.. section: Tests
asyncio tests no longer rely on tests.txt file. (Patch by Vajrasky Kok)
..
.. bpo: 21093
.. date: 8376
.. nonce: CcpRim
.. section: Tests
Prevent failures of ctypes test_macholib on OS X if a copy of libz exists in
$HOME/lib or /usr/local/lib.
..
.. bpo: 22770
.. date: 8375
.. nonce: FxAh91
.. section: Tests
Prevent some Tk segfaults on OS X when running gui tests.
..
.. bpo: 23211
.. date: 8374
.. nonce: Bc-QfJ
.. section: Tests
Workaround test_logging failure on some OS X 10.6 systems.
..
.. bpo: 23345
.. date: 8373
.. nonce: HIGBKx
.. section: Tests
Prevent test_ssl failures with large OpenSSL patch level values (like
0.9.8zc).
..
.. bpo: 22314
.. date: 8372
.. nonce: ws6xsH
.. section: Tools/Demos
pydoc now works when the LINES environment variable is set.
..
.. bpo: 22615
.. date: 8371
.. nonce: My3DWN
.. section: Tools/Demos
Argument Clinic now supports the "type" argument for the int converter.
This permits using the int converter with enums and typedefs.
..
.. bpo: 20076
.. date: 8370
.. nonce: ZNuBrC
.. section: Tools/Demos
The makelocalealias.py script no longer ignores UTF-8 mapping.
..
.. bpo: 20079
.. date: 8369
.. nonce: ogPXcK
.. section: Tools/Demos
The makelocalealias.py script now can parse the SUPPORTED file from glibc
sources and supports command line options for source paths.
..
.. bpo: 22201
.. date: 8368
.. nonce: k1Awbh
.. section: Tools/Demos
Command-line interface of the zipfile module now correctly extracts ZIP
files with directory entries. Patch by Ryan Wilson.
..
.. bpo: 22120
.. date: 8367
.. nonce: KmBUj-
.. section: Tools/Demos
For functions using an unsigned integer return converter, Argument Clinic
now generates a cast to that type for the comparison to -1 in the generated
code. (This suppresses a compilation warning.)
..
.. bpo: 18974
.. date: 8366
.. nonce: I3DdAo
.. section: Tools/Demos
Tools/scripts/diff.py now uses argparse instead of optparse.
..
.. bpo: 21906
.. date: 8365
.. nonce: ZsKy9v
.. section: Tools/Demos
Make Tools/scripts/md5sum.py work in Python 3. Patch by Zachary Ware.
..
.. bpo: 21629
.. date: 8364
.. nonce: 9kZmQl
.. section: Tools/Demos
Fix Argument Clinic's "--converters" feature.
..
.. bpo: 0
.. date: 8363
.. nonce: _-ge-g
.. section: Tools/Demos
Add support for ``yield from`` to 2to3.
..
.. bpo: 0
.. date: 8362
.. nonce: dpFbyZ
.. section: Tools/Demos
Add support for the :pep:`465` matrix multiplication operator to 2to3.
..
.. bpo: 16047
.. date: 8361
.. nonce: IsgTzm
.. section: Tools/Demos
Fix module exception list and __file__ handling in freeze. Patch by Meador
Inge.
..
.. bpo: 11824
.. date: 8360
.. nonce: OBWc3T
.. section: Tools/Demos
Consider ABI tags in freeze. Patch by Meador Inge.
..
.. bpo: 20535
.. date: 8359
.. nonce: 0qkvZZ
.. section: Tools/Demos
PYTHONWARNING no longer affects the run_tests.py script. Patch by Arfrever
Frehtes Taifersar Arahesis.
..
.. bpo: 23260
.. date: 8358
.. nonce: aZ5VLH
.. section: Windows
Update Windows installer
..
.. bpo: 0
.. date: 8357
.. nonce: _aEUNt
.. section: Windows
The bundled version of Tcl/Tk has been updated to 8.6.3. The most visible
result of this change is the addition of new native file dialogs when
running on Windows Vista or newer. See Tcl/Tk's TIP 432 for more
information. Also, this version of Tcl/Tk includes support for Windows 10.
..
.. bpo: 17896
.. date: 8356
.. nonce: o79rHM
.. section: Windows
The Windows build scripts now expect external library sources to be in
``PCbuild\..\externals`` rather than ``PCbuild\..\..``.
..
.. bpo: 17717
.. date: 8355
.. nonce: y1zoye
.. section: Windows
The Windows build scripts now use a copy of NASM pulled from svn.python.org
to build OpenSSL.
..
.. bpo: 21907
.. date: 8354
.. nonce: jm1smN
.. section: Windows
Improved the batch scripts provided for building Python.
..
.. bpo: 22644
.. date: 8353
.. nonce: gosBki
.. section: Windows
The bundled version of OpenSSL has been updated to 1.0.1j.
..
.. bpo: 10747
.. date: 8352
.. nonce: LTWhLn
.. section: Windows
Use versioned labels in the Windows start menu. Patch by Olive Kilburn.
..
.. bpo: 22980
.. date: 8351
.. nonce: -UypE5
.. section: Windows
.pyd files with a version and platform tag (for example, ".cp35-win32.pyd")
will now be loaded in preference to those without tags.
|