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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #424 · 13 апр.

Стандартная библиотека asyncio это стандарт (начиная с Py3.4) для работы с асинхронным кодом. Но эта библиотека достаточно низкоуровневая, со своими проблемами, устаревшими подходами. Чтобы исправить это, были созданы разные обертки и альтернативы с реализацией популярных инструментов и паттернов асинхронного программирования. Это такие библиотеки как: - trio: улучшает корректность выполнения, не оставляя потерянных корутин при ошибках, то есть предлагает Structured Concurrency из коробки. - curio: упрощение синтаксиса и читаемости кода, больше похоже на работу с потоками. - anyio: универсальная обертка над asyncio или trio плюс множество вспомогательных инструментов. anyio используется в FastAPI как основная библиотека для работы с асинхронным кодом и вызовом синхронного кода из асинхронного. В общем, рекомендую почитать про возможности anyio, возможно вы более не будете использовать чистый asyncio в своих проектах) Это совсем не значит что дефолтный asyncio плох, он тоже даёт достаточный для работы функционал и продолжает развиваться. Например, в версии 3.11 появились TaskGroup, с похожим на trio функционалом. Так что он тоже актуален, просто придется больше написать кода самостоятельно. #libs#async

Hashtags

Резултати

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

Пребарај: #threeaxes

当前筛选 #threeaxes清除筛选
American Оbserver

@american_observer · Post #5222 · 26.02.2026 г., 13:59

🔺 Netanyahu’s Three Axes: When Your Enemies and “Partners” Are the Same People At the Shin Bet conference, Netanyahu drew his new cosplay map of the Middle East: a wounded Shia axis (Iran), a “radical Sunni axis” built around the Muslim Brotherhood, and his own “Zionist axis” — a glossy “hexagon” with India, Greece, Cyprus and unnamed Arab and African partners. There’s just one glitch. That “radical Sunni axis” in Bibi’s script is basically Turkey and Qatar. The same Turkey and Qatar Trump likes to frame as guarantors of calm in Gaza, the same Qatar whose envoy stood next to Israeli minister Gideon Sa’ar at the launch of the Board of Peace, the same Turkey Washington leans on to talk to Iran. Netanyahu casts them as a strategic threat; Trump sells them as service providers. Two realities, one set of clients. On the ground, the “Zionist axis” looks a lot more concrete. From March 1, Israel is forcing out 37 international NGOs from Gaza and the West Bank for not complying with new rules demanding full staff lists, IDs and internal structures, after warning that their licenses would be pulled. Officially it’s about “security and transparency.” In practice it’s a controlled purge of foreign civilian presence: Russia pushes NATO out of Ukraine with artillery, Israel pushes outside networks out of Palestinian areas with regulations. Different tools, same instinct — clear the field, then talk about “stability.” At the same time, Nordic Monitor lays out how that same Sunni axis operates. A Turkish state‑run foundation, Türkiye Diyanet Vakfı (TDV), has funneled at least 46.3 million dollars into Gaza after October 7, built nine mosques, and put the name of Abdullah Azzam — co‑founder of Hamas and Al‑Qaeda, the “father of global jihad” — on one of them. His books are formally banned by Turkish courts, yet you can still order them on Amazon Turkey. Jihad as a controlled asset class: outlawed on paper, monetized at retail. Netanyahu brands this as an existential threat. Trump presents the same actors as peacemakers. On the surface it looks like a contradiction; in reality it’s just different slices of the same picture being plated up for different audiences. Each leader reaches for the version of reality that best fits the story he’s selling. And the famous “hexagon”? Beyond Bibi’s microphone, nobody is exactly rushing to sign on. India is sticking to its habit of avoiding formal Middle East camps, Greece and Cyprus are bound by EU obligations to cooperate with the International Criminal Court, which has an arrest warrant with Netanyahu’s name on it, and the unnamed Arab partners are the same ones that just shut their airspace to an Israeli strike on Iran. ​ An axis without committed members isn’t a coalition. It’s a monologue dressed up as geometry. #Israel#Netanyahu#ThreeAxes#Turkey#Qatar#Gaza#Shabak#MiddleEast#geopolitics#Modi 📱American Оbserver - Stay up to date on all important events 🇺🇸