@sgmrt · Post #1990 · 04.07.2024 г., 00:09
[EWL] CLEARED: Train svcs from #BoonLay to #Clementi have resumed. Free regular bus & free bridging bus svcs have ended. - SMRT
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
Пребарај: #clementi
@sgmrt · Post #1990 · 04.07.2024 г., 00:09
[EWL] CLEARED: Train svcs from #BoonLay to #Clementi have resumed. Free regular bus & free bridging bus svcs have ended. - SMRT
@sgmrt · Post #1989 · 04.07.2024 г., 00:04
[EWL] UPDATE: Fault on the EWL has cleared, train service has resumed. Free regular bus and bridging bus services are still available between #BoonLay & #Clementi. - SMRT
@sgmrt · Post #1988 · 03.07.2024 г., 23:54
[EWL] UPDATE: Fault on the EWL has cleared, train services are progressively returning to normal speed. Free regular bus & bridging bus services are still available between #BoonLay & #Clementi. - SMRT
@sgmrt · Post #1987 · 03.07.2024 г., 23:54
[EWL] UPDATE: Fault on the EWL has cleared, train services are progressively returning to normal. Free regular bus and bridging bus services are still available between #BoonLay and #Clementi. - SMRT
@sgmrt · Post #2409 · 05.08.2025 г., 22:05
[EWL]: Due to a track point fault, pls add 15mins train travel time from #BoonLay to #Clementi towards #PasirRis. - SMRT
@sgmrt · Post #1985 · 03.07.2024 г., 23:14
[EWL] UPDATE: Due to a track fault, pls add 30mins train travel time from #BoonLay to #Clementi towards #PasirRis. Free regular bus & free bridging bus svcs are available btwn #BoonLay and #Clementi. - SMRT
@sgmrt · Post #1984 · 03.07.2024 г., 23:14
[EWL] UPDATE: Due to a track fault, pls add 20mins train travel time from #BoonLay to #Clementi towards #PasirRis. Free regular bus & bridging bus svcs are available btwn #BoonLay and #Clementi. - SMRT
@sgmrt · Post #1980 · 03.07.2024 г., 22:24
[EWL] UPDATE: Train svc is available from #BoonLay to #Clementi towards #PasirRis. Free regular bus svcs from #BoonLay to #Clementi. Our station staff will assist. - SMRT
@sgmrt · Post #1979 · 03.07.2024 г., 22:24
[EWL]: Due to a track fault, pls add 20mins train travel time from #BuonaVista to #Clementi towards #PasirRis. Free regular bus svcs from #BuonaVista to #Clementi. Our station staff will assist. - SMRT
Hashtags
@sgmrt · Post #1982 · 03.07.2024 г., 22:39
[EWL] UPDATE: Due to a track fault, pls add 20mins train travel time from #BoonLay to #Clementi towards #PasirRis. Free regular bus svcs btwn #BoonLay and #Clementi. Passengers travelling towards city area, please and take North South Line towards #AngMoKio and #MarinaSouthPier. - SMRT
@sgmrt · Post #1981 · 03.07.2024 г., 22:34
[EWL]: UPDATE: Due to a track fault, pls add 20mins train travel time from #BoonLay to #Clementi towards #PasirRis. Free regular bus svcs from #BoonLay to #Clementi. Passengers travelling towards city area, please take North South Line towards #AngMoKio and #MarinaSouthPier. - SMRT
@sgmrt · Post #2293 · 04.04.2025 г., 05:34
[EWL]: Due to a track fault, please expect an additional 20mins of travelling time between #Queenstown and #BoonLay. Shuttle train are available between #Clementi and #JurongEast and #JurongEast and #Lakeside. Free regular bus is available between #BuonaVista and #BoonLay. - SMRT