@borkena · Post #5895 · 01.03.2026 г., 05:36
የራያ ማንነት አስመላሽ ኮሚቴ ጋር የተደረገ ቃለ ምልልስ https://youtu.be/-0cPFDyO4vE?si=LVIFxNROa-Qg0zt9#raya#Tigray#Ethiopia#politics
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #402 · 22 дек.
Отдельно разберём TaskGroup, который пришел на замену gather в Python 3.11. Ключевые отличия ▫️create_task() возвращает объект asyncio.Task, у которого есть соответствюущие методы управления. То есть у нас больше контроля ▫️это контекстный менеджер, который гарантирует что все таски будут остановлены по выходу из контекста ▫️ошибка автоматически отменяет незавершенные задачи, ▫️except* передает нам ExceptionGroup, в котором каждую ошибку можно обработать отдельно import asyncio import random async def do_it() -> str: if random.random() < 0.1: raise ValueError('Oops') delay = random.uniform(0.5, 1.5) await asyncio.sleep(delay) return delay async def main(): try: async with asyncio.TaskGroup() as tg: for _ in range(10): tasks.append(tg.create_task(do_it())) for t in tasks: print(t.result()) except *ValueError as e: for err in e.exceptions: print(err) asyncio.run(main()) Рекомендую изучить страницу Coroutines and Tasks из документации, где представлено больше интересных примеров и механизмов - таймауты - отмена задач - создание задач из другого потока #async
Hashtags
Пребарај: #raya
@borkena · Post #5895 · 01.03.2026 г., 05:36
የራያ ማንነት አስመላሽ ኮሚቴ ጋር የተደረገ ቃለ ምልልስ https://youtu.be/-0cPFDyO4vE?si=LVIFxNROa-Qg0zt9#raya#Tigray#Ethiopia#politics
@borkena · Post #5671 · 01.01.2026 г., 15:15
Why the World Misunderstands Wolkait and Raya. Read more. https://borkena.com/2026/01/01/ethiopia-why-the-world-misunderstands-wolkait-and-raya/#Ethiopia#Wolkait#Raya#politics
@borkena · Post #5840 · 24.02.2026 г., 11:29
ከወሎ ራያ አማራ ማንነትና ወሰን አስመላሽ ኮሜቴ #Ethiopia#Wello#Raya#ዜና#HouseofFederation
@borkena · Post #5835 · 23.02.2026 г., 17:02
የፌደሬሽን ምክር ቤት በወልቃይት እና ራያ ጉዳይ ላይ ያሳለፈው ውሳኔ እና ያስከተለው ውዝግብ https://youtu.be/6-VMdjC00-s?si=WaToTw2UC25ZoUKO#Ethiopia#News#Wolkait#humera#Raya#Tigray#ዜና
@addisstandardeng · Post #21370 · 11.02.2026 г., 12:55
News: #Amhara security bureau alleges #TPLF, #Eritrea involvement in ongoing conflicts The Amhara Regional State Peace and Security Bureau has alleged that ongoing conflicts in the Amhara region and elsewhere in #Ethiopia are receiving what it described as “leadership and logistical support from #Mekelle and #Asmara,” referring to the Tigray People’s Liberation Front (TPLF) and Eritrean government. In a statement released yesterday, the bureau said the public “must understand the reality” that the fighting is not only against groups it characterized as “extremists” but also involves what it described as internal and external actors. The statement further alleged that a group seeking control over the areas of #Wolkait, #Telemt, and #Raya had assigned what it called a mission to “internal extremist forces” and was mobilizing them to advance that objective. According to the bureau, the strategy aims to create conflicts across various zones and districts to... Read more: https://addisstandard.com/?p=55148