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

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

Резултати

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

Пребарај: #exodus

当前筛选 #exodus清除筛选
NEWS 鏈新聞-ABMedia

@abmedia_news · Post #24292 · 02.05.2026 г., 03:00

【💰 交易市場|Exodus 創辦人:助記詞還要靠酒吧餐巾紙紀錄表示產業仍有進步空間】 #Exodus#ExodusPay#AI#Agent Exodus 執行長 JP Richardson 於 Omaha 峰會主張轉型全端支付,以解決加密產業長期存在的支付零碎化問題。 該公司斥資 1.75 億美元併購基礎設施,並推出支援 AI 代理與 Apple Pay 的支付功能。營收降至 2,270 萬美元 — 垂直整合將是轉型關鍵。 📍閱讀全文: https://abmedia.io/exodus-founder-indicates-seed-phrase-is-out-of-day 📍 訂閱鏈新聞頻道:https://linktr.ee/abmedia.io

Crypto M - Crypto News

@CryptoM · Post #65103 · 11.04.2026 г., 01:36

🚀 Exodus Launches Self-Custody Payments App for Bitcoin and Stablecoins Exodus has introduced a new self-custody payments application, enabling users to spend Bitcoin and dollar stablecoins. According to NS3.AI, the app is compatible with merchants that accept Visa and Apple Pay, providing a seamless payment experience for cryptocurrency holders. #Exodus#Bitcoin#Stablecoins#SelfCustody#CryptoPayments#Visa#ApplePay#Cryptocurrency#BTC

Venture Village Wall 🦄

@venturevillagewall · Post #3439 · 19.12.2024 г., 08:00

Exodus Surges on NYSE Debut Exodus, a developer of non-custodial software, debuted on the NYSE under the ticker EXOD, achieving an impressive 36% growth during its first trading session. The company's market capitalization reached $1.4 billion. #Exodus#NYSE#software#growth#debut#trading#capitalization#market#stocks#investments

Crypto M - Crypto News

@CryptoM · Post #65102 · 11.04.2026 г., 01:25

🚀 Exodus Introduces New Payment Feature for Select States Exodus, a publicly listed cryptocurrency wallet provider, has launched a new feature called Exodus Pay. According to Foresight News, this feature aims to transform its self-custody storage application into a tool for everyday payments. Currently, the service is available only to users in five states, including New York and California. #Exodus#PaymentFeature#ExodusPay#Cryptocurrency#SelfCustody#EverydayPayments#NewYork#California#ForesightNews

Venture Village Wall 🦄

@venturevillagewall · Post #3437 · 19.12.2024 г., 07:05

Exodus Debuts on NYSE with 36% Gain Exodus, a developer of non-custodial software, made its debut on the New York Stock Exchange (NYSE) under the ticker EXOD. In its first trading session, shares surged 36%, bringing the company's market capitalization to $1.4 billion. For more details, visit ForkLog. #Exodus#NYSE#IPO#StockMarket#Investing#Growth#TechStocks#FinancialNews#Blockchain#Software#NonCustodial#MarketCapitalization#Trading#WallStreet