Python 3.15.0 released

4 days ago by time2lose to c/linux

The official home of the Python Programming Language

Python 3.15.0 has been released, bringing new features and improvements to the language.

f314 4 points 4 days ago

No more pi-thon *sigh*

path: 0 26263793, hotness: undefined, score: 4, children: 0
ApocolypticGopher 4 points 3 days ago

I'm....... severely outdated

path: 0 26265740, hotness: undefined, score: 4, children: 1
thingsiplay 1 point 3 days ago

You, or your Python version?

path: 0 26265740 26268708, hotness: undefined, score: 1, children: 0
Artisian 3 points 3 days ago

And a text adventure!

I had this idea to whip up a little TUI adventure game that takes you through a What’s New in Python 3.15. I present to you “whatsnewt”:

From the README:

A TUI text adventure through what’s new in Python 3.15. You wake up in the Startup Foyer, somewhere inside the interpreter, and work your way to the Release Gate. Along the way there are eighteen puzzles, and every one of them is a real 3.15 feature you have to actually use. You’re not just answering boring questions, you’re actually writing and running code, in a Python 3.15 interpreter. Some puzzles require a type checker, and in those cases, answers are verified by pyrefly, which is a dependency for exactly that reason, and the verdict quotes what it says back.

The easiest way to play it is to run:

uvx --python 3.15 whatsnewt

And yes, there are easter eggs

path: 0 26269080, hotness: undefined, score: 3, children: 0
thingsiplay 2 points 3 days ago

PEP 686: Python now uses UTF-8 as the default encoding

Finally Python arrived in 2026.

PEP 810: Explicit lazy imports for faster startup times

I like this. Curious to see how much it improves the perceived startup times.

path: 0 26268781, hotness: undefined, score: 2, children: 0
linux
linux

@lemmy.world

login for more options
19503
1749
3326

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

go to feed...