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

Резултати

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

Пребарај: #whitehouse

当前筛选 #whitehouse清除筛选
Trump's Ear

@trumpsear_tg · Post #2442 · 02.05.2026 г., 02:00

Meet the acid-tongued pageant queen ready to replace Karoline Leavitt... as Trump insiders give unfiltered verdict on her press secretary abilities #Trump#WhiteHouse 👂More on Trump's Ear ⚠️

Trump's Ear

@trumpsear_tg · Post #2414 · 27.04.2026 г., 13:59

🇺🇸 Trump revives $400M ballroom project after Washington attack 🏛⚠️ After the attack in Washington, Donald Trump has once again pushed the idea of building a ballroom near the White House. He заявил that the incident at the Washington Hilton — where the White House Correspondents’ Dinner took place — could have been avoided if the event had been held in a new secure venue. The project, valued at $400 million, has long been presented by Trump as one of the key symbols of his presidency. The East Wing of the White House has already been demolished as part of the plan. According to the administration, the new complex will cover about 90,000 square feet and accommodate around 650 guests, addressing both capacity and security concerns. Despite ongoing legal disputes, an appeals court in April allowed construction work to continue temporarily 🏗 #Trump#WhiteHouse 👂More on Trump's Ear ⚠️

Trump's Ear

@trumpsear_tg · Post #2329 · 01.04.2026 г., 19:59

A federal judge in Washington on Tuesday issued a preliminary injunction blocking further construction of President Donald Trump's signature White House ballroom — a blow delivered in a colorful ruling that asserted the Trump “is not...the owner!”⚖️ Judge Richard Leon wrote that Trump can't build the ballroom without authorization from Congress, and that “no statute comes close to giving the President the authority he claims to have.” The National Trust for Historic Preservation, the privately funded nonprofit designated by Congress to protect historic sites, sued in an attempt to stop the construction of the White House ballroom, which began without congressional approval last fall. 🏛 The organization asked the construction of the massive 90,000 square foot ballroom be stopped pending the completion of a federal review process standard for federal building projects. #Trump#WhiteHouse 👂More on Trump's Ear ⚠️

Trump's Ear

@trumpsear_tg · Post #2174 · 20.02.2026 г., 15:08

The White House has installed plaques along President Donald Trump’s “Presidential Walk of Fame,” offering descriptions of his predecessors, often written in the style of his social media posts — including insults, baseless claims, and random capitalization. 🏛 A plaque at the front of the exhibit, which lines the walkway outside the West Wing of the White House, says it was “conceived, built, and dedicated” by Trump “as a tribute to past Presidents, good, bad and somewhere in the middle, who served our Country, and gave up so much in so doing.” Trump’s own plaque touts his 2024 victory, saying he overcame the “unprecedented Weaponization of Law Enforcement against him, as well as two assassination attempts.” And it declares that Trump, who’s been in office for 11 months, has “delivered” on his Inauguration Day promise to usher in the “Golden Age of America,” pointing to his claims of wars ended, borders secured, and alleged gang members deported. 🇺🇸 #WhiteHouse#Trump 👂More on Trump's Ear ⚠️

Trump's Ear

@trumpsear_tg · Post #2021 · 17.01.2026 г., 00:00

President Donald Trump's beloved ballroom project has been delayed by yet another one of the president's unfulfilled promises, according to a new report. Last year, Trump removed all six members of the Commission of Fine Arts, an agency that reviews ballroom plans before construction begins. Trump said at the time that he would install loyalists to make the approval process easier, but he has not yet filled those positions, The New York Times reported on Wednesday. In turn, the commission postponed its review of the Trump ballroom project for another week to give the president more time to appoint the commissioners. ALSO READ: Trump chills America in a thousand ways — but this one ends with burning crosses Trump began the ballroom project last October when he abruptly tore down the East Wing of the White House. Initially, Trump said the ballroom would be a small addition to the White House. The project's cost has ballooned. Trump initially projected the ballroom would cost around $200 million, with construction costs covered by donations from private companies and investors. Recently, he has projected the project to cost between $350 million and $400 million. Trump has also locked horns with Federal Reserve Chairman Jerome Powell, whom he has accused of mismanaging the $2.5 billion central bank headquarters renovation project. #Trump#WhiteHouse 👂More on Trump's Ear ⚠️

Trump's Ear

@trumpsear_tg · Post #1928 · 18.12.2025 г., 20:58

President Donald Trump’s “Presidential Walk of Fame” now features partisan descriptions of each former president in classic Trumpian tone, such as calling Barack Obama “one of the most divisive political figures in American history” and Joe Biden “the worst president in American history.” 🇺🇸🚶‍♂️🏛 #Trump#WhiteHouse 👂More on Trump's Ear

Trump's Ear

@trumpsear_tg · Post #1910 · 15.12.2025 г., 23:03

With just days remaining until millions of Americans will have to pay dramatically increased health care insurance costs unless Congress and the White Housecan agree on extending Covid-era tax credits, President Donald Trump says his top domestic policy aide has been tasked with something far more important. The president told attendees at a Sunday White House Christmas reception that Domestic Policy Council boss Vince Haley’s “primary thing” is the construction of a massive triumphal arch to commemorate America’s 250th anniversary — not lowering healthcare costs or addressing the affordability issues that have driven a string of Democratic victories in off-year elections this year. #Trump#WhiteHouse 👂More on Trump's Ear

Trump's Ear

@trumpsear_tg · Post #1830 · 26.11.2025 г., 13:24

One of the turkeys that was brought from North Carolina disappeared in the White House, so that Trump solemnly refused to eat them for Thanksgiving dinner. The US president said that the bird got lost in the process. Turkeys of record fat content, Trump boasted, were specially fattened for the sake of "pardon." #Trump#WhiteHouse 👂More on Trump's Ear

Trump's Ear

@trumpsear_tg · Post #1792 · 18.11.2025 г., 16:01

Donald Trump demolished the east wing of the White House for a new ballroom 😳🏛 US President Donald Trump has ordered the demolition of the historic East Wing of the White House 🗑 in order to build a new ballroom in its place. Judging by recent photographs, there is not even a foundation left from the 1942 extension, where the first lady traditionally worked. 🤔 Filming from the top of the Washington Monument shows a huge excavation ⭕️ and construction equipment 🚜 on the site of the wing. The new hall, designed for 650 guests, is to become a venue for state receptions and large banquets 🎉. The White House said in an official statement that the additional structures "looked unsightly." The cost of the project is estimated at $ 250 million. 💰 According to Trump, the construction is fully funded by donations from "patriotic Americans, major companies and the president himself." Google, Amazon, Meta, Microsoft and Apple are mentioned among the donors. 📈 The decision caused a wave of criticism. 🙅‍♂️ The National Foundation for the Protection of Historical Heritage said it was "deeply concerned" about the dismantling and demanded that work be suspended pending a public assessment. #Trump#WhiteHouse 👂More on Trump's Ear

Trump's Ear

@trumpsear_tg · Post #1760 · 11.11.2025 г., 00:59

The head of the pharmaceutical company Novo Nordisk 💊 lost consciousness 😵 in the Oval Office 🏛 during a meeting with Trump 🇺🇸. #Trump#WhiteHouse 👂More on Trump's Ear

123•••67
ПретходнаСтраница 1 од 7Следна