SSSergii Shcherbak@SergiiShcherbak·Oct 23a6d6eb0Python 3.15's lazy imports are great. Load modules only when first used.pythonlazy import pandas as pd2Quote
Nnunomaduro@nunomaduro·Oct 234bb8ca9Interesting; what is the difference between that and regular importsQuote
Nnunomaduro@nunomaduro·Oct 23cc0ea2bso it parses the file (and their related code) only when the code is actually used? if yes, php lazy loads imports tooQuote
RHRobert Holak@rholak·Oct 23fd45f0aIt compiles the main code and creates a placeholder for the module. If the code execution hits something from the module, it either loads it from cached bytecode or it compiles the module in realtime.21:20 · Oct 23, 2026 · commit fd45f0aQuoteReply