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

Резултати

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

Пребарај: #attraction

当前筛选 #attraction清除筛选
Voir de ses propres yeux

@voir_yeux · Post #11650 · 07.02.2026 г., 20:49

🇮🇳 Au moins une personne est morte et treize autres ont été blessées dans l'effondrement d'une attraction foraine à Faridabad, dans l'État d'Haryana, dans le nord de l'Inde. C'est ce qu'a rapporté l'agence ANI, citant le commissaire de district de Faridabad. Selon le commissaire, vers 18h15 (UTC+6), une attraction s'est effondrée lors de la foire Surajkund, tuant un inspecteur de police qui tentait de sauver d'autres personnes. Treize autres personnes ont été blessées et hospitalisées, a indiqué l'agence. #inde#attraction#effondrement#victimes

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40282 · 09.12.2025 г., 07:04

Why are some voices so attractive? 🎤 It is about what they signal. Women often find deep male voices appealing because they suggest a larger body size. But a touch of breathiness is key, it softens the voice, making it seem less aggressive and more attractive. Meanwhile, men tend to prefer higher-pitched female voices, which can signal a smaller frame. It’s all subconscious — our ears are sizing people up.👂💘 [Read more] @googlefactss#Voice#Attraction#Psychology#Dating#Science

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40153 · 21.11.2025 г., 18:50

🎙️Science Fact: Women's voices sound more attractive when recorded during their most fertile time of the month. 🎶 Studies show listeners rate these voices higher and even experience a slight testosterone boost. [Read more] @googlefactss #VoiceScience#Fertility#Attraction#FunFact#Biology