TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #199 · 8 јан.

Многие из тех кто активно работал с Python2 несколько удивлены, почему в Python3 удобная функция reload() переехала из builtin в imp а потом и в importlib? Ну было же удобно! А теперь лишний импорт😖 Дело в том, что начиная с Python3.3 функция reload() переписана на Python вместо Cи. Что это нам даёт? 🔸 Такой код проще поддерживать и развивать 🔸 Python код легче читать, изучать и понимать. Сравните это ➡️ и это ➡️. 🔸 Как результат пункта 2, проще писать свои расширения импорта. Например, пользовательский импортёр с какой-либо хитрой логикой по аналогии с импортом из zip архивов. А есть ли у этого решения недостатки? Да, они всегда есть. 🔹 Так как это не builtin функция, её следует импортнуть перед использованием 🔹 Скорость замедлилась примерно на 5%. Очевидно, что это совершенно не критично. К тому же от версии к версии логика импорта будет оптимизироваться и ускоряться. В самом начале файла importlib/__init__.py мы видим такой импорт: import _imp # Just the builtin component, NOT the full Python module То есть часть функционала по прежнему написана на Си, но достаточно низкоуровневая. #basic

Hashtags

Резултати

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

Пребарај: #airisk

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

@ai_and_law · Post #789 · 20.03.2026 г., 08:04

❗️AI Becomes #2 Global Business Risk in Allianz Risk Barometer 2026 According to the 2026 report by Allianz, artificial intelligence has risen to #2 among global business risks, up from #10 in 2025. This is the largest increase recorded in the ranking’s history. AI is now ranked #2 in the Americas, Asia Pacific, and Africa and the Middle East, and #3 in Europe, placing it among the top three risks for companies of all sizes. The report links this rapid rise to both the risks associated with AI systems and their broader societal, political, and economic implications. Since the launch of ChatGPT in 2022, AI deployment and automation have expanded significantly, with further applications in development. AI risk is also closely connected to other major categories, including cybersecurity (the top-ranked risk) as well as political risks, macroeconomic developments, and regulatory changes. #AIrisk#AIGovernance#AIRegulation#Cybersecurity#TechPolicy#RiskManagement

AI & Law

@ai_and_law · Post #734 · 30.12.2025 г., 08:04

🇺🇸OpenAI Seeks New Head of Preparedness to Address Emerging AI Risks OpenAI has opened a search for a Head of Preparedness, a senior executive role tasked with studying and managing emerging risks linked to advanced AI systems. According to CEO Sam Altman, these risks now include models that can meaningfully affect mental health and systems that are becoming capable of identifying critical computer security vulnerabilities. The role is framed around anticipating and mitigating severe harms as frontier AI capabilities evolve. The position will be responsible for executing OpenAI’s preparedness framework, which sets out how the company tracks, evaluates, and prepares for high-impact risks arising from powerful AI models. Altman highlighted challenges such as enabling cybersecurity defenders without empowering attackers, managing the release of sensitive capabilities (including biological ones), and gaining confidence in the safety of systems that may be able to self-improve. The job listing underscores that preparedness is being treated as a core governance function rather than a peripheral safety task. Compensation for the role is listed at USD 555,000 plus equity, signaling the strategic importance OpenAI places on institutional risk oversight as AI capabilities continue to advance. #AIПovernance#AIsafety#AIrisk#TechPolicy#ResponsibleAI