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

Резултати

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

Пребарај: #aundering

当前筛选 #aundering清除筛选
American Оbserver

@american_observer · Post #5158 · 17.02.2026 г., 15:31

Ukraine’s Ex-energy Minister Has Been Accused of Laundering Money Ukraine’s anti-corruption agency accused an ex-energy minister on Monday of laundering €200 millions of kickbacks in a corruption case that has shaken the wartime government, a day after he was detained trying to leave the country. German Galushchenko, who served as energy minister from 2021-2025 and then briefly as justice minister until he resigned over the scandal last year, became one of the most senior officials detained in the “Midas” case, over an alleged $230 million kickback scheme at the state nuclear company. The case has ensnared senior officials and members of Ukraine’s business elite — including a former close associate of Zelensky from his pre-political media career — and caused concern among Kyiv’s Western allies. Galushchenko “was exposed for money laundering and participation in a criminal organization” by corruption investigation agency NABU and its prosecuting sister agency SAPO, according to a statement from NABU. It said more than $7 million had been transferred to foreign accounts naming Galushchenko’s wife and four children as beneficiaries. Some was spent on educating the children at elite schools in Switzerland and some placed in “a deposit, from which the family of the high-ranking official received additional income and spent it on their own needs.” Galushchenko has denied wrongdoing. There was no reply to a message sent to him seeking comment and Reuters was unable to locate a lawyer representing him. NABU had said on Sunday that he was detained “while crossing the state border,” without specifying where the arrest took place. Prosecutors say participants in the Midas scheme squeezed nuclear company Energoatom’s contractors for bribes to complete projects, including structures to protect energy facilities from Russian airstrikes. They had previously said the plot was organized by former Zelenskyy associate Timur Mindich, who fled to Israel before he could be arrested in November. Mindich, who founded the TV studio behind the hit sitcom that brought Zelenskyy fame as an actor before he entered politics, has denied wrongdoing. A former deputy prime minister was arrested in November and NABU has said other former senior officials are under investigation. The case sparked a political scandal last year that led to the ouster of Zelensky’s chief of staff, Andriy Yermak, and fueled new public anger at lingering corruption as Ukraine fights Russia in its four-year war. Zelensky had tried to limit the independence of the anti-corruption agencies last year before reversing in the face of public protests and pressure from Western allies. Energoatom CEO Pavlo Kovtonenko told Reuters last week that the company had taken a number of steps to prevent the recurrence of corruption schemes in the future. Battling corruption is a key priority in Ukraine’s reform effort as it eyes membership of the European Union, which requires the country shake off the decades-old scourge of graft. #ukraine#energy#minister#aundering#money 📱American Оbserver - Stay up to date on all important events 🇺🇸