7.09.2025 состоялся релизPithon 3.14!
На фоне хайпа про NoGIL всё позабыли про другие фичи. Особенно про Multiple Interpreters, который обещает изоляцию процессов но с эффективностью потоков! На сколько действительно это будет эффективно мы узнаем позже, потому что сейчас это лишь первый релиз с ограничениями и недоработками.
Но что там про NoGIL? Теперь этот режим не экспериментальный, а официально поддерживаемый, но опциональный.
Чтобы запустить без GIL нужна специальная сборка. И перед стартом нужно объявить переменную PYTHON_GIL=0
Для вас я собрал готовый репозиторий где достаточно запустить скрпит, который всё сделает:
▫️ соберет релизный Python 3.14 в новый Docker-образ
▫️ запустит тесты в контейнере (GIL, NoGIL, MultiInterpreter)
▫️ распечатает результаты
Тест очень простой, усложняйте сами)
Вот какие результаты у меня:
=== Running ThreadPoolExecutor GIL ON
TOTAL TIME: 45.48 seconds
=== Running ThreadPoolExecutor GIL OFF
TOTAL TIME: 6.14 seconds
=== Running basic Thread GIL ON
TOTAL TIME: 45.54 seconds
=== Running basic Thread GIL OFF
TOTAL TIME: 4.74 seconds
=== Running with Multi Interpreter
TOTAL TIME: 18.30 seconds
Если сравнивать GIL и NoGIL, то на мои 32 ядра прирост х7-x10 (почему не х32? 🤷). При этом нам обещают что скорости будут расти с новыми релизами.
Режим без GIL похож (визуально) на async, тоже параллельно, тоже не по порядку. Но это не IO! и от того некоторый диссонанс в голове 😵💫, нас учили не так!
Интересно, что чистый Thread работает быстрей чем ThreadPoolExecutor без GIL.
Ну и где-то плачет один адепт мульти-интерпретаторов😭 Теперь нужно искать где они могут пригодиться с такой-то скоростью. Скорее всего своя область применения найдется.
Отдельно я затестил память и вот что вышло на 32 потока:
ThreadPoolExecutor GIL ON
305.228 MB
ThreadPoolExecutor GIL OFF
500.176 MB
basic Thread GIL ON
90.668 MB
basic Thread GIL OFF
472.444 MB
with Multi Interpreter
1267.788 MB
Пока не знаю как к этому относиться)
В целом - радует направление развития!
#release
#Update: ‘We leave these accusations to the judgment of conscience’: #Wazema Media rebuffs Media Authority claims after announcement to return license
Addis Abeba – Wazema Media (Wazema Radio) has issued a response to the Ethiopian Media Authority (EMA), clarifying that the return of its operating license was a result of a direct order and rejecting allegations of ethical misconduct.
In a statement released late Saturday, the media outlet confirmed it had complied with the regulator’s directive while expressing deep disappointment over the measure.
“As per the Authority’s order on Thursday to return our license, we have done so today. The [EMA] statement was released within hours of us doing this,” the management of Wazema stated, adding the compliance to return the license was based on the order from the regulator.
“We do not believe the measure is correct by any standard. It has saddened us,” the statement further said.
https://www.facebook.com/share/p/1HMEgBLLb4/?mibextid=wwXIfr
News: #Ethiopian Media Authority announces return of #Wazema Media operating license on allegations of ‘ethical violations’
Addis Abeba – The Ethiopian Media Authority (#EMA) announced today that Wazema Media, commonly known as Wazema Radio, has returned its operational license in Ethiopia.
In a statement released on Saturday, the Authority claimed the media outlet returned its recognition and license because it was "unwilling to work while respecting the Ethiopian Constitution and the Media Proclamation, as well as guidelines and professional ethics."
The EMA, which had granted Wazema Media an online media license, stated that its decision followed continuous monitoring and "tips and comments" received from the public.
According to the regulator, Wazema’s reporting was found to be "contrary to the country's national interest, lacking balance, [and] failing to include responses from federal and regional governments."
The Authority further alleged that...
https://www.facebook.com/share/p/1HzHJemEWM/
News: “Closing independent media outlets like #Wazema and #Addis_Standard is an attack on freedom of expression and democratic principles” – #EPRP
The #Ethiopian People's Revolutionary Party (EPRP) has condemned the closure of independent media institutions, describing actions against outlets including Wazema and Addis Standard as “an attack on freedom of expression and democratic principles,” as the Committee to Protect Journalists (#CPJ) called on authorities to immediately restore Addis Standard’s registration, warning that the move amounts to retaliation rather than regulation.
In a statement issued today, 25 February 2026, the party said shutting down independent media, revoking licenses of international outlets, and harassing media professionals undermines the country’s democratic trajectory.
“Preaching free and democratic elections while banning media, arresting and chasing away journalists, and locking down the civic space is mocking the public...
Read more: https://addisstandard.com/?p=55397