this post was submitted on 25 Oct 2024
40 points (93.5% liked)

Python

6404 readers
8 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 4 weeks ago (1 children)

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

[–] [email protected] 2 points 4 weeks ago (1 children)

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

[–] [email protected] 5 points 4 weeks ago* (last edited 4 weeks 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 4 weeks ago (1 children)

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

[–] [email protected] 4 points 4 weeks ago

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