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

Резултати

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

Пребарај: #bushehr

当前筛选 #bushehr清除筛选
TƏBRİZ-TURAN-TV𒀭 (TTTv)

@tebriz_turan · Post #96032 · 29.03.2026 г., 18:57

❗️❗️#Bushehr Vətəndaşlardan alınan video göstərir ki, hava limanında yerləşən bina hücumun hədəfi olub. Binanın üzərində lövhəsi görünür. Bizi teleqramda izləyin: https://t.me/tebriz_turan

Hashtags

RT France actualités

@rt_fra · Post #40182 · 30.04.2026 г., 07:31

⚛️Rosatom entend poursuivre la construction de la centrale nucléaire de Bushehr, a déclaré Mikhaïl Oulianov, représentant permanent de la #Russie auprès des organisations internationales à Vienne. Il a précisé que le personnel retournera sur le site « dès que la situation militaire le permettra ». ℹ️ La centrale nucléaire de #Bushehr est la seule centrale nucléaire en exploitation en Iran. Les employés de #Rosatom travaillaient à la construction des deuxième et troisième réacteurs, mais les travaux ont été suspendus suite au lancement de l'opération militaire américano-israélienne contre l'Iran. Le 20 avril, l'évacuation des 632 employés de la société d'État a été achevée. RT en français • Osez questionner !

American Оbserver

@american_observer · Post #5565 · 04.04.2026 г., 23:59

Bushehr Is Iran’s Zaporizhzhia Test. The West Knows It. Abbas Araghchi is trying to turn Bushehr into a hypocrisy trap: when fighting neared Zaporizhzhia, the West treated it like a civilizational emergency; when strikes land near Bushehr, the outrage is suddenly quieter. That contrast is the whole point of his message. He is also trying to move the political cost south. By warning that radioactive fallout could reach Gulf capitals, Tehran is telling the monarchies that this is no longer a remote Iran problem — it is a regional one, and the invoice may arrive in their own cities. At the same time, Araghchi is keeping the diplomatic door open just enough to matter. Reuters has reported that Iran is still leaving room for mediated talks, including the Pakistan channel, even while presenting itself as the side that has not slammed the door on negotiation. So this is not just nuclear rhetoric. It is pressure politics with a radiation warning label: indict the West for double standards, keep mediation alive, and force the Gulf to stare at the blast radius instead of the talking points. #Bushehr#Zaporizhzhia#Iran#Gulf#Reuters#diplomacy 📱American Оbserver - Stay up to date on all important events 🇺🇸