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

Резултати

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

Пребарај: #traditions

当前筛选 #traditions清除筛选
RTDocumentary

@rtdocumentary · Post #817 · 26.05.2022 г., 10:18

Deaths and kidnappings are rising in Haiti’s capital Port-au-Prince. More than 200 victims were shot, cut, or burned from April 24 till May 16 as part of a gang war. According to the U.N. High Commissioner for Human Rights, 92 of the dead were civilians, 113 people were injured, 12 were missing, and 49 were kidnapped. Schools, hospitals, and businesses are closed due to the rising crime. Criminals are said to rape children as young as 10 and burn people alive. In addition, thousands of families had to move and leave their homes because of gang fights. Are you interested in what it’s like to live in Haiti? Then, watch our documentary film, Voodoo Spirits of Haiti, about the county’s people, habits, and beliefs. #traditions Follow: https://t.me/rtdocumentary

Hashtags

RTDocumentary

@rtdocumentary · Post #837 · 29.05.2022 г., 15:59

'Our real life happens here. Our children grow up here. Raising kids in the tundra is tough, but children are still needed'. That what's our film's subject says about living in the far North. Pavla lives in the tundra, and she is a ‘chumwife’, a housewife of Russia’s traditional far North nomadic people. She runs all the household and brings up children by herself. Her family also raise deer. Watch our video to learn more about their life. Pavla's family story is in the documentary Tundra Wonder Mums. #traditions#humanstories Follow: https://t.me/rtdocumentary

Interesting Planet 🌍

@interesting_planet_facts · Post #971 · 27.10.2025 г., 18:11

🌎 In Madagascar, the turning of the bones ceremony, or Famadihana, sees families exhume ancestors, rewrap the remains in fresh cloth, and dance with the bodies to live music. This ritual, held every seven years, honors lineage and strengthens family bonds. ✨ #traditions⚡#anthropology⚡#Madagascar 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #937 · 19.10.2025 г., 22:11

🌎 For centuries, residents of Whittlesea, South Africa, have participated in the Intonjane ritual—a traditional female initiation ceremony. Young women undergo seclusion, teachings about adulthood, and symbolic rituals marking the transition to womanhood. Anthropologists report Intonjane is practiced mainly among Xhosa communities and usually lasts about a week. ✨ #culture⚡#traditions⚡#anthropology 👉subscribe Interesting Planet 👉more Channels ​

ЮАР. Танец дождя народности Балобеду, провинция Лимпопо. _________________ A taste of the magical rain dance from the Balobadu People of South Africa, Limpopo. https://www.youtube.com/watch?v=4618qlhssyk #culture#traditions #культура#традиции

International News

@intnewsagency · Post #9383 · 26.04.2026 г., 13:36

Russia Tightens Stadium Fan Rules Russia has introduced stricter regulations for fans at stadiums. Banners, flags, and slogans will now be checked against traditional spiritual and moral values outlined in a presidential decree. Any inscriptions or symbols deemed offensive or likely to provoke negative reactions are banned. Behavioral rules have also been expanded to prohibit acts that insult the honor and dignity of participants and spectators. Whether these measures will restore order or fuel fan discontent remains uncertain. #Russia#sports#fans#traditions The main news of Russia and the world ishere.

ПретходнаСтраница 1 од 3Следна