r/Python • • Oct 01 '26

News New Python releases are out, 3.10.x reaches EOL, (and 3.15.0 is scheduled for today)!

The new releases announced today, including EOL for 3.10.x: https://blog.python.org/2026/10/python-31022-31117/

Note: The post above doesn't mention 3.15 - assuming they will do a separate post later today when that releases.

80 Upvotes

19 comments sorted by

34

u/bikes-n-math Oct 01 '26

Looking forward to timing some of my cli scripts with lazy imports.

17

u/aikii Oct 01 '26

Ah, I'm still a bit angry at this one that happened when upgrading from 3.10 years ago, so watch out if you finally upgrade https://github.com/python/cpython/issues/100458

from enum import Enum


class Foo(str, Enum):
    BAR = "bar"

# Python 3.10
f"{Foo.BAR}"  # > bar

# Python 3.11
f"{Foo.BAR}"  # > Foo.BAR

9

u/live_free_or_try Oct 02 '26

I need to make a phone call.

4

u/tunisia3507 Oct 02 '26

s/\(str, Enum\)/(StrEnum)/g

1

u/steven1099829 Oct 03 '26

I find that so annoying

14

u/wasay-inc Oct 01 '26

Hard to believe 3.10 is already at EOL feels like yesterday we were all excited about structural pattern matching. Time to go purge those legacy 3.10 base images from CI pipelines and bump everything up to 3.12+.

2

u/Zomunieo Oct 01 '26

I survived the walrus operator flame wars. Guido was right := but it cost him BFDLhood.

3

u/mok000 Oct 03 '26

I use the walrus operator always when checking a re.match result. Before, you had to first save the match in a variable, then check if it was None, now with the walrus operator you can assign it in the if statement. Very, very useful.

11

u/gschizas Pythonista Oct 01 '26 edited Oct 02 '26

I've been waiting all day for Python 3.15. The day is now ending (for me at least).

EDIT: Damn!

https://www.reddit.com/r/Python/comments/1wvney6/python_315_postponed_and_a_rc3_release/

We are moving to rc3.

13

u/NinjaFarel21 Oct 01 '26

They're being lazy (imports).

10

u/Trang0ul Oct 01 '26

lazy release python3.15

3

u/Trang0ul Oct 01 '26

Same here. I'm afraid it's getting postponed...

2

u/azathoth42 Oct 01 '26

Same, I'm hoping they will release it today Anywhere on Earth timezone, in that case still 14 more hours to go.

1

u/wRAR_ Oct 02 '26

It looks like they EOLed 3.10 a month earlier than usual.