Skip to content

Commit

Permalink
Update stats
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Jul 22, 2023
1 parent 084e7c1 commit 9d58efa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions doc/funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import subprocess
from pythoncapi import get_functions

os.chdir('/home/vstinner/python/3.12')
#os.chdir('/home/vstinner/python/3.12')
#os.chdir('/home/vstinner/python/2.7')
#os.chdir('/home/vstinner/python/main')
os.chdir('/home/vstinner/python/main')
public, private, internal = get_functions()
for name in sorted(private):
print(name)
8 changes: 4 additions & 4 deletions doc/stats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Python Limited API CPython API Internal API Total
3.10.0 9,909 (50%) 4,584 (23%) 5,519 (28%) 20,012
3.11.0 8,733 (36%) 5,407 (22%) 10,047 (42%) 24,187
3.12 (dev) 8,989 (28%) 5,815 (18%) 17,631 (54%) 32,435
main (3.13) 8,721 (26%) 4,731 (14%) 20,599 (60%) 34,051
main (3.13) 8,693 (26%) 4,712 (14%) 20,641 (61%) 34,046
=========== ============= =========== ============ ======

File Numbers
Expand All @@ -37,7 +37,7 @@ Python Limited API CPython API Internal API Total
3.10.0 80 (-17) 32 (+8) 48 (+15) 160 (+6)
3.11.0 71 (-9) 47 (+15) 68 (+20) 186 (+26)
3.12 (dev) 70 (-1) 48 (+1) 91 (+23) 209 (+23)
main (3.13) 70 (same) 50 (+2) 97 (+6) 217 (+8)
main (3.13) 69 (-1) 49 (+1) 98 (+7) 216 (+7)
=========== =========== =========== ============ =========

Functions
Expand All @@ -56,7 +56,7 @@ Python Public Private Internal Total
3.10.0 885 (-34) 412 (same) 115 (+6) 1,412 (-28)
3.11.0 891 (+6) 360 (-52) 176 (+61) 1,427 (+15)
3.12 (dev) 928 (+37) 385 (+25) 177 (+1) 1,490 (+63)
main (3.13) 931 (+3) 203 (-182) 259 (+82) 1,393 (-97)
main (3.13) 931 (+3) 196 (-189) 262 (+85) 1,389 (-101)
=========== ========== ========== ========= ============

Since Python 3.9, Python is now built with ``-fvisibility=hidden`` to avoid
Expand All @@ -82,7 +82,7 @@ Python Public Private Internal Total
3.10.0 173 (same) 33 (-2) 13 (-1) 219 (-3)
3.11.0 177 (+4) 32 (-1) 10 (-3) 219 (same)
3.12 (dev) 176 (-1) 29 (-3) 12 (+2) 217 (-2)
main (3.13) 176 (same) 17 (-12) 17 (+5) 210 (-7)
main (3.13) 176 (same) 15 (-14) 18 (+6) 209 (-8)
=========== ========== ======== ======== ==========

Public functions defined as macros and static inline functions
Expand Down

0 comments on commit 9d58efa

Please sign in to comment.