TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #396 · 9 окт.

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

Hashtags

Резултати

Пронајдени 3 слични објави

Пребарај: #2026amnestylaw

当前筛选 #2026amnestylaw清除筛选
Venezuelanalysis

@venanalysis · Post #2282 · 23.02.2026 г., 14:10

📰 NEWS | Venezuelan Parliament Approves Amnesty Law, Rodríguez Calls for ‘Peace and Tolerance’ Venezuela’s National Assembly has passed the Amnesty Law for Democratic Coexistence, establishing a blanket amnesty for crimes committed in the context of political violence between 1999 and 2026. The legislation references events including the 2002 coup attempt, the 2014 and 2017 protests, and unrest following the July 2024 presidential elections. Article 7 excludes serious human rights violations, crimes against humanity, war crimes, homicide, corruption offenses in public office, and drug trafficking with sentences exceeding nine years. Parliament created a Special Monitoring Commission to oversee implementation. According to its president, 379 amnesty requests have been processed, with further cases under revision. Read our full report here 👉🏾https://venezuelanalysis.com/news/venezuelan-parliament-approves-amnesty-law-rodriguez-calls-for-peace-and-tolerance/ #2026AmnestyLaw#Opposition

Venezuelanalysis

@venanalysis · Post #2273 · 10.02.2026 г., 14:08

📰 NEWS | Venezuelan Authorities Begin Consultations on Amnesty Law The Venezuelan National Assembly has begun nationwide consultations on a preliminarily approved “Amnesty Bill for Democratic Coexistence,” holding meetings with community peace judges, civil society organizations and university law faculties. Lawmakers said the process aims to gather input before a revised version is submitted for a final vote in the coming weeks. The bill seeks to pardon political and related crimes committed between January 1, 1999, and January 30, 2026, while explicitly excluding serious human rights violations, crimes against humanity, homicide, drug trafficking and corruption. Former Spanish President José Luis Rodríguez Zapatero endorsed the initiative during a meeting in Caracas, describing it as a turning point for national reconciliation. Read the full report here 👉https://venezuelanalysis.com/news/venezuelan-authorities-begin-consultations-on-amnesty-law/ #2026AmnestyLaw#Opposition

Venezuelanalysis

@venanalysis · Post #2286 · 28.02.2026 г., 00:00

📰 NEWS | Venezuela: Attorney General and Ombudsman Resign as Authorities Process Thousands of Amnesty Requests National Assembly President Jorge Rodríguez confirmed the resignations of Attorney General Tarek William Saab and Ombudsman Alfredo Ruiz. Parliament declared urgency, formed a 13-member committee to appoint new officials within 30 days, and named interim replacements. The developments come as authorities process Amnesty Law requests covering cases dating back to 1999. Deputy Jorge Arreaza reported 8,110 petitions filed since approval last week, with 4,757 individuals benefiting so far, including 223 released from prison and 4,534 cleared of parole-type measures. Read our full report here: https://venezuelanalysis.com/news/venezuela-attorney-general-and-ombudsman-resign-as-authorities-process-thousands-of-amnesty-requests/ #2026AmnestyLaw#NationalAssembly#TarekWilliamSaab