News for hackers. Stuff that matters.
Re:PEP 810 – Explicit lazy imports by fastasucan on Saturday October 04, 2025 @05:00AM (#45471856)
They are not entitled to hold the opinion that their imports takes too long, if they dont know the inner workings of pythons import system? Do you listen to yourself?
Re:PEP 810 – Explicit lazy imports by flare_blitz on Saturday October 04, 2025 @07:30AM (#45472541)
That’s not what I said. Nobody is “entitled” or “not entitled” to hold certain opinions. Please reread my original comment carefully.
Re:PEP 810 – Explicit lazy imports by ActorNightly on Saturday October 04, 2025 @01:21PM (#45474939)
Nothing wrong with that statement.

Right now in python, you can move import statement inside a function. Lazy imports at top level are not needed. All lazy imports do is make you think less about what you are writing. If you like that, then just vibe code all of your stuff, and leave the language spec alone.