this post was submitted on 25 Oct 2024
38 points (93.2% liked)

Python

6673 readers
45 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 3 months ago (1 children)
[–] gigachad 11 points 3 months ago (1 children)

Wdym? It's a text about the lesser known features and changes in Python 3.13.

[–] [email protected] 2 points 3 months ago (1 children)

There's some confusing code there. What does it do?

[–] sugar_in_your_tea 5 points 3 months ago* (last edited 3 months ago) (1 children)

You mean the code under "The annotation change nobody asked for"? That's not intended to do anything, it's supposed to just be valid Python code as an annotation. Basically, they're trying to break the type hinting system.

[–] [email protected] 2 points 3 months ago (1 children)

I see like 20 lines of code and an image. Is there more?

[–] sugar_in_your_tea 4 points 3 months ago

I don't think so. I see two code snippets, and each has a clear explanation preceding it.