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 слични објави

Пребарај: #belyanka

当前筛选 #belyanka清除筛选
DruschbaFM - English

@druschbaFm_en · Post #52625 · 28.03.2025 г., 08:05

⚡️ 🇷🇺 🇺🇦⚔️ Ukraine Fronts on the Morning of 28 March⚡️ 🔴#Sumy Direction: 🔴In #Sudzha Sector, to the west on Ukrainian lands, the battle for #Vladimirovka reportedly continued {still unproven; 1st blue arrow on map}. 🟡 For #Veselovka as well, but confirmed {1st black arrow}. 🟡 In #Zhuravka as well. As for... 🟡#Basovka. 🟡#Novenkoye, is RFAF controlled {1st red arrow}. 🟡 In #Kursk region, the 'Sudza Gas Transmission Point' and the 'Border Checkpoint' came under RFAF control {2nd red arrow}. 🎬 Video 🟡#Gogolevka, reportedly has been taken by Russian troops {4th black arrow}. 🟡#Oleshnya remains AFU controlled. 🟡 In #Guyevo, according to unconfirmed reports, the RFAF control the northern part. Fierce fighting continues. 🟡#Gornal remains under save AFU control. 🔴In #KrasnayaYaruga Sector, the battle for #Popovka and #Demidovka continued, so far without tangible success for the AFU {5th/6th black arrow}. 🟡 At #Grafovka, lull. 🟡 At #Prilesye as well. 🗺 All on Map 1 🔴 In #Kharkov Direction, positional battles and aviation operations in the areas of #Liptsy, ​​Volchansk and strikes at AFU rear supply routes. 🔴#Svatovo Front: 🔴 In #Kupyansk and #Borovaya Sector, ongoing battles without significant changes. 🔴In #Liman Sector, Russian troops have advanced towards #Katerinovka and #Novoye. 🔴In #Seversk Sector, fighting at #Belogorovka (#LPR) and #Verkhnekamenskoye is ongoing. 🔴#ChasovYar Direction: 🔴In #ChasovYar and #Toretsk Sectors, the fighting continued, without major changes. 🔴#Pokrovsk Direction: 🔴 On the right Flank, far to the east, battles are taking place in the area of #​​Panteleymonovka. Further west for #Tarasovka and the territory to its west. 🔴 South of the City, the situation remains dynamic. 🟡 In #Peschanoye, Russian troops advanced reportedly in the western and central village parts {according to the map the AFU lost control of its (black added) boundaries}. 🗺 Map 2 🟡 In #Kotlino, the AFU entered (confirmed), and reportedly seized nearly all of the settlement's boundaries. 🗺 Map 3 🔴 On the left Flank, the area of #Udachnoye is sunk in the fog of war. 🟡 In #Uspenovka, Russian troops are reportedly clearing the village and have advanced southwest of it into... 🟡#Novoaleksandrovka, the fighting for which has begun. Further south... 🟡 On #Preobrazhenka's approaches, the fighting continues, as well as towards #Troitskoye and #Bogdanovka. 🔴#Komar Direction: 🔴In #Konstantinopol Sector, the same named village is in the fog of war. 🟡 In #Razliv, to the southwest, the RFAF have reportedly entered the village. 🔴 In #Komar Sector, Russian assault groups broke reportedly through north of #Dneproenergiya and attack the eastern part of #Vesyoloye. The village is also under assault from the south. 🟡 In #Volnoye Pole, Russian forces lost their positions in the centre, but consolidated in the eastern village part. 🔴#Zaporozhye Direction: 🔴In #Orekhov Section, fighting continues in the​#MalayaTokmachka - #Rabotino area. The main battles are taking place further west: 🟡 In #Shcherbaki, the RFAF have advanced into the village's centre. The AFU counterattacks. 🟡#MalyeShcherbakito the west, is still not completely RFAF controlled. 🟡 In #Stepovoye, further west, fighting continues with varying success. 🟡 In #Lobkovoye as well. 🟡#Pyatikhatki is RFAF controlled. 🔴 In #Kherson Direction, fights in the island zone. 💥#OldRussia: 🔵 In #Belgorod Region, the villages of #Belyanka, #Nechayevka, #Tishanka, #Shakhovka, #Smorodino and #Kukuyevka came under AFU fire. 💥#RestUkraine: 🔵 The RFAF struck objects in #Kiev, #Odessa, #Dnepropetrovsk, #Kharkov, #Khmelnitsky, #Nikolayev, #Cherkassy, and Poltava regions. 🎞 Video Source 🗺 Maps @olegtsarov; @petrenko_iHS 📋 Sources: CC; Tsarov; ⚡️2M; 🇺🇦Fiend;😼Kotenok 🕰As of 28 Mar 2025; 06:37 GMT+3;📃27 Mar 📱 Join GLOBAL DEPTH to boost your TG Feed 💬Join Military Chat for Comments & Discussions 🇺🇦On Ukraine Observer you will find your daily independent Ukraine War Battle Update