@sgmrt · Post #1757 · 04.07.2023 г., 23:24
[EWL] UPDATE: Train svc btwn #TuasLink and #TuasWestRoad has resumed. Free regular bus and bridging bus services have ceased. - SMRT
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
Пребарај: #tuaslink
@sgmrt · Post #1757 · 04.07.2023 г., 23:24
[EWL] UPDATE: Train svc btwn #TuasLink and #TuasWestRoad has resumed. Free regular bus and bridging bus services have ceased. - SMRT
Hashtags
@sgmrt · Post #1756 · 04.07.2023 г., 23:13
[EWL]: Due to a factory fire near #TuasLink, there is no train svc btwn #TuasLink and #TuasWestRoad. Free regular bus and bridging bus services are available btwn #TuasLink and #TuasWestRoad. Train service is still available. - SMRT
Hashtags
@sgmrt · Post #1755 · 04.07.2023 г., 22:53
[EWL]: Due to a factory fire near #TuasLink, there is no train svc btwn #TuasLink and #TuasWestRoad. Free regular bus and bridging bus services are available btwn #TuasLink and #TuasWestRoad. Train service is still available. - SMRT
Hashtags
@sgmrt · Post #1754 · 04.07.2023 г., 22:38
[EWL]: Due to a factory fire near #TuasLink, there is no train svc btwn #TuasLink and #TuasWestRoad. Free regular bus and bridging bus services are available btwn #TuasLink and #TuasWestRoad. - SMRT
Hashtags
@sgmrt · Post #1753 · 04.07.2023 г., 22:14
[EWL]: Due to a factory fire near #TuasLink, there is no train svc btwn #TuasLink and #TuasWestRoad. Free regular bus and bridging bus services are available btwn #TuasLink and #TuasWestRoad. - SMRT
Hashtags
@sgmrt · Post #1752 · 04.07.2023 г., 21:58
[EWL]: Due to a factory fire near #TuasLink, there is no train svc btwn #TuasLink and #TuasWestRoad. Free regular bus services are available btwn #TuasLink and #TuasWestRoad. - SMRT
Hashtags
@sgmrt · Post #1751 · 04.07.2023 г., 21:33
[EWL]: Due to a factory fire near #TuasLink, there is no train svc btwn #TuasLink and #TuasWestRoad. Free regular bus services are available btwn #TuasLink and #TuasWestRoad. - SMRT
Hashtags
@sgmrt · Post #1397 · 24.12.2021 г., 22:39
[EWL] UPDATE: Free regular bus & free bridging bus svcs btwn #TuasLink and #JooKoon have ended. - SMRT
@sgmrt · Post #1395 · 24.12.2021 г., 22:11
[EWL] UPDATE: Free regular bus & free bridging bus svcs btwn #JooKoon and #TuasLink. - SMRT
@sgmrt · Post #1399 · 24.12.2021 г., 22:56
[EWL] CLEARED: Train svcs btwn #TuasLink and #TuasCrescent have resumed. - SMRT
Hashtags
@sgmrt · Post #1398 · 24.12.2021 г., 22:40
[EWL] UPDATE: Train svc is available btwn #TuasLink and #TuasCrescent. - SMRT
Hashtags
@sgmrt · Post #1396 · 24.12.2021 г., 22:11
[EWL]: Due to a signalling fault, pls add 15mins train travel time btwn #TuasLink and #TuasCrescent. - SMRT
Hashtags