Skip to content

Commit edfaeed

Browse files
committed
Update stats for 3.13
1 parent c13f773 commit edfaeed

2 files changed

Lines changed: 30 additions & 23 deletions

File tree

‎doc/stats.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
RST_FILENAME = 'stats.rst'
13-
MAIN_BRANCH = '3.12'
13+
MAIN_BRANCH = '3.13'
1414
BRANCHES = [
1515
'2.7',
1616
'3.6',
@@ -19,6 +19,7 @@
1919
'3.9',
2020
'3.10',
2121
'3.11',
22+
'3.12',
2223
'main',
2324
]
2425
COLUMNS = ['Python', 'Limited API', 'CPython API', 'Internal API', 'Total']

‎doc/stats.rst‎

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ Python Limited API CPython API Internal API Total
1616
3.8 13,166 (70%) 3,417 (18%) 2,295 (12%) 18,878
1717
3.9 12,265 (62%) 4,358 (22%) 3,146 (16%) 19,769
1818
3.10 10,396 (51%) 4,616 (22%) 5,572 (27%) 20,584
19-
3.11 9,232 (37%) 5,495 (22%) 10,046 (41%) 24,773
20-
3.12 9,287 (31%) 5,651 (19%) 15,071 (50%) 30,009
19+
3.11 9,235 (37%) 5,499 (22%) 10,047 (41%) 24,781
20+
3.12 9,598 (29%) 5,903 (18%) 17,618 (53%) 33,119
21+
3.13 9,482 (29%) 5,916 (18%) 17,660 (53%) 33,058
2122
====== ============= =========== ============ ======
2223

2324
File Numbers
@@ -35,7 +36,8 @@ Python Limited API CPython API Internal API Total
3536
3.9 98 (+1) 24 (+9) 34 (+12) 156 (+22)
3637
3.10 81 (-17) 32 (+8) 48 (+14) 161 (+5)
3738
3.11 72 (-9) 48 (+16) 68 (+20) 188 (+27)
38-
3.12 72 (same) 49 (+1) 77 (+9) 198 (+10)
39+
3.12 72 (same) 49 (+1) 91 (+23) 212 (+24)
40+
3.13 73 (+1) 51 (+2) 91 (same) 215 (+3)
3941
====== =========== =========== ============ =========
4042

4143
Functions
@@ -52,8 +54,9 @@ Python Public Private Internal Total
5254
3.8 926 (+33) 420 (-25) 79 (+66) 1,425 (+74)
5355
3.9 937 (+11) 405 (-15) 110 (+31) 1,452 (+27)
5456
3.10 902 (-35) 406 (+1) 116 (+6) 1,424 (-28)
55-
3.11 931 (+29) 351 (-55) 177 (+61) 1,459 (+35)
56-
3.12 943 (+12) 358 (+7) 176 (-1) 1,477 (+18)
57+
3.11 931 (+29) 352 (-54) 177 (+61) 1,460 (+36)
58+
3.12 966 (+35) 378 (+26) 178 (+1) 1,522 (+62)
59+
3.13 948 (-18) 375 (-3) 174 (-4) 1,497 (-25)
5760
====== ========== ========== ========= ============
5861

5962
Since Python 3.9, Python is now built with ``-fvisibility=hidden`` to avoid
@@ -68,36 +71,38 @@ Variables
6871

6972
Symbols exported with PyAPI_DATA():
7073

71-
====== ========== ======== ======== ==========
72-
Python Public Private Internal Total
73-
====== ========== ======== ======== ==========
74-
2.7 133 31 0 164
75-
3.6 171 (+38) 41 (+10) 0 (same) 212 (+48)
76-
3.7 175 (+4) 34 (-7) 9 (+9) 218 (+6)
77-
3.8 179 (+4) 36 (+2) 12 (+3) 227 (+9)
78-
3.9 178 (-1) 34 (-2) 14 (+2) 226 (-1)
79-
3.10 178 (same) 35 (+1) 13 (-1) 226 (same)
80-
3.11 182 (+4) 32 (-3) 10 (-3) 224 (-2)
81-
3.12 183 (+1) 30 (-2) 9 (-1) 222 (-2)
82-
====== ========== ======== ======== ==========
74+
====== ========== ======== ========= ==========
75+
Python Public Private Internal Total
76+
====== ========== ======== ========= ==========
77+
2.7 133 31 0 164
78+
3.6 171 (+38) 41 (+10) 0 (same) 212 (+48)
79+
3.7 175 (+4) 34 (-7) 9 (+9) 218 (+6)
80+
3.8 179 (+4) 36 (+2) 12 (+3) 227 (+9)
81+
3.9 178 (-1) 34 (-2) 14 (+2) 226 (-1)
82+
3.10 178 (same) 35 (+1) 13 (-1) 226 (same)
83+
3.11 182 (+4) 32 (-3) 10 (-3) 224 (-2)
84+
3.12 185 (+3) 29 (-3) 12 (+2) 226 (+2)
85+
3.13 185 (same) 30 (+1) 12 (same) 227 (+1)
86+
====== ========== ======== ========= ==========
8387

8488
Functions defined as macros and static inline functions
8589
=======================================================
8690

8791
Functions defined as macros (only public) and static inline functions (public or private):
8892

89-
====== ========== ============= ==========
93+
====== ========== ============= =========
9094
Python Macro Static inline Total
91-
====== ========== ============= ==========
95+
====== ========== ============= =========
9296
2.7 276 0 276
9397
3.6 306 (+30) 0 (same) 306 (+30)
9498
3.7 315 (+9) 0 (same) 315 (+9)
9599
3.8 314 (-1) 7 (+7) 321 (+6)
96100
3.9 307 (-7) 11 (+4) 318 (-3)
97101
3.10 307 (same) 18 (+7) 325 (+7)
98102
3.11 269 (-38) 46 (+28) 315 (-10)
99-
3.12 246 (-23) 69 (+23) 315 (same)
100-
====== ========== ============= ==========
103+
3.12 251 (-18) 71 (+25) 322 (+7)
104+
3.13 248 (-3) 71 (same) 319 (-3)
105+
====== ========== ============= =========
101106

102107
Structures
103108
==========
@@ -114,6 +119,7 @@ Python Limited API CPython API Internal API Total
114119
3.9 68 (-13) 46 (+12) 38 (+10) 152 (+9)
115120
3.10 41 (-27) 53 (+7) 91 (+53) 185 (+33)
116121
3.11 19 (-22) 75 (+22) 112 (+21) 206 (+21)
117-
3.12 17 (-2) 80 (+5) 140 (+28) 237 (+31)
122+
3.12 18 (-1) 84 (+9) 170 (+58) 272 (+66)
123+
3.13 18 (same) 88 (+4) 168 (-2) 274 (+2)
118124
====== =========== =========== ============ =========
119125

0 commit comments

Comments
 (0)