@WorldNews · Post #74241 · 19.04.2026 г., 22:19
Trump says U.S. struck and seized Iranian-flagged cargo ship in Gulf of Oman [Read FullArticle] @WorldNews#Trump#GulfOfOman#Iran
Hashtags
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
Пребарај: #gulfofoman
@WorldNews · Post #74241 · 19.04.2026 г., 22:19
Trump says U.S. struck and seized Iranian-flagged cargo ship in Gulf of Oman [Read FullArticle] @WorldNews#Trump#GulfOfOman#Iran
Hashtags
@CryptoM · Post #65313 · 12.04.2026 г., 22:02
🚀 CENTCOM to Enforce Blockade on Iranian Maritime Traffic CENTCOM has announced a blockade on all maritime traffic entering and leaving Iranian ports, effective April 13 at 10 a.m. ET. According to NS3.AI, this directive applies to vessels of any flag or ownership within Iranian coastal waters, including ports in the Arabian Gulf and the Gulf of Oman. Ships transiting the Strait of Hormuz to or from non-Iranian ports will maintain freedom of navigation. CENTCOM has not specified the duration of the blockade and stated that further guidance will be provided. #CENTCOM#Iran#Maritime#Blockade#StraitOfHormuz#ArabianGulf#GulfOfOman#NavalOperations
@CryptoM · Post #65429 · 13.04.2026 г., 07:25
🚀 Iranian Military Comments on Persian Gulf and Gulf of Oman Security On the 13th, a spokesperson for Iran's Khatam al-Anbiya Central Command stated that the security of the Persian Gulf and the Gulf of Oman ports is a matter that either belongs to everyone or no one. According to Odaily, analysts suggest that this statement from the Iranian military is a response to recent U.S. remarks about blocking Iranian port vessels and resuming actions against Iran. #IranianMilitary#PersianGulf#GulfOfOman#Security#Iran#USRelations#MilitaryStatement#PortSecurity