@sgmrt · Post #2279 · 05.03.2025 г., 09:04
[CCL]: Train services have resumed to normalcy. Free regular bus services will cease between #Promenade and #Serangoon. We are sorry for affecting your commute. - 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
Пребарај: #serangoon
@sgmrt · Post #2279 · 05.03.2025 г., 09:04
[CCL]: Train services have resumed to normalcy. Free regular bus services will cease between #Promenade and #Serangoon. We are sorry for affecting your commute. - SMRT
Hashtags
@sgmrt · Post #2274 · 05.03.2025 г., 08:14
[CCL]: Please add 30 mins train travel time between #Promenade and #Serangoon, in both directions due to train fault. Free regular bus service is available between #Promenade and #Serangoon. Train service is still available. - SMRT
Hashtags
@sgmrt · Post #2181 · 14.12.2024 г., 11:14
[CCL] UPDATE: Train fault cleared. Train service between #Promenade and #Serangoon is progressively returning to normal. Free regular bus service are still available between #Promenade and #Serangoon. - SMRT
Hashtags
@sgmrt · Post #2180 · 14.12.2024 г., 11:05
[CCL] UPDATE: Please add an additional 30mins train travel time between #Promenade and #Serangoon due to a train fault. Free regular bus service are available between #Promenade and #Serangoon. - SMRT
Hashtags
@sgmrt · Post #2179 · 14.12.2024 г., 10:49
[CCL] UPDATE: Additional 30mins train travel time between #Promenade and #Serangoon due to a train fault. Free regular bus service are available between #Promenade and #Serangoon. - SMRT
Hashtags
@sgmrt · Post #1424 · 01.04.2022 г., 04:26
[CCL] CLEARED: Fault cleared, trains service progressively resuming. Free regular bus and bridging bus services between #Promenade and #Serangoon are still available. - SMRT
Hashtags
@sgmrt · Post #2352 · 20.05.2025 г., 00:44
[CCL] UPDATE: Train fault has recovered, train services are progressively resuming. Free regular bus services are still available between #Serangoon and #BuonaVista. - SMRT
Hashtags
@sgmrt · Post #2351 · 20.05.2025 г., 00:39
[CCL] UPDATE: Please continue to add 30min travel time between #PayaLebar and #BuonaVista. Free regular bus services are available between #Serangoon and #BuonaVista - SMRT
Hashtags
@sgmrt · Post #2350 · 20.05.2025 г., 00:34
[CCL]: Due to a train fault, please add 30 minutes travel time between #PayaLebar and #BuonaVista. Free regular bus services are available between #Serangoon and #BuonaVista. https://bit.ly/44HtD1b - SMRT
Hashtags
@sgmrt · Post #1422 · 01.04.2022 г., 04:09
[CCL] UPDATE: Additional 30mins train travel time between #Stadium and #Bartley due to a train fault. Free regular bus and bridging bus services between #Promenade and #Serangoon are available. - SMRT
@sgmrt · Post #1420 · 01.04.2022 г., 03:52
[CCL] Additional 20mins train travel time between #Stadium and #Bartley due to a train fault. Free regular bus services between #Promenade and #Serangoon are available. - SMRT
@sgmrt · Post #2278 · 05.03.2025 г., 08:54
[CCL]: Train services are progressively returning to normalcy. Please add 5 mins of additional travelling time between #Promenade and #Serangoon in both directions. Free regular bus services are available between #Promenade and #Serangoon. Shuttle train service will cease between #Bartley and #Mountbatten. - SMRT