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 слични објави

Пребарај: #epiphany

当前筛选 #epiphany清除筛选
Addis Standard

@addisstandardeng · Post #21111 · 19.01.2026 г., 10:21

In_Pictures: #Epiphany celebrations across #Ethiopia Epiphany (Timket) celebrations are taking place across Ethiopia, as followers of the Ethiopian Orthodox Tewahedo Church mark the festival in accordance with long-standing religious traditions. Observances began on the eve of the Katara ceremony yesterday, with clergy and congregants participating in the commemoration. Photo: Social media

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40485 · 06.01.2026 г., 03:04

January 6 is Epiphany or Theophany. Wise Men, or magi, visited baby Jesus with gifts: gold, frankincense, and myrrh. The Bible doesn’t say how many magi came or their names; tradition says three: Melchior, Caspar, and Balthazar. Some churches also celebrate Jesus’ baptism this day. Before December 25 was Christmas, January 6 was the main day to celebrate Jesus’ birth. It ends the 12 days of Christmas with food, parades, and gifts. ✝️🎁⭐ [Read more] We wish you all a happy Epiphany day. @googlefactss#Epiphany#Jesus#Christmas#ChristianTraditions#History

☦️Epiphany and the Cross-Diving Tradition On the feast of the Epiphany, believers in a number of countries take part in a folk-religious tradition known as cross diving. 🔹 After the blessing of the water, a priest throws a cross into a body of water — a river, lake, or the sea. 🔹 Participants then swim to retrieve the cross from the water. 🔹 It is believed that the person who retrieves the cross first receives a special blessing for the year ahead. 🌍 This tradition is especially common in countries with a warmer climate than Russia, such as Greece, Bulgaria, Serbia, as well as in several other countries and regions. 🇷🇺🇿🇦 This tradition is also practiced within the Russian-speaking diaspora in South Africa. 📸Photo (Cape Town) 🔗Source: https://t.me/Capetown_SouthAfrica_chat/50655 #Epiphany#Orthodoxy#ChristianTraditions#Culture#Religion#FolkTraditions#SouthAfrica#CapeTown

Addis Standard

@addisstandardeng · Post #21118 · 19.01.2026 г., 13:37

In Pictures 2 #Ethiopians across the country celebrate Timket (#Epiphany)—recognized by #UNESCO as an intangible cultural heritage of humanity—one of the Ethiopian Orthodox Church’s most sacred festivals, marked by vibrant processions, prayers, and communal gatherings. On the occasion of the festival, various embassies in Addis Abeba have extended congratulatory messages. The embassies of #Russia and the #United_States, along with those of #Germany, the #Netherlands, the #United_Kingdom, #Switzerland, #Sweden, #Finland, #Israel, #Armenia, #Canada, #Iran, #Pakistan, and #Australia, wished Ethiopians a peaceful and joyful celebration. (Source: FBC, TigTV)