惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Darknet – Hacking Tools, Hacker News & Cyber Security
AI
AI
S
Security Affairs
S
Secure Thoughts
Attack and Defense Labs
Attack and Defense Labs
Application and Cybersecurity Blog
Application and Cybersecurity Blog
H
Heimdal Security Blog
Forbes - Security
Forbes - Security
Security Archives - TechRepublic
Security Archives - TechRepublic
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Spread Privacy
Spread Privacy
C
Cybersecurity and Infrastructure Security Agency CISA
Latest news
Latest news
T
Tor Project blog
I
Intezer
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Project Zero
Project Zero
V2EX - 技术
V2EX - 技术
V
Vulnerabilities – Threatpost
L
Lohrmann on Cybersecurity
C
CXSECURITY Database RSS Feed - CXSecurity.com
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Hacker News: Ask HN
Hacker News: Ask HN
S
Schneier on Security
T
Threat Research - Cisco Blogs
Webroot Blog
Webroot Blog
T
Threatpost
Help Net Security
Help Net Security
W
WeLiveSecurity
Know Your Adversary
Know Your Adversary
WordPress大学
WordPress大学
L
LINUX DO - 最新话题
月光博客
月光博客
PCI Perspectives
PCI Perspectives
小众软件
小众软件
爱范儿
爱范儿
博客园 - Franky
Security Latest
Security Latest
Microsoft Azure Blog
Microsoft Azure Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Stack Overflow Blog
Stack Overflow Blog
Google DeepMind News
Google DeepMind News
Scott Helme
Scott Helme
P
Privacy International News Feed
Y
Y Combinator Blog
P
Palo Alto Networks Blog
M
MIT News - Artificial intelligence
N
Netflix TechBlog - Medium

Python Insider

Get Ready: 2026 Python Packaging Council Nominations Opening Soon! | Python Insider Python 3.15.0 beta 4 is here! | Python Insider Packaging Council Inaugural Election Dates | Python Insider Mitigated API authentication bypass for python.org download metadata | Python Insider Python 3.15.0 beta 3 is here! | Python Insider Python 3.14.6 and 3.13.14 are now available! | Python Insider Python 3.15.0 beta 2 is here! | Python Insider Python 3.14.5 is out! | Python Insider Python 3.15.0 beta 1 is here! | Python Insider Python 3.14.5 release candidate | Python Insider Rust for CPython Progress Update April 2026 | Python Insider Python 3.15.0a8, 3.14.4 and 3.13.13 are out! | Python Insider Python 3.15's JIT is now back on track | Python Insider Python 3.15.0 alpha 7 | Python Insider Python 3.12.13, 3.11.15 and 3.10.20 are now available! | Python Insider The Python Insider Blog Has Moved! | Python Insider Join the Python Security Response Team! | Python Insider Python 3.15.0 alpha 6 | Python Insider Python 3.14.3 and 3.13.12 are now available! | Python Insider Python 3.15.0 alpha 5 (yes, another alpha!) | Python Insider Python 3.15.0 alpha 4 | Python Insider Python 3.15.0 alpha 3 | Python Insider Python 3.14.2 and 3.13.11 are now available! | Python Insider Python 3.13.10 is now available, too, you know! | Python Insider Python 3.14.1 is now available! | Python Insider Python 3.15.0 alpha 2 | Python Insider Python 3.15.0 alpha 1 | Python Insider Python 3.13.9 is now available! | Python Insider Python 3.12.12, 3.11.14, 3.10.19 and 3.9.24 are now available! | Python Insider Python 3.13.8 is now available | Python Insider Python 3.14.0 (final) is here! | Python Insider Python 3.14.0rc3 is go! | Python Insider Python 3.14.0rc2 and 3.13.7 are go! | Python Insider Python 3.13.6 is now available | Python Insider Python 3.14 release candidate 1 is go! | Python Insider Python 3.14.0 beta 4 is here! | Python Insider Python 3.14.0 beta 3 is here! | Python Insider Python 3.13.5 is now available! | Python Insider Python 3.13.4, 3.12.11, 3.11.13, 3.10.18 and 3.9.23 are now available | Python Insider Python 3.14.0 beta 2 is here! | Python Insider Python 3.14.0 beta 1 is here! | Python Insider Python 3.14.0a7, 3.13.3, 3.12.10, 3.11.12, 3.10.17 and 3.9.22 are now available | Python Insider Python 3.14.0 alpha 6 is out | Python Insider Python 3.14.0 alpha 5 is out | Python Insider Python 3.13.2 and 3.12.9 now available! | Python Insider Python 3.14.0 alpha 4 is out | Python Insider Python 3.14.0 alpha 3 is out | Python Insider Python 3.13.1, 3.12.8, 3.11.11, 3.10.16 and 3.9.21 are now available | Python Insider Python 3.14.0 alpha 2 released | Python Insider Python 3.14.0 alpha 1 is now available | Python Insider Python 3.13.0 (final) released | Python Insider Python 3.12.7 released | Python Insider Python 3.13.0 release candidate 3 released | Python Insider Python 3.13.0RC2, 3.12.6, 3.11.10, 3.10.15, 3.9.20, and 3.8.20 are now available! | Python Insider Python 3.12.5 released | Python Insider Python 3.13.0 release candidate 1 released | Python Insider Python 3.13.0 beta 4 released | Python Insider Python 3.13.0 beta 3 released | Python Insider Python 3.12.4 released | Python Insider
CPython: 36 Years of Source Code | Python Insider
2026-03-08 · via Python Insider

Stan Ulbrych /

Stacked area chart showing CPython's growth from a few lines in 1990 to 2.9 million lines in 2026, broken down by language

(Click to zoom!)

While working on a patch and navigating through CPython, I got curious as to how the codebase has grown over the years. Using an interesting tool I found on the internet to count lines of code (cloc), some scripts, and some patience (thank goodness for multiple cores, or I’d be at this all day), I amassed a 1,392 commit dataset. With that, and some Git spelunking for the annotations, I was able to generate the above graph.

Many thanks to Tim, Ned, and Hugo for their help with this little project! I plan to tidy my scripts and upload them to a repository sometime in the near future. Please feel free to use my dataset :-)