I've created a CPython umbrella issue for C bugs found with a new tool: https://github.com/python/cpython/issues/146102

The umbrella issue reported 47 bugs, 18 have been filed by various people, and 14 have been fixed. Each bug has an explanation about it linked in the issue.

That means you can join the fun: pick a bug, create an issue, and fix it in a PR!

There's also a different umbrella issue with more than a hundred (less detailed) bugs to pick from: https://github.com/python/cpython/issues/146103

Have fun!

#Python #CPython

Umbrella issue: bugs found using cpython-review-toolkit · Issue #146102 · python/cpython

Bug report What happened? This is an umbrella issue for 50 select bugs found using cpython-review-toolkit, distributed across ~350K lines of CPython C code (Modules/, Objects/, Python/). Feel free ...

GitHub

I was already having misgivings about #CPython when I saw a required #Rust dependency coming up (although I know many here have no issues with this), but now that there have been #LLM commits to the project, I'd like to look at alternatives. It seems great that #Pypy exists, although I worry that it will end up replicating undesirable behavior from CPython in the future.

I had been learning C++ with the goal of writing extensions using CPython. As it happens, I already have a physical copy of a book on #Lua and many applications are written in C++ with Lua scripting on top, so I'm going to swap out Python for Lua in an upcoming project. I'm excited to be able to experiment with #LuaLaTeX or writing scripts for #GeanyIDE. The language shows up in way more places than I realized.

#Python #cpp #CPlusPlus #programming #Scripting #ScriptingLanguage #TexLatex

GIL в Python для senior interview

GIL — самая известная «фича» Python, о которой большинство разработчиков знают ровно одну фразу: «мешает многопоточности». Этого хватает для джуна, но не для сеньора. Статья построена так, чтобы после её прочтения вы могли не только ответить на вопросы по GIL на senior-интервью, но и объяснить коллеге-стажеру, что происходит внутри интерпретатора, когда два потока пытаются одновременно изменить один список.

https://habr.com/ru/articles/1013930/

#python #gil #backend #cpython

GIL в Python для senior interview

Один важный момент: всё написанное здесь относится к CPython — стандартной реализации Python, которую вы, скорее всего, и используете. Jython и IronPython устроены иначе, там GIL нет....

Хабр

A GIL finalmente saiu do caminho.

O Python 3.14 torna a build free-threaded oficialmente suportada — não mais experimental. Threads CPU-bound que antes brigavam pelo mesmo core agora escalam de verdade.

Escrevi sobre o que muda na prática, como instalar em cada distro e o que você não pode mais assumir sobre thread safety:

https://www.riverfount.dev.br/posts/python_314_free_threading/

#python #freethreading #gil #cpython

A GIL finalmente saiu do caminho: o que muda com o Python 3.14 free-threaded

Você tem quatro núcleos disponíveis. Seu script Python usa um. Isso nunca foi um bug — era uma decisão de design que durava desde 1992. O Python 3.14 não remove essa limitação de vez, mas dá o passo mais concreto até agora para deixá-la para trás. O que é a GIL e por que ela importa A Global Interpreter Lock é um mutex que garante que apenas uma thread execute bytecode Python por vez dentro de um processo CPython. Ela existe por uma razão pragmática: simplifica imensamente o gerenciamento de memória e a integração com extensões C, que historicamente assumem que esse lock existe.

Blog do Riverfount
New season, new blogpost about our FLOSS contributions. Among them, a very old PR finally got merged into #cpython. That was the 27th oldest one.
https://yaal.coop/blog/en/dernieres-contributions-logiciels-libres-hiver-2026
Yaal — Winter 2026 FOSS contributions by the Yaal Coop team

Nouvelle saison, nouvel article de blog sur nos contributions à des logiciels libres. Notamment, une très vieille contribution de l'équipe a finalement été acceptée dans #cpython. C'était jusqu'alors la 27ème plus vieille PR du projet.
https://yaal.coop/blog/dernieres-contributions-logiciels-libres-hiver-2026
Yaal — Contributions à des logiciels libres par l'équipe Yaal Coop durant l'hiver 2026

很多 Python 加速的方法

Gea-Suan Lin's BLOG

Как устроены память и Garbage Collector в CPython: разбор для Python backend interview

В Python памятью управляет не только Garbage Collector. На самом деле основа всего — reference counting , а GC лишь помогает собирать циклические ссылки. В этой статье разберём, как на самом деле устроено управление памятью в CPython : — что находится внутри PyObject — как работает ob_refcnt — почему одного reference counting недостаточно — как GC ищет циклический мусор — какие объекты вообще участвуют в сборке — и как всё это помогает искать memory leak в production Если ты готовишься к senior Python интервью или просто хочешь понимать, как Python работает под капотом , — добро пожаловать под капот CPython.

https://habr.com/ru/articles/1010390/

#python #cpython #garbage_collector #gc #memory_management #python_internals

Как устроены память и Garbage Collector в CPython: разбор для Python backend interview

На senior интервью по Python почти никогда не хватает ответа уровня «в Python есть reference counting и иногда запускается GC». Обычно хотят понять, знаешь ли ты механизм времени жизни объекта в...

Хабр

I'm proud https://github.com/python/cpython/commit/61f2a1a5993967ed4b97ba93a4477c37fe68cf59 just landed in python! Support for IEEE floating point wave audio in core python, coming to python 3.15 this fall.

Thanks to Lionel Koenig for the original patch and to all code reviewers.

If you want to have better wave audio support in python *now* please check out my 'newwave' package: https://codeberg.org/michielb/newwave

#python #cpython #audio

GH-60729: Add IEEE format wave audio support (GH-145384) · python/cpython@61f2a1a

Co-authored-by: Lionel Koenig <[email protected]>

GitHub
Interesting post from @stanfromireland with an annotated chart showing the growth CPython's source code over the decades:
https://blog.python.org/2026/03/cpython-codebase-growth/
#Python #CPython #history
CPython: 36 Years of Source Code | Python Insider

An analysis of the growth of CPython's codebase from its first commits to the present day

Python Insider