@Telegraher · Post #633 · 29.01.2023 г., 12:47
Hahaha, eat that! 1989 #JinPooh#freetibet#西藏独立运动#西藏独立
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
Пребарај: #jinpooh
@Telegraher · Post #633 · 29.01.2023 г., 12:47
Hahaha, eat that! 1989 #JinPooh#freetibet#西藏独立运动#西藏独立
Hashtags
@Telegraher · Post #519 · 26.07.2022 г., 20:55
Folks, some handy tips: • read comments before commenting • vanilla tg OR our fork also have "translate" button If you commenting w/o reading the discussion.. Well, go on reddit 😁 More details: post about Nekogram picked up from NekoX chat. Moar details: • Nekogram is a bitch who ban you for political reasons and opinions like 1989 #JinPooh#freetibet#西藏独立运动#西藏独立 . • NekoX can be a bitchie and ban you when you critic Durov or TG TOS but they always unban you, while i'm still banned in Nekogram chat (i was banned twice in both and forever in Nekogram). My political messages are still in NekoX chat 😎
Hashtags
@Telegraher · Post #516 · 23.07.2022 г., 08:55
Hallo folks, fond this stuff in NekoX chat: https://github.com/NekogramX/Nekogram - link is fuckedup by github probably (upd). Fake it or not?.. Well, nekogram assholes are banned me also for politic content: 1989 #JinPooh#freetibet#西藏独立运动#西藏独立 Here https://t.me/telegraher/74 And here https://t.me/telegraher/95 https://t.me/telegraher/97 Ban + wipe any forbidden in china content. Text translated by chinese guy from nekox chat, original messages are in our chat. P.S. NekoX are bitchies also, but a much less, they're just for TG's TOS & Durov, not the chinese Gov, thats important différence. FREETIBET !
Hashtags