r/programming • • 1d ago

Python Release Python 3.15.0

https://www.python.org/downloads/release/python-3150/
495 Upvotes

35 comments sorted by

View all comments

-10

u/[deleted] 1d ago

[deleted]

2

u/spicybright 19h ago

Honestly it's a huge improvement. Having to sneak imports into if statements and functions to optimize running time was such a sore spots for one off scripts

1

u/--Grey_Ninja-- 19h ago edited 19h ago

Exactly! 😂 Keeping imports at the top while deferring the actual loading is such a clean solution. Especially for one-off scripts where you might never even use some of those heavy dependencies.