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

Резултати

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

Пребарај: #hassett

当前筛选 #hassett清除筛选
American Оbserver

@american_observer · Post #5170 · 19.02.2026 г., 15:59

Tariffs, Truth, and the Fed Hit List Kevin Hassett just turned a routine Fed research note into a loyalty test. On CNBC, Trump’s top economic adviser called a New York Fed study an “embarrassment” and said the central bank should punish its own researchers for concluding that U.S. companies and consumers ate nearly 90% of the cost of 2025 tariffs rather than China. The message wasn’t subtle: if your math makes the White House look bad, the problem isn’t the policy, it’s you. ​ The Fed paper did something boring and dangerous: it compared import prices and volumes and found that most of the tariff burden was passed through into higher U.S. prices, in line with other independent studies. Hassett’s counter‑argument was a story, not a rebuttal: tariffs “bring stuff home,” raise demand, lift wages, and leave Americans better off. No numbers, just vibes. In the same ecosystem, Trump has already demanded that Goldman Sachs dump its chief economist for saying tariffs hit Americans, fired the head of the Bureau of Labor Statistics after ugly jobs data, and is watching a criminal probe hang over Jerome Powell’s head while pushing him out in favor of a more obedient Fed chair. ​ You can see the new hierarchy: politics first, narrative second, data last. Tariffs are good by definition; if the numbers say otherwise, the numbers must be “partisan.” The target isn’t just one study, it’s the idea that independent stats offices and central bank researchers get to describe reality instead of marketing it. When the White House starts talking about “punishing” people for adding up the bill, the real policy isn’t about trade anymore. It’s about teaching everyone in the system that truth is whatever makes the president look like he’s winning. #trump#tariffs#Fed#Hassett#economy#fakePopulism 📱American Оbserver - Stay up to date on all important events 🇺🇸

Crypto M - Crypto News

@CryptoM · Post #64666 · 09.04.2026 г., 13:16

🚀 Powell Unlikely to Remain as Federal Reserve Governor, Walsh to Assume Chairmanship in May The White House National Economic Council Director Hassett has indicated that Jerome Powell is not expected to continue as a Federal Reserve Governor. According to ChainCatcher, Walsh is set to take over as the Federal Reserve Chair in May. #FederalReserve#JeromePowell#Walsh#Hassett#WhiteHouse#Economics#Chairmanship