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

Резултати

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

Пребарај: #dam

当前筛选 #dam清除筛选
Free Crypto Signals (Profitable Zone)

@btctradingclub · Post #26540 · 08.12.2025 г., 10:41

🚀🚀 42% Profit on #DAM/USDT for our Premium Members on On Futures, OKX, Bybit, Kucoin 👆🏻All Profit Targets Successfully Completed 👁‍🗨Contact @primemod to enter the most powerful premium group & make daily gains

Hashtags

Free Crypto Signals (Profitable Zone)

@btctradingclub · Post #26156 · 18.10.2025 г., 19:44

🚀🚀48% Profit on #DAM/USDT for our Premium Members on On Futures, OKX, Bybit, Kucoin 👆🏻All Profit Targets Successfully Completed 👁‍🗨Contact @primemod to know how to make daily profit on Spot & Futures Market

Hashtags

Fed. Russian Insiders ®

@FedRussianInsidersVip4Free · Post #7004 · 27.12.2025 г., 21:32

LONGING $DAM HERE Exchanges: Binance Futures FULLY BOTTOMED undervalued gem, market conditions are perfect and #DAM is ready to become the next 10x ENTRY: Below 0.27 Targets: 0.28 - 0.29 - 0.305 - 0.32 - 0.34 - 0.36 - 0.42 - 0.52 - 0.67 - 0.98 - 1.56 - 2.32 - OPEN SL: Below 0.194 - Sent via TeleFeed

Hashtags

Fed. Russian Insiders ®

@FedRussianInsidersVip4Free · Post #6999 · 24.12.2025 г., 11:56

LONGING $DAM HERE Exchanges: Binance Futures FULLY BOTTOMED undervalued gem, market conditions are perfect and #DAM is ready to become the next 10x ENTRY: Below 0.23 Targets: 0.24 - 0.25 - 0.27 - 0.29 - 0.32 - 0.36 - 0.43 - 0.52 - 0.67 - 0.98 - 1.56 - 2.32 - OPEN SL: Below 0.1831 - Sent via TeleFeed

Hashtags

Binance crypto champions

@binancecryptochampions · Post #2971 · 24.12.2025 г., 08:52

✴️Free signal-Futures ✴️ ⚡️⚡️#DAM/USDT⚡️⚡️ Signal Type: Regular (Long) Leverage: Cross (20x) Margin: 2.0% Entry Targets: 1) 0.01852 2) 0.01974 Take-Profit Targets: 1) 0.02060 2) 0.02120 3) 0.02240 Stop Targets: 1) 0.01798 🍁 Published by: @Trading_exp🍁 Join_vip: @Crypto_Futures_Spot_Payment_bot

Hashtags

Binance crypto champions

@binancecryptochampions · Post #2691 · 05.09.2025 г., 04:37

✴️Free signal-Futures ✴️ ⚡️⚡️#DAM/USDT⚡️⚡️ Exchanges: Binance Futures, Bybit USDT Signal Type: Regular (Long) Leverage: Cross 20.0x 🚪Entry Targets: 1) 0.0441 🎯Take-Profit Targets: 1) 0.045 2) 0.047 3) 0.0495 🚫Stop Loss: 0.0418 🌱 Published By: @Trading_exp🌱 Join_vip: @Crypto_Futures_Spot_Payment_bot

Hashtags

Pump Leaks

@pumpleaks · Post #1651 · 27.12.2025 г., 21:36

LONGING $DAM HERE Exchanges: Binance Futures FULLY BOTTOMED undervalued gem, market conditions are perfect and #DAM is ready to become the next 10x ENTRY: Below 0.27 Targets: 0.28 - 0.29 - 0.305 - 0.32 - 0.34 - 0.36 - 0.42 - 0.52 - 0.67 - 0.98 - 1.56 - 2.32 - OPEN SL: Below 0.194

Hashtags

12
ПретходнаСтраница 1 од 2Следна