@bizfeed · Post #332460 · 14.08.2025 г., 22:39
DL News | News Feed | ꘜ Crypto exchanges should block users from cashing out tokens with low ‘compliance scores,’ BIS researchers say ~ ₿izFeed#⃣:#cryptonews
Hashtags
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
Пребарај: #cryptonews
@bizfeed · Post #332460 · 14.08.2025 г., 22:39
DL News | News Feed | ꘜ Crypto exchanges should block users from cashing out tokens with low ‘compliance scores,’ BIS researchers say ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332448 · 14.08.2025 г., 21:18
The Block | 𝕏 David Bailey’s Nakamoto and KindlyMD close merger for Bitcoin treasury ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332447 · 14.08.2025 г., 21:14
unfolded. | ꘜ Long-term holders still command ~85% of all Bitcoin—near a historic high—while net outflows continue to drain exchange inventories, creating an increasingly illiquid float that can magnify price moves — link | AI comment ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332446 · 14.08.2025 г., 20:39
Blockworks | ꘜ Charting the course 📊 https://blockworks.co/news/the-state-of-solana-charts ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332445 · 14.08.2025 г., 20:39
The Block | 𝕏 US Justice Department unseals warrant to seize millions in crypto from alleged ransomeware operator ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332434 · 14.08.2025 г., 20:04
The Block | 𝕏 Bitcoin miner TeraWulf shares jump 50% after Google secures 8% stake as part of $3.7 billion 10-year AI compute deal ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332432 · 14.08.2025 г., 19:44
Blockworks | ꘜ To cut or not to cut...that is the question https://blockworks.co/news/outlining-fed-rate-cut-scenarios ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332429 · 14.08.2025 г., 19:14
The Block | 𝕏 Bitcoin Layer 2 Bitlayer raises additional $5 million in oversubscribed public token rounds on decentralized crowdfunding platforms ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332417 · 14.08.2025 г., 18:54
Blockworks | ꘜ Circle one: - Rollup - L1 https://blockworks.co/news/circle-l1-impact-ethereum ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332416 · 14.08.2025 г., 18:54
DL News | News Feed | ꘜ The US ‘won’t buy’ more Bitcoin, says Treasury Secretary ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332415 · 14.08.2025 г., 18:54
unfolded. | ꘜ Citigroup considers custody and payment services for stablecoins, crypto ETFs — link | AI comment ~ ₿izFeed#⃣:#cryptonews
Hashtags
@bizfeed · Post #332414 · 14.08.2025 г., 18:33
The Block | 𝕏 The Daily: Bessent says govt won't buy bitcoin for strategic reserve, Ethereum ICO whale sells another $5 million in ETH, and more ~ ₿izFeed#⃣:#cryptonews
Hashtags