Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
packetlost
3mo ago
0 comments
Save
Share
Python startup time can be pretty abysmal too if you have a lot of imports.
0 comments
2 comments · 1 top-level
top
newest
oldest
ptx
3mo ago
· 1 in thread
This is addressed by PEP 810 (explicit lazy imports) in Python 3.15 (currently in alpha):
https://peps.python.org/pep-0810/
packetlost
OP
3mo ago
Yeah, but it requires code changes to matter
j
/
k
navigate · click thread line to collapse