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

Резултати

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

Пребарај: #iplaw

当前筛选 #iplaw清除筛选
AI & Law

@ai_and_law · Post #677 · 13.10.2025 г., 07:04

🇺🇸DC Comics Rejects Generative AI in Creative Work DC Comics President and Publisher Jim Lee made a clear statement during New York Comic Con: the company will not support the use of generative AI for storytelling or artwork. “Not now, not ever, as long as Anne DePies and I are in charge,” Lee said, framing AI’s role in creative industries as a passing trend akin to the Millennium bug scare and NFT hype. DC has long required that all its artwork be original and authentically created by artists. Recent backlash over suspected AI use in variant comic covers prompted the company to take an even firmer stance. Lee emphasized that audiences value “what feels authentic,” adding: “AI doesn’t dream. It doesn’t feel. It doesn’t make art. It aggregates it.” #AIEthics#CreativeRights#IPLaw #

AI & Law

@ai_and_law · Post #588 · 10.06.2025 г., 07:04

🇺🇸Labels vs. AI Music: Licensing Over Litigation? Major record labels—Universal, Sony, and Warner—are now negotiating licensing and equity deals with AI music startups Udio and Suno. The goal: resolve ongoing copyright lawsuits and set a precedent for compensating artists whose work has been used to train generative models. The labels are reportedly demanding both financial licensing terms and equity stakes in the companies. This marks a strategic shift from past copyright wars. Instead of litigation-first tactics like with Napster, the industry is exploring commercial alignment. If finalized, these agreements could define how creative rights are protected in the era of synthetic content—and signal how future IP disputes with AI firms may be resolved. #AIandLaw#CopyrightAI#IPlaw

AI & Law

@ai_and_law · Post #591 · 13.06.2025 г., 07:04

🇺🇸🎬 Hollywood Declares War on Generative AI Disney, Universal, Marvel, and other entertainment giants have filed a lawsuit against Midjourney, alleging that its AI models are built on large-scale copyright infringement. The studios accuse Midjourney of scraping protected visual content to allow users to generate unauthorized versions of iconic characters — from Yoda to Shrek. This is the first major legal action from Hollywood targeting generative AI, and it could define how U.S. courts interpret “fair use” in the age of synthetic media. As Disney’s counsel put it: “Piracy is piracy.” The entertainment industry may no longer sit at the negotiating table — it’s headed to court. #Midjourney#AIandLaw#FairUse#IPLaw

AI & Law

@ai_and_law · Post #788 · 19.03.2026 г., 08:04

🇺🇸⚖️Britannica and Merriam-Webster Sue OpenAI Over Copyright and Trademark Claims Encyclopedia Britannica and Merriam-Webster have filed a lawsuit against OpenAI, alleging “massive copyright infringement.” The publishers claim that nearly 100,000 copyrighted articles were scraped and used to train OpenAI’s large language models without permission. The complaint also alleges that OpenAI reproduces full or partial verbatim excerpts of their content in outputs and uses their materials within ChatGPT’s retrieval-augmented generation (RAG) processes. The lawsuit further claims violations of the Lanham Act, arguing that OpenAI attributes hallucinated or fabricated content to Britannica, potentially misleading users. According to the filing, ChatGPT generates responses that directly compete with publishers’ content, reducing traffic and revenue while raising concerns about the reliability of online information. This case adds to a growing number of lawsuits against OpenAI, including claims brought by The New York Times and Ziff Davis, as well as multiple newspapers in the U.S. and Canada. A separate lawsuit filed by Britannica against Perplexity on similar grounds remains pending. #Copyright#AIRegulation#AIGovernance#IPLaw#GenerativeAI#Litigation#AIethics