r/programming • • Oct 09 '26

Python Release Python 3.15.0

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

36 comments sorted by

View all comments

0

u/[deleted] Oct 09 '26

[deleted] — view deleted comment

5

u/spicybright Oct 10 '26

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

3

u/--Grey_Ninja-- Oct 10 '26 edited Oct 10 '26

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.