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

Резултати

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

Пребарај: #uscongress

当前筛选 #uscongress清除筛选
EdgeMarket.AI 📣

@edgemarketai · Post #8180 · 12.05.2026 г., 17:31

🇺🇸 US Congress vs Trump’s $1.5 Trillion Defence Budget The market is live on EdgeMarket. Participants are now predicting whether Congress will approve the proposed historic defence expansion package covering: ✈️ Advanced fighter programs 🚢 Naval expansion 🛰 Defence technology 🤖 AI warfare systems 🛡 National security infrastructure Current Market Sentiment: ✅ YES — 61% ❌ NO — 39% Take your position now: https://edgemarket.ai/bnb/social-media/us-congress-aproval-of-trumps-15-trillion-defence-budget/statistics/69f4861273c4a76eb0961b8f Predict. Stake. Settle. #EdgeMarket#USCongress#Trump#Defence#PredictionMarkets#Web3

Crypto M - Crypto News

@CryptoM · Post #64636 · 09.04.2026 г., 12:15

🚀 U.S. Congress Nears Decision on Financial Framework Legislation The U.S. Congress is approaching a significant milestone in its efforts to establish a framework for the future development of the financial industry. According to BlockBeats, U.S. Treasury Secretary Besent announced on April 9 that Congress has spent nearly five years working on this initiative. It is now time for Senate Banking Committee Republicans to review and advance the CLARITY Act for U.S. President Donald Trump's signature. #USCongress#FinancialLegislation#CLARITYAct#Finance#USPolitics#Treasury#BankingCommittee

Crypto M - Crypto News

@CryptoM · Post #64503 · 09.04.2026 г., 04:05

🚀 U.S. Treasury Secretary Urges Congress to Pass CLARITY Act for Digital Asset Regulation U.S. Treasury Secretary Besant has called on Congress to swiftly pass the CLARITY Act to establish a clear regulatory framework for digital assets. According to Foresight News, the global market value of digital assets has fluctuated between $2 trillion and $3 trillion over the past year, with approximately one-sixth of Americans holding some form of digital asset. The application of blockchain technology in payments, settlements, and physical asset exchanges continues to expand. Cryptocurrencies are no longer niche experiments but are widely adopted technologies globally. The United States must take proactive measures to continue leading in the establishment of rules in this field. #DigitalAssets#Cryptocurrency#Blockchain#USTreasury#CLARITYAct#Regulation#Finance#USCongress#GlobalMarket#Technology